public static class ResourcePolicySettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ResourcePolicySettings,ResourcePolicySettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ResourcePolicySettings settings) |
protected |
Builder(ResourcePolicyStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListResourcePoliciesHttpRequest,ResourcePolicyAggregatedList,ResourcePolicyClient.AggregatedListResourcePoliciesPagedResponse> |
aggregatedListResourcePoliciesSettings()
Returns the builder for the settings used for calls to aggregatedListResourcePolicies.
|
ResourcePolicySettings.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.
|
ResourcePolicySettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteResourcePolicyHttpRequest,Operation> |
deleteResourcePolicySettings()
Returns the builder for the settings used for calls to deleteResourcePolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyResourcePolicyHttpRequest,Policy> |
getIamPolicyResourcePolicySettings()
Returns the builder for the settings used for calls to getIamPolicyResourcePolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetResourcePolicyHttpRequest,ResourcePolicy> |
getResourcePolicySettings()
Returns the builder for the settings used for calls to getResourcePolicy.
|
ResourcePolicyStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertResourcePolicyHttpRequest,Operation> |
insertResourcePolicySettings()
Returns the builder for the settings used for calls to insertResourcePolicy.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListResourcePoliciesHttpRequest,ResourcePolicyList,ResourcePolicyClient.ListResourcePoliciesPagedResponse> |
listResourcePoliciesSettings()
Returns the builder for the settings used for calls to listResourcePolicies.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyResourcePolicyHttpRequest,Policy> |
setIamPolicyResourcePolicySettings()
Returns the builder for the settings used for calls to setIamPolicyResourcePolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsResourcePolicyHttpRequest,TestPermissionsResponse> |
testIamPermissionsResourcePolicySettings()
Returns the builder for the settings used for calls to testIamPermissionsResourcePolicy.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ResourcePolicySettings settings)
protected Builder(ResourcePolicyStubSettings.Builder stubSettings)
public ResourcePolicyStubSettings.Builder getStubSettingsBuilder()
public ResourcePolicySettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListResourcePoliciesHttpRequest,ResourcePolicyAggregatedList,ResourcePolicyClient.AggregatedListResourcePoliciesPagedResponse> aggregatedListResourcePoliciesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteResourcePolicyHttpRequest,Operation> deleteResourcePolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetResourcePolicyHttpRequest,ResourcePolicy> getResourcePolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyResourcePolicyHttpRequest,Policy> getIamPolicyResourcePolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertResourcePolicyHttpRequest,Operation> insertResourcePolicySettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListResourcePoliciesHttpRequest,ResourcePolicyList,ResourcePolicyClient.ListResourcePoliciesPagedResponse> listResourcePoliciesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyResourcePolicyHttpRequest,Policy> setIamPolicyResourcePolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsResourcePolicyHttpRequest,TestPermissionsResponse> testIamPermissionsResourcePolicySettings()
public ResourcePolicySettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<ResourcePolicySettings,ResourcePolicySettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.