Send feedback
Class OsConfigServiceSettings.Builder (2.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.11.0 keyboard_arrow_down
public static class OsConfigServiceSettings . Builder extends ClientSettings . Builder<OsConfigServiceSettings , OsConfigServiceSettings . Builder >
Builder for OsConfigServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(OsConfigServiceSettings settings)
protected Builder ( OsConfigServiceSettings settings )
Parameter
Builder(OsConfigServiceStubSettings.Builder stubSettings)
protected Builder ( OsConfigServiceStubSettings . Builder stubSettings )
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public OsConfigServiceSettings . Builder applyToAllUnaryMethods ( ApiFunction<UnaryCallSettings . Builder <? , ? >, Void > settingsUpdater )
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
Parameter
Returns
build()
public OsConfigServiceSettings build ()
Returns
Overrides
Exceptions
cancelPatchJobSettings()
public UnaryCallSettings . Builder<PatchJobs . CancelPatchJobRequest , PatchJobs . PatchJob > cancelPatchJobSettings ()
Returns the builder for the settings used for calls to cancelPatchJob.
Returns
createGuestPolicySettings()
public UnaryCallSettings . Builder<GuestPolicies . CreateGuestPolicyRequest , GuestPolicies . GuestPolicy > createGuestPolicySettings ()
Returns the builder for the settings used for calls to createGuestPolicy.
Returns
createPatchDeploymentSettings()
public UnaryCallSettings . Builder<PatchDeployments . CreatePatchDeploymentRequest , PatchDeployments . PatchDeployment > createPatchDeploymentSettings ()
Returns the builder for the settings used for calls to createPatchDeployment.
Returns
deleteGuestPolicySettings()
public UnaryCallSettings . Builder<GuestPolicies . DeleteGuestPolicyRequest , Empty > deleteGuestPolicySettings ()
Returns the builder for the settings used for calls to deleteGuestPolicy.
Returns
deletePatchDeploymentSettings()
public UnaryCallSettings . Builder<PatchDeployments . DeletePatchDeploymentRequest , Empty > deletePatchDeploymentSettings ()
Returns the builder for the settings used for calls to deletePatchDeployment.
Returns
executePatchJobSettings()
public UnaryCallSettings . Builder<PatchJobs . ExecutePatchJobRequest , PatchJobs . PatchJob > executePatchJobSettings ()
Returns the builder for the settings used for calls to executePatchJob.
Returns
getGuestPolicySettings()
public UnaryCallSettings . Builder<GuestPolicies . GetGuestPolicyRequest , GuestPolicies . GuestPolicy > getGuestPolicySettings ()
Returns the builder for the settings used for calls to getGuestPolicy.
Returns
getPatchDeploymentSettings()
public UnaryCallSettings . Builder<PatchDeployments . GetPatchDeploymentRequest , PatchDeployments . PatchDeployment > getPatchDeploymentSettings ()
Returns the builder for the settings used for calls to getPatchDeployment.
Returns
getPatchJobSettings()
public UnaryCallSettings . Builder<PatchJobs . GetPatchJobRequest , PatchJobs . PatchJob > getPatchJobSettings ()
Returns the builder for the settings used for calls to getPatchJob.
Returns
getStubSettingsBuilder()
public OsConfigServiceStubSettings . Builder getStubSettingsBuilder ()
Returns
listGuestPoliciesSettings()
public PagedCallSettings . Builder<GuestPolicies . ListGuestPoliciesRequest , GuestPolicies . ListGuestPoliciesResponse , OsConfigServiceClient . ListGuestPoliciesPagedResponse > listGuestPoliciesSettings ()
Returns the builder for the settings used for calls to listGuestPolicies.
Returns
listPatchDeploymentsSettings()
public PagedCallSettings . Builder<PatchDeployments . ListPatchDeploymentsRequest , PatchDeployments . ListPatchDeploymentsResponse , OsConfigServiceClient . ListPatchDeploymentsPagedResponse > listPatchDeploymentsSettings ()
Returns the builder for the settings used for calls to listPatchDeployments.
Returns
listPatchJobInstanceDetailsSettings()
public PagedCallSettings . Builder<PatchJobs . ListPatchJobInstanceDetailsRequest , PatchJobs . ListPatchJobInstanceDetailsResponse , OsConfigServiceClient . ListPatchJobInstanceDetailsPagedResponse > listPatchJobInstanceDetailsSettings ()
Returns the builder for the settings used for calls to listPatchJobInstanceDetails.
Returns
listPatchJobsSettings()
public PagedCallSettings . Builder<PatchJobs . ListPatchJobsRequest , PatchJobs . ListPatchJobsResponse , OsConfigServiceClient . ListPatchJobsPagedResponse > listPatchJobsSettings ()
Returns the builder for the settings used for calls to listPatchJobs.
Returns
lookupEffectiveGuestPolicySettings()
public UnaryCallSettings . Builder<GuestPolicies . LookupEffectiveGuestPolicyRequest , GuestPolicies . EffectiveGuestPolicy > lookupEffectiveGuestPolicySettings ()
Returns the builder for the settings used for calls to lookupEffectiveGuestPolicy.
Returns
pausePatchDeploymentSettings()
public UnaryCallSettings . Builder<PatchDeployments . PausePatchDeploymentRequest , PatchDeployments . PatchDeployment > pausePatchDeploymentSettings ()
Returns the builder for the settings used for calls to pausePatchDeployment.
Returns
resumePatchDeploymentSettings()
public UnaryCallSettings . Builder<PatchDeployments . ResumePatchDeploymentRequest , PatchDeployments . PatchDeployment > resumePatchDeploymentSettings ()
Returns the builder for the settings used for calls to resumePatchDeployment.
Returns
updateGuestPolicySettings()
public UnaryCallSettings . Builder<GuestPolicies . UpdateGuestPolicyRequest , GuestPolicies . GuestPolicy > updateGuestPolicySettings ()
Returns the builder for the settings used for calls to updateGuestPolicy.
Returns
updatePatchDeploymentSettings()
public UnaryCallSettings . Builder<PatchDeployments . UpdatePatchDeploymentRequest , PatchDeployments . PatchDeployment > updatePatchDeploymentSettings ()
Returns the builder for the settings used for calls to updatePatchDeployment.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]