Class OrgPolicyViolationsPreviewServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<OrgPolicyViolationsPreviewServiceSettings,OrgPolicyViolationsPreviewServiceSettings.Builder>
com.google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewServiceSettings.Builder
- Enclosing class:
- OrgPolicyViolationsPreviewServiceSettings
public static class OrgPolicyViolationsPreviewServiceSettings.Builder
extends ClientSettings.Builder<OrgPolicyViolationsPreviewServiceSettings,OrgPolicyViolationsPreviewServiceSettings.Builder>
Builder for OrgPolicyViolationsPreviewServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedprotectedBuilder(OrgPolicyViolationsPreviewServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()OperationCallSettings.Builder<CreateOrgPolicyViolationsPreviewRequest,OrgPolicyViolationsPreview, CreateOrgPolicyViolationsPreviewOperationMetadata> Returns the builder for the settings used for calls to createOrgPolicyViolationsPreview.Returns the builder for the settings used for calls to createOrgPolicyViolationsPreview.Returns the builder for the settings used for calls to getOrgPolicyViolationsPreview.PagedCallSettings.Builder<ListOrgPolicyViolationsPreviewsRequest,ListOrgPolicyViolationsPreviewsResponse, OrgPolicyViolationsPreviewServiceClient.ListOrgPolicyViolationsPreviewsPagedResponse> Returns the builder for the settings used for calls to listOrgPolicyViolationsPreviews.PagedCallSettings.Builder<ListOrgPolicyViolationsRequest,ListOrgPolicyViolationsResponse, OrgPolicyViolationsPreviewServiceClient.ListOrgPolicyViolationsPagedResponse> Returns the builder for the settings used for calls to listOrgPolicyViolations.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public OrgPolicyViolationsPreviewServiceSettings.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.
-
listOrgPolicyViolationsPreviewsSettings
public PagedCallSettings.Builder<ListOrgPolicyViolationsPreviewsRequest,ListOrgPolicyViolationsPreviewsResponse, listOrgPolicyViolationsPreviewsSettings()OrgPolicyViolationsPreviewServiceClient.ListOrgPolicyViolationsPreviewsPagedResponse> Returns the builder for the settings used for calls to listOrgPolicyViolationsPreviews. -
getOrgPolicyViolationsPreviewSettings
public UnaryCallSettings.Builder<GetOrgPolicyViolationsPreviewRequest,OrgPolicyViolationsPreview> getOrgPolicyViolationsPreviewSettings()Returns the builder for the settings used for calls to getOrgPolicyViolationsPreview. -
createOrgPolicyViolationsPreviewSettings
public UnaryCallSettings.Builder<CreateOrgPolicyViolationsPreviewRequest,Operation> createOrgPolicyViolationsPreviewSettings()Returns the builder for the settings used for calls to createOrgPolicyViolationsPreview. -
createOrgPolicyViolationsPreviewOperationSettings
public OperationCallSettings.Builder<CreateOrgPolicyViolationsPreviewRequest,OrgPolicyViolationsPreview, createOrgPolicyViolationsPreviewOperationSettings()CreateOrgPolicyViolationsPreviewOperationMetadata> Returns the builder for the settings used for calls to createOrgPolicyViolationsPreview. -
listOrgPolicyViolationsSettings
public PagedCallSettings.Builder<ListOrgPolicyViolationsRequest,ListOrgPolicyViolationsResponse, listOrgPolicyViolationsSettings()OrgPolicyViolationsPreviewServiceClient.ListOrgPolicyViolationsPagedResponse> Returns the builder for the settings used for calls to listOrgPolicyViolations. -
build
- Specified by:
buildin classClientSettings.Builder<OrgPolicyViolationsPreviewServiceSettings,OrgPolicyViolationsPreviewServiceSettings.Builder> - Throws:
IOException
-