public static class ResourcePoliciesStubSettings.Builder extends StubSettings.Builder<ResourcePoliciesStubSettings,ResourcePoliciesStubSettings.Builder>
Builder for ResourcePoliciesStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(ResourcePoliciesStubSettings settings)
protected Builder(ResourcePoliciesStubSettings settings)
Parameter
Methods
aggregatedListSettings()
public PagedCallSettings.Builder<AggregatedListResourcePoliciesRequest,ResourcePolicyAggregatedList,ResourcePoliciesClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
Returns
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ResourcePoliciesStubSettings.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 ResourcePoliciesStubSettings build()
Returns
Overrides
Exceptions
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteResourcePolicyRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
Returns
deleteSettings()
public UnaryCallSettings.Builder<DeleteResourcePolicyRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
Returns
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyResourcePolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
getSettings()
public UnaryCallSettings.Builder<GetResourcePolicyRequest,ResourcePolicy> getSettings()
Returns the builder for the settings used for calls to get.
Returns
insertOperationSettings()
public OperationCallSettings.Builder<InsertResourcePolicyRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
Returns
insertSettings()
public UnaryCallSettings.Builder<InsertResourcePolicyRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
Returns
listSettings()
public PagedCallSettings.Builder<ListResourcePoliciesRequest,ResourcePolicyList,ResourcePoliciesClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
Returns
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyResourcePolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsResourcePolicyRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |