Package com.google.iam.v2beta
Class PoliciesSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<PoliciesSettings,PoliciesSettings.Builder>
-
- com.google.iam.v2beta.PoliciesSettings.Builder
-
- Enclosing class:
- PoliciesSettings
public static class PoliciesSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<PoliciesSettings,PoliciesSettings.Builder>
Builder for PoliciesSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(PoliciesSettings settings)
protected
Builder(PoliciesStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PoliciesSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.PoliciesSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.CreatePolicyRequest,com.google.iam.v2beta.Policy,com.google.iam.v2beta.PolicyOperationMetadata>
createPolicyOperationSettings()
Returns the builder for the settings used for calls to createPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.CreatePolicyRequest,com.google.longrunning.Operation>
createPolicySettings()
Returns the builder for the settings used for calls to createPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.DeletePolicyRequest,com.google.iam.v2beta.Policy,com.google.iam.v2beta.PolicyOperationMetadata>
deletePolicyOperationSettings()
Returns the builder for the settings used for calls to deletePolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.DeletePolicyRequest,com.google.longrunning.Operation>
deletePolicySettings()
Returns the builder for the settings used for calls to deletePolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.GetPolicyRequest,com.google.iam.v2beta.Policy>
getPolicySettings()
Returns the builder for the settings used for calls to getPolicy.PoliciesStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.iam.v2beta.ListPoliciesRequest,com.google.iam.v2beta.ListPoliciesResponse,PoliciesClient.ListPoliciesPagedResponse>
listPoliciesSettings()
Returns the builder for the settings used for calls to listPolicies.com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.UpdatePolicyRequest,com.google.iam.v2beta.Policy,com.google.iam.v2beta.PolicyOperationMetadata>
updatePolicyOperationSettings()
Returns the builder for the settings used for calls to updatePolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.UpdatePolicyRequest,com.google.longrunning.Operation>
updatePolicySettings()
Returns the builder for the settings used for calls to updatePolicy.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(PoliciesSettings settings)
-
Builder
protected Builder(PoliciesStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public PoliciesStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public PoliciesSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
listPoliciesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.iam.v2beta.ListPoliciesRequest,com.google.iam.v2beta.ListPoliciesResponse,PoliciesClient.ListPoliciesPagedResponse> listPoliciesSettings()
Returns the builder for the settings used for calls to listPolicies.
-
getPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.GetPolicyRequest,com.google.iam.v2beta.Policy> getPolicySettings()
Returns the builder for the settings used for calls to getPolicy.
-
createPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.CreatePolicyRequest,com.google.longrunning.Operation> createPolicySettings()
Returns the builder for the settings used for calls to createPolicy.
-
createPolicyOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.CreatePolicyRequest,com.google.iam.v2beta.Policy,com.google.iam.v2beta.PolicyOperationMetadata> createPolicyOperationSettings()
Returns the builder for the settings used for calls to createPolicy.
-
updatePolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.UpdatePolicyRequest,com.google.longrunning.Operation> updatePolicySettings()
Returns the builder for the settings used for calls to updatePolicy.
-
updatePolicyOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.UpdatePolicyRequest,com.google.iam.v2beta.Policy,com.google.iam.v2beta.PolicyOperationMetadata> updatePolicyOperationSettings()
Returns the builder for the settings used for calls to updatePolicy.
-
deletePolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.DeletePolicyRequest,com.google.longrunning.Operation> deletePolicySettings()
Returns the builder for the settings used for calls to deletePolicy.
-
deletePolicyOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.DeletePolicyRequest,com.google.iam.v2beta.Policy,com.google.iam.v2beta.PolicyOperationMetadata> deletePolicyOperationSettings()
Returns the builder for the settings used for calls to deletePolicy.
-
build
public PoliciesSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<PoliciesSettings,PoliciesSettings.Builder>
- Throws:
IOException
-
-