Class ResourcePoliciesStubSettings.Builder (1.22.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
NameDescription
clientContextClientContext

Builder(ResourcePoliciesStubSettings settings)

protected Builder(ResourcePoliciesStubSettings settings)
Parameter
NameDescription
settingsResourcePoliciesStubSettings

Methods

aggregatedListSettings()

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

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

Returns
TypeDescription
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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ResourcePoliciesStubSettings.Builder

build()

public ResourcePoliciesStubSettings build()
Returns
TypeDescription
ResourcePoliciesStubSettings
Overrides Exceptions
TypeDescription
IOException

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteResourcePolicyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteResourcePolicyRequest,Operation>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyResourcePolicyRequest,Policy>

getSettings()

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

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

Returns
TypeDescription
Builder<GetResourcePolicyRequest,ResourcePolicy>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertResourcePolicyRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertResourcePolicyRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListResourcePoliciesRequest,ResourcePolicyList,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyResourcePolicyRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsResourcePolicyRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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