Class ResourcePoliciesSettings.Builder (1.33.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
NameDescription
clientContextClientContext

Builder(ResourcePoliciesSettings settings)

protected Builder(ResourcePoliciesSettings settings)
Parameter
NameDescription
settingsResourcePoliciesSettings

Builder(ResourcePoliciesStubSettings.Builder stubSettings)

protected Builder(ResourcePoliciesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsResourcePoliciesStubSettings.Builder

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

build()

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

getStubSettingsBuilder()

public ResourcePoliciesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ResourcePoliciesStubSettings.Builder

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>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchResourcePolicyRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchResourcePolicyRequest,Operation>

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>