public static class ResourcePolicyStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ResourcePolicyStubSettings,ResourcePolicyStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ResourcePolicyStubSettings settings) |
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.
|
ResourcePolicyStubSettings.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.
|
ResourcePolicyStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ResourcePolicyStubSettings settings)
public ResourcePolicyStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 ResourcePolicyStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<ResourcePolicyStubSettings,ResourcePolicyStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.