public static class ResourcePoliciesSettings.Builder extends ClientSettings.Builder<ResourcePoliciesSettings,ResourcePoliciesSettings.Builder>
Builder for ResourcePoliciesSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(ResourcePoliciesSettings settings)
protected Builder(ResourcePoliciesSettings settings)
Builder(ResourcePoliciesStubSettings.Builder stubSettings)
protected Builder(ResourcePoliciesStubSettings.Builder stubSettings)
Methods
aggregatedListSettings()
public PagedCallSettings.Builder<AggregatedListResourcePoliciesRequest,ResourcePolicyAggregatedList,ResourcePoliciesClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
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.
build()
public ResourcePoliciesSettings build()
Overrides
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteResourcePolicyRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
deleteSettings()
public UnaryCallSettings.Builder<DeleteResourcePolicyRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyResourcePolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
getSettings()
public UnaryCallSettings.Builder<GetResourcePolicyRequest,ResourcePolicy> getSettings()
Returns the builder for the settings used for calls to get.
getStubSettingsBuilder()
public ResourcePoliciesStubSettings.Builder getStubSettingsBuilder()
insertOperationSettings()
public OperationCallSettings.Builder<InsertResourcePolicyRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
insertSettings()
public UnaryCallSettings.Builder<InsertResourcePolicyRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
listSettings()
public PagedCallSettings.Builder<ListResourcePoliciesRequest,ResourcePolicyList,ResourcePoliciesClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
patchOperationSettings()
public OperationCallSettings.Builder<PatchResourcePolicyRequest,Operation,Operation> patchOperationSettings()
Returns the builder for the settings used for calls to patch.
patchSettings()
public UnaryCallSettings.Builder<PatchResourcePolicyRequest,Operation> patchSettings()
Returns the builder for the settings used for calls to patch.
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyResourcePolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsResourcePolicyRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.