Class ResourcePoliciesStubSettings.Builder (1.63.0)

public static class ResourcePoliciesStubSettings.Builder extends StubSettings.Builder<ResourcePoliciesStubSettings,ResourcePoliciesStubSettings.Builder>

Builder for ResourcePoliciesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ResourcePoliciesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ResourcePoliciesStubSettings settings)

protected Builder(ResourcePoliciesStubSettings settings)
Parameter
Name Description
settings ResourcePoliciesStubSettings

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListResourcePoliciesRequest,ResourcePolicyAggregatedList,ResourcePoliciesClient.AggregatedListPagedResponse> aggregatedListSettings()

Returns the builder for the settings used for calls to aggregatedList.

Returns
Type Description
Builder<AggregatedListResourcePoliciesRequest,ResourcePolicyAggregatedList,AggregatedListPagedResponse>

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ResourcePoliciesStubSettings.Builder

build()

public ResourcePoliciesStubSettings build()
Returns
Type Description
ResourcePoliciesStubSettings
Overrides
Exceptions
Type Description
IOException

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteResourcePolicyRequest,Operation,Operation> deleteOperationSettings()

Returns the builder for the settings used for calls to delete.

Returns
Type Description
Builder<DeleteResourcePolicyRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteResourcePolicyRequest,Operation> deleteSettings()

Returns the builder for the settings used for calls to delete.

Returns
Type Description
Builder<DeleteResourcePolicyRequest,Operation>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyResourcePolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
Type Description
Builder<GetIamPolicyResourcePolicyRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetResourcePolicyRequest,ResourcePolicy> getSettings()

Returns the builder for the settings used for calls to get.

Returns
Type Description
Builder<GetResourcePolicyRequest,ResourcePolicy>

insertOperationSettings()

public OperationCallSettings.Builder<InsertResourcePolicyRequest,Operation,Operation> insertOperationSettings()

Returns the builder for the settings used for calls to insert.

Returns
Type Description
Builder<InsertResourcePolicyRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertResourcePolicyRequest,Operation> insertSettings()

Returns the builder for the settings used for calls to insert.

Returns
Type Description
Builder<InsertResourcePolicyRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListResourcePoliciesRequest,ResourcePolicyList,ResourcePoliciesClient.ListPagedResponse> listSettings()

Returns the builder for the settings used for calls to list.

Returns
Type Description
Builder<ListResourcePoliciesRequest,ResourcePolicyList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchResourcePolicyRequest,Operation,Operation> patchOperationSettings()

Returns the builder for the settings used for calls to patch.

Returns
Type Description
Builder<PatchResourcePolicyRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchResourcePolicyRequest,Operation> patchSettings()

Returns the builder for the settings used for calls to patch.

Returns
Type Description
Builder<PatchResourcePolicyRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyResourcePolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
Type Description
Builder<SetIamPolicyResourcePolicyRequest,Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsResourcePolicyRequest,TestPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
Type Description
Builder<TestIamPermissionsResourcePolicyRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>