Class AccessContextManagerSettings (1.32.0)

public class AccessContextManagerSettings extends ClientSettings<AccessContextManagerSettings>

Settings class to configure an instance of AccessContextManagerClient.

The default instance has everything set to sensible defaults:

  • The default service address (accesscontextmanager.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getAccessPolicy to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AccessContextManagerSettings.Builder accessContextManagerSettingsBuilder =
     AccessContextManagerSettings.newBuilder();
 accessContextManagerSettingsBuilder
     .getAccessPolicySettings()
     .setRetrySettings(
         accessContextManagerSettingsBuilder
             .getAccessPolicySettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 AccessContextManagerSettings accessContextManagerSettings =
     accessContextManagerSettingsBuilder.build();
 

Inheritance

java.lang.Object > ClientSettings > AccessContextManagerSettings

Static Methods

create(AccessContextManagerStubSettings stub)

public static final AccessContextManagerSettings create(AccessContextManagerStubSettings stub)
Parameter
NameDescription
stubAccessContextManagerStubSettings
Returns
TypeDescription
AccessContextManagerSettings
Exceptions
TypeDescription
IOException

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

Returns a builder for the default gRPC ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultHttpJsonTransportProviderBuilder()

public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()

Returns a builder for the default REST ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static AccessContextManagerSettings.Builder newBuilder()

Returns a new gRPC builder for this class.

Returns
TypeDescription
AccessContextManagerSettings.Builder

newBuilder(ClientContext clientContext)

public static AccessContextManagerSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
AccessContextManagerSettings.Builder

newHttpJsonBuilder()

public static AccessContextManagerSettings.Builder newHttpJsonBuilder()

Returns a new REST builder for this class.

Returns
TypeDescription
AccessContextManagerSettings.Builder

Constructors

AccessContextManagerSettings(AccessContextManagerSettings.Builder settingsBuilder)

protected AccessContextManagerSettings(AccessContextManagerSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderAccessContextManagerSettings.Builder

Methods

commitServicePerimetersOperationSettings()

public OperationCallSettings<CommitServicePerimetersRequest,CommitServicePerimetersResponse,AccessContextManagerOperationMetadata> commitServicePerimetersOperationSettings()

Returns the object with the settings used for calls to commitServicePerimeters.

Returns
TypeDescription
OperationCallSettings<CommitServicePerimetersRequest,CommitServicePerimetersResponse,AccessContextManagerOperationMetadata>

commitServicePerimetersSettings()

public UnaryCallSettings<CommitServicePerimetersRequest,Operation> commitServicePerimetersSettings()

Returns the object with the settings used for calls to commitServicePerimeters.

Returns
TypeDescription
UnaryCallSettings<CommitServicePerimetersRequest,Operation>

createAccessLevelOperationSettings()

public OperationCallSettings<CreateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata> createAccessLevelOperationSettings()

Returns the object with the settings used for calls to createAccessLevel.

Returns
TypeDescription
OperationCallSettings<CreateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata>

createAccessLevelSettings()

public UnaryCallSettings<CreateAccessLevelRequest,Operation> createAccessLevelSettings()

Returns the object with the settings used for calls to createAccessLevel.

Returns
TypeDescription
UnaryCallSettings<CreateAccessLevelRequest,Operation>

createAccessPolicyOperationSettings()

public OperationCallSettings<AccessPolicy,AccessPolicy,AccessContextManagerOperationMetadata> createAccessPolicyOperationSettings()

Returns the object with the settings used for calls to createAccessPolicy.

Returns
TypeDescription
OperationCallSettings<AccessPolicy,AccessPolicy,AccessContextManagerOperationMetadata>

createAccessPolicySettings()

public UnaryCallSettings<AccessPolicy,Operation> createAccessPolicySettings()

Returns the object with the settings used for calls to createAccessPolicy.

Returns
TypeDescription
UnaryCallSettings<AccessPolicy,Operation>

createGcpUserAccessBindingOperationSettings()

public OperationCallSettings<CreateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata> createGcpUserAccessBindingOperationSettings()

Returns the object with the settings used for calls to createGcpUserAccessBinding.

Returns
TypeDescription
OperationCallSettings<CreateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata>

createGcpUserAccessBindingSettings()

public UnaryCallSettings<CreateGcpUserAccessBindingRequest,Operation> createGcpUserAccessBindingSettings()

Returns the object with the settings used for calls to createGcpUserAccessBinding.

Returns
TypeDescription
UnaryCallSettings<CreateGcpUserAccessBindingRequest,Operation>

createServicePerimeterOperationSettings()

public OperationCallSettings<CreateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata> createServicePerimeterOperationSettings()

Returns the object with the settings used for calls to createServicePerimeter.

Returns
TypeDescription
OperationCallSettings<CreateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata>

createServicePerimeterSettings()

public UnaryCallSettings<CreateServicePerimeterRequest,Operation> createServicePerimeterSettings()

Returns the object with the settings used for calls to createServicePerimeter.

Returns
TypeDescription
UnaryCallSettings<CreateServicePerimeterRequest,Operation>

deleteAccessLevelOperationSettings()

public OperationCallSettings<DeleteAccessLevelRequest,Empty,AccessContextManagerOperationMetadata> deleteAccessLevelOperationSettings()

Returns the object with the settings used for calls to deleteAccessLevel.

Returns
TypeDescription
OperationCallSettings<DeleteAccessLevelRequest,Empty,AccessContextManagerOperationMetadata>

deleteAccessLevelSettings()

public UnaryCallSettings<DeleteAccessLevelRequest,Operation> deleteAccessLevelSettings()

Returns the object with the settings used for calls to deleteAccessLevel.

Returns
TypeDescription
UnaryCallSettings<DeleteAccessLevelRequest,Operation>

deleteAccessPolicyOperationSettings()

public OperationCallSettings<DeleteAccessPolicyRequest,Empty,AccessContextManagerOperationMetadata> deleteAccessPolicyOperationSettings()

Returns the object with the settings used for calls to deleteAccessPolicy.

Returns
TypeDescription
OperationCallSettings<DeleteAccessPolicyRequest,Empty,AccessContextManagerOperationMetadata>

deleteAccessPolicySettings()

public UnaryCallSettings<DeleteAccessPolicyRequest,Operation> deleteAccessPolicySettings()

Returns the object with the settings used for calls to deleteAccessPolicy.

Returns
TypeDescription
UnaryCallSettings<DeleteAccessPolicyRequest,Operation>

deleteGcpUserAccessBindingOperationSettings()

public OperationCallSettings<DeleteGcpUserAccessBindingRequest,Empty,GcpUserAccessBindingOperationMetadata> deleteGcpUserAccessBindingOperationSettings()

Returns the object with the settings used for calls to deleteGcpUserAccessBinding.

Returns
TypeDescription
OperationCallSettings<DeleteGcpUserAccessBindingRequest,Empty,GcpUserAccessBindingOperationMetadata>

deleteGcpUserAccessBindingSettings()

public UnaryCallSettings<DeleteGcpUserAccessBindingRequest,Operation> deleteGcpUserAccessBindingSettings()

Returns the object with the settings used for calls to deleteGcpUserAccessBinding.

Returns
TypeDescription
UnaryCallSettings<DeleteGcpUserAccessBindingRequest,Operation>

deleteServicePerimeterOperationSettings()

public OperationCallSettings<DeleteServicePerimeterRequest,Empty,AccessContextManagerOperationMetadata> deleteServicePerimeterOperationSettings()

Returns the object with the settings used for calls to deleteServicePerimeter.

Returns
TypeDescription
OperationCallSettings<DeleteServicePerimeterRequest,Empty,AccessContextManagerOperationMetadata>

deleteServicePerimeterSettings()

public UnaryCallSettings<DeleteServicePerimeterRequest,Operation> deleteServicePerimeterSettings()

Returns the object with the settings used for calls to deleteServicePerimeter.

Returns
TypeDescription
UnaryCallSettings<DeleteServicePerimeterRequest,Operation>

getAccessLevelSettings()

public UnaryCallSettings<GetAccessLevelRequest,AccessLevel> getAccessLevelSettings()

Returns the object with the settings used for calls to getAccessLevel.

Returns
TypeDescription
UnaryCallSettings<GetAccessLevelRequest,AccessLevel>

getAccessPolicySettings()

public UnaryCallSettings<GetAccessPolicyRequest,AccessPolicy> getAccessPolicySettings()

Returns the object with the settings used for calls to getAccessPolicy.

Returns
TypeDescription
UnaryCallSettings<GetAccessPolicyRequest,AccessPolicy>

getGcpUserAccessBindingSettings()

public UnaryCallSettings<GetGcpUserAccessBindingRequest,GcpUserAccessBinding> getGcpUserAccessBindingSettings()

Returns the object with the settings used for calls to getGcpUserAccessBinding.

Returns
TypeDescription
UnaryCallSettings<GetGcpUserAccessBindingRequest,GcpUserAccessBinding>

getIamPolicySettings()

public UnaryCallSettings<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the object with the settings used for calls to getIamPolicy.

Returns
TypeDescription
UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getServicePerimeterSettings()

public UnaryCallSettings<GetServicePerimeterRequest,ServicePerimeter> getServicePerimeterSettings()

Returns the object with the settings used for calls to getServicePerimeter.

Returns
TypeDescription
UnaryCallSettings<GetServicePerimeterRequest,ServicePerimeter>

listAccessLevelsSettings()

public PagedCallSettings<ListAccessLevelsRequest,ListAccessLevelsResponse,AccessContextManagerClient.ListAccessLevelsPagedResponse> listAccessLevelsSettings()

Returns the object with the settings used for calls to listAccessLevels.

Returns
TypeDescription
PagedCallSettings<ListAccessLevelsRequest,ListAccessLevelsResponse,ListAccessLevelsPagedResponse>

listAccessPoliciesSettings()

public PagedCallSettings<ListAccessPoliciesRequest,ListAccessPoliciesResponse,AccessContextManagerClient.ListAccessPoliciesPagedResponse> listAccessPoliciesSettings()

Returns the object with the settings used for calls to listAccessPolicies.

Returns
TypeDescription
PagedCallSettings<ListAccessPoliciesRequest,ListAccessPoliciesResponse,ListAccessPoliciesPagedResponse>

listGcpUserAccessBindingsSettings()

public PagedCallSettings<ListGcpUserAccessBindingsRequest,ListGcpUserAccessBindingsResponse,AccessContextManagerClient.ListGcpUserAccessBindingsPagedResponse> listGcpUserAccessBindingsSettings()

Returns the object with the settings used for calls to listGcpUserAccessBindings.

Returns
TypeDescription
PagedCallSettings<ListGcpUserAccessBindingsRequest,ListGcpUserAccessBindingsResponse,ListGcpUserAccessBindingsPagedResponse>

listServicePerimetersSettings()

public PagedCallSettings<ListServicePerimetersRequest,ListServicePerimetersResponse,AccessContextManagerClient.ListServicePerimetersPagedResponse> listServicePerimetersSettings()

Returns the object with the settings used for calls to listServicePerimeters.

Returns
TypeDescription
PagedCallSettings<ListServicePerimetersRequest,ListServicePerimetersResponse,ListServicePerimetersPagedResponse>

replaceAccessLevelsOperationSettings()

public OperationCallSettings<ReplaceAccessLevelsRequest,ReplaceAccessLevelsResponse,AccessContextManagerOperationMetadata> replaceAccessLevelsOperationSettings()

Returns the object with the settings used for calls to replaceAccessLevels.

Returns
TypeDescription
OperationCallSettings<ReplaceAccessLevelsRequest,ReplaceAccessLevelsResponse,AccessContextManagerOperationMetadata>

replaceAccessLevelsSettings()

public UnaryCallSettings<ReplaceAccessLevelsRequest,Operation> replaceAccessLevelsSettings()

Returns the object with the settings used for calls to replaceAccessLevels.

Returns
TypeDescription
UnaryCallSettings<ReplaceAccessLevelsRequest,Operation>

replaceServicePerimetersOperationSettings()

public OperationCallSettings<ReplaceServicePerimetersRequest,ReplaceServicePerimetersResponse,AccessContextManagerOperationMetadata> replaceServicePerimetersOperationSettings()

Returns the object with the settings used for calls to replaceServicePerimeters.

Returns
TypeDescription
OperationCallSettings<ReplaceServicePerimetersRequest,ReplaceServicePerimetersResponse,AccessContextManagerOperationMetadata>

replaceServicePerimetersSettings()

public UnaryCallSettings<ReplaceServicePerimetersRequest,Operation> replaceServicePerimetersSettings()

Returns the object with the settings used for calls to replaceServicePerimeters.

Returns
TypeDescription
UnaryCallSettings<ReplaceServicePerimetersRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the object with the settings used for calls to setIamPolicy.

Returns
TypeDescription
UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the object with the settings used for calls to testIamPermissions.

Returns
TypeDescription
UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

toBuilder()

public AccessContextManagerSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
TypeDescription
AccessContextManagerSettings.Builder
Overrides

updateAccessLevelOperationSettings()

public OperationCallSettings<UpdateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata> updateAccessLevelOperationSettings()

Returns the object with the settings used for calls to updateAccessLevel.

Returns
TypeDescription
OperationCallSettings<UpdateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata>

updateAccessLevelSettings()

public UnaryCallSettings<UpdateAccessLevelRequest,Operation> updateAccessLevelSettings()

Returns the object with the settings used for calls to updateAccessLevel.

Returns
TypeDescription
UnaryCallSettings<UpdateAccessLevelRequest,Operation>

updateAccessPolicyOperationSettings()

public OperationCallSettings<UpdateAccessPolicyRequest,AccessPolicy,AccessContextManagerOperationMetadata> updateAccessPolicyOperationSettings()

Returns the object with the settings used for calls to updateAccessPolicy.

Returns
TypeDescription
OperationCallSettings<UpdateAccessPolicyRequest,AccessPolicy,AccessContextManagerOperationMetadata>

updateAccessPolicySettings()

public UnaryCallSettings<UpdateAccessPolicyRequest,Operation> updateAccessPolicySettings()

Returns the object with the settings used for calls to updateAccessPolicy.

Returns
TypeDescription
UnaryCallSettings<UpdateAccessPolicyRequest,Operation>

updateGcpUserAccessBindingOperationSettings()

public OperationCallSettings<UpdateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata> updateGcpUserAccessBindingOperationSettings()

Returns the object with the settings used for calls to updateGcpUserAccessBinding.

Returns
TypeDescription
OperationCallSettings<UpdateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata>

updateGcpUserAccessBindingSettings()

public UnaryCallSettings<UpdateGcpUserAccessBindingRequest,Operation> updateGcpUserAccessBindingSettings()

Returns the object with the settings used for calls to updateGcpUserAccessBinding.

Returns
TypeDescription
UnaryCallSettings<UpdateGcpUserAccessBindingRequest,Operation>

updateServicePerimeterOperationSettings()

public OperationCallSettings<UpdateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata> updateServicePerimeterOperationSettings()

Returns the object with the settings used for calls to updateServicePerimeter.

Returns
TypeDescription
OperationCallSettings<UpdateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata>

updateServicePerimeterSettings()

public UnaryCallSettings<UpdateServicePerimeterRequest,Operation> updateServicePerimeterSettings()

Returns the object with the settings used for calls to updateServicePerimeter.

Returns
TypeDescription
UnaryCallSettings<UpdateServicePerimeterRequest,Operation>