Class ResourcePoliciesSettings.Builder (1.55.0)

public static class ResourcePoliciesSettings.Builder extends ClientSettings.Builder<ResourcePoliciesSettings,ResourcePoliciesSettings.Builder>

Builder for ResourcePoliciesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ResourcePoliciesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ResourcePoliciesSettings settings)

protected Builder(ResourcePoliciesSettings settings)
Parameter
Name Description
settings ResourcePoliciesSettings

Builder(ResourcePoliciesStubSettings.Builder stubSettings)

protected Builder(ResourcePoliciesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ResourcePoliciesStubSettings.Builder

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 ResourcePoliciesSettings.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
ResourcePoliciesSettings.Builder

build()

public ResourcePoliciesSettings build()
Returns
Type Description
ResourcePoliciesSettings
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>

getStubSettingsBuilder()

public ResourcePoliciesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ResourcePoliciesStubSettings.Builder

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>