- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.5
- 1.3.1
- 1.2.10
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 for illustrative purposes only.
// It may require modifications to work in your environment.
AccessContextManagerSettings.Builder accessContextManagerSettingsBuilder =
AccessContextManagerSettings.newBuilder();
accessContextManagerSettingsBuilder
.getAccessPolicySettings()
.setRetrySettings(
accessContextManagerSettingsBuilder
.getAccessPolicySettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
AccessContextManagerSettings accessContextManagerSettings =
accessContextManagerSettingsBuilder.build();
Static Methods
create(AccessContextManagerStubSettings stub)
public static final AccessContextManagerSettings create(AccessContextManagerStubSettings stub)
Name | Description |
stub | AccessContextManagerStubSettings |
Type | Description |
AccessContextManagerSettings |
Type | Description |
IOException |
defaultApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Type | Description |
Builder |
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Type | Description |
Builder |
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Type | Description |
Builder |
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
Type | Description |
Builder |
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
Type | Description |
Builder |
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Type | Description |
TransportChannelProvider |
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Type | Description |
String |
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Type | Description |
List<String> |
newBuilder()
public static AccessContextManagerSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
Type | Description |
AccessContextManagerSettings.Builder |
newBuilder(ClientContext clientContext)
public static AccessContextManagerSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Name | Description |
clientContext | ClientContext |
Type | Description |
AccessContextManagerSettings.Builder |
newHttpJsonBuilder()
public static AccessContextManagerSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
Type | Description |
AccessContextManagerSettings.Builder |
Constructors
AccessContextManagerSettings(AccessContextManagerSettings.Builder settingsBuilder)
protected AccessContextManagerSettings(AccessContextManagerSettings.Builder settingsBuilder)
Name | Description |
settingsBuilder | AccessContextManagerSettings.Builder |
Methods
commitServicePerimetersOperationSettings()
public OperationCallSettings<CommitServicePerimetersRequest,CommitServicePerimetersResponse,AccessContextManagerOperationMetadata> commitServicePerimetersOperationSettings()
Returns the object with the settings used for calls to commitServicePerimeters.
Type | Description |
OperationCallSettings<CommitServicePerimetersRequest,CommitServicePerimetersResponse,AccessContextManagerOperationMetadata> |
commitServicePerimetersSettings()
public UnaryCallSettings<CommitServicePerimetersRequest,Operation> commitServicePerimetersSettings()
Returns the object with the settings used for calls to commitServicePerimeters.
Type | Description |
UnaryCallSettings<CommitServicePerimetersRequest,Operation> |
createAccessLevelOperationSettings()
public OperationCallSettings<CreateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata> createAccessLevelOperationSettings()
Returns the object with the settings used for calls to createAccessLevel.
Type | Description |
OperationCallSettings<CreateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata> |
createAccessLevelSettings()
public UnaryCallSettings<CreateAccessLevelRequest,Operation> createAccessLevelSettings()
Returns the object with the settings used for calls to createAccessLevel.
Type | Description |
UnaryCallSettings<CreateAccessLevelRequest,Operation> |
createAccessPolicyOperationSettings()
public OperationCallSettings<AccessPolicy,AccessPolicy,AccessContextManagerOperationMetadata> createAccessPolicyOperationSettings()
Returns the object with the settings used for calls to createAccessPolicy.
Type | Description |
OperationCallSettings<AccessPolicy,AccessPolicy,AccessContextManagerOperationMetadata> |
createAccessPolicySettings()
public UnaryCallSettings<AccessPolicy,Operation> createAccessPolicySettings()
Returns the object with the settings used for calls to createAccessPolicy.
Type | Description |
UnaryCallSettings<AccessPolicy,Operation> |
createGcpUserAccessBindingOperationSettings()
public OperationCallSettings<CreateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata> createGcpUserAccessBindingOperationSettings()
Returns the object with the settings used for calls to createGcpUserAccessBinding.
Type | Description |
OperationCallSettings<CreateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata> |
createGcpUserAccessBindingSettings()
public UnaryCallSettings<CreateGcpUserAccessBindingRequest,Operation> createGcpUserAccessBindingSettings()
Returns the object with the settings used for calls to createGcpUserAccessBinding.
Type | Description |
UnaryCallSettings<CreateGcpUserAccessBindingRequest,Operation> |
createServicePerimeterOperationSettings()
public OperationCallSettings<CreateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata> createServicePerimeterOperationSettings()
Returns the object with the settings used for calls to createServicePerimeter.
Type | Description |
OperationCallSettings<CreateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata> |
createServicePerimeterSettings()
public UnaryCallSettings<CreateServicePerimeterRequest,Operation> createServicePerimeterSettings()
Returns the object with the settings used for calls to createServicePerimeter.
Type | Description |
UnaryCallSettings<CreateServicePerimeterRequest,Operation> |
deleteAccessLevelOperationSettings()
public OperationCallSettings<DeleteAccessLevelRequest,Empty,AccessContextManagerOperationMetadata> deleteAccessLevelOperationSettings()
Returns the object with the settings used for calls to deleteAccessLevel.
Type | Description |
OperationCallSettings<DeleteAccessLevelRequest,Empty,AccessContextManagerOperationMetadata> |
deleteAccessLevelSettings()
public UnaryCallSettings<DeleteAccessLevelRequest,Operation> deleteAccessLevelSettings()
Returns the object with the settings used for calls to deleteAccessLevel.
Type | Description |
UnaryCallSettings<DeleteAccessLevelRequest,Operation> |
deleteAccessPolicyOperationSettings()
public OperationCallSettings<DeleteAccessPolicyRequest,Empty,AccessContextManagerOperationMetadata> deleteAccessPolicyOperationSettings()
Returns the object with the settings used for calls to deleteAccessPolicy.
Type | Description |
OperationCallSettings<DeleteAccessPolicyRequest,Empty,AccessContextManagerOperationMetadata> |
deleteAccessPolicySettings()
public UnaryCallSettings<DeleteAccessPolicyRequest,Operation> deleteAccessPolicySettings()
Returns the object with the settings used for calls to deleteAccessPolicy.
Type | Description |
UnaryCallSettings<DeleteAccessPolicyRequest,Operation> |
deleteGcpUserAccessBindingOperationSettings()
public OperationCallSettings<DeleteGcpUserAccessBindingRequest,Empty,GcpUserAccessBindingOperationMetadata> deleteGcpUserAccessBindingOperationSettings()
Returns the object with the settings used for calls to deleteGcpUserAccessBinding.
Type | Description |
OperationCallSettings<DeleteGcpUserAccessBindingRequest,Empty,GcpUserAccessBindingOperationMetadata> |
deleteGcpUserAccessBindingSettings()
public UnaryCallSettings<DeleteGcpUserAccessBindingRequest,Operation> deleteGcpUserAccessBindingSettings()
Returns the object with the settings used for calls to deleteGcpUserAccessBinding.
Type | Description |
UnaryCallSettings<DeleteGcpUserAccessBindingRequest,Operation> |
deleteServicePerimeterOperationSettings()
public OperationCallSettings<DeleteServicePerimeterRequest,Empty,AccessContextManagerOperationMetadata> deleteServicePerimeterOperationSettings()
Returns the object with the settings used for calls to deleteServicePerimeter.
Type | Description |
OperationCallSettings<DeleteServicePerimeterRequest,Empty,AccessContextManagerOperationMetadata> |
deleteServicePerimeterSettings()
public UnaryCallSettings<DeleteServicePerimeterRequest,Operation> deleteServicePerimeterSettings()
Returns the object with the settings used for calls to deleteServicePerimeter.
Type | Description |
UnaryCallSettings<DeleteServicePerimeterRequest,Operation> |
getAccessLevelSettings()
public UnaryCallSettings<GetAccessLevelRequest,AccessLevel> getAccessLevelSettings()
Returns the object with the settings used for calls to getAccessLevel.
Type | Description |
UnaryCallSettings<GetAccessLevelRequest,AccessLevel> |
getAccessPolicySettings()
public UnaryCallSettings<GetAccessPolicyRequest,AccessPolicy> getAccessPolicySettings()
Returns the object with the settings used for calls to getAccessPolicy.
Type | Description |
UnaryCallSettings<GetAccessPolicyRequest,AccessPolicy> |
getGcpUserAccessBindingSettings()
public UnaryCallSettings<GetGcpUserAccessBindingRequest,GcpUserAccessBinding> getGcpUserAccessBindingSettings()
Returns the object with the settings used for calls to getGcpUserAccessBinding.
Type | Description |
UnaryCallSettings<GetGcpUserAccessBindingRequest,GcpUserAccessBinding> |
getServicePerimeterSettings()
public UnaryCallSettings<GetServicePerimeterRequest,ServicePerimeter> getServicePerimeterSettings()
Returns the object with the settings used for calls to getServicePerimeter.
Type | Description |
UnaryCallSettings<GetServicePerimeterRequest,ServicePerimeter> |
listAccessLevelsSettings()
public PagedCallSettings<ListAccessLevelsRequest,ListAccessLevelsResponse,AccessContextManagerClient.ListAccessLevelsPagedResponse> listAccessLevelsSettings()
Returns the object with the settings used for calls to listAccessLevels.
Type | Description |
PagedCallSettings<ListAccessLevelsRequest,ListAccessLevelsResponse,ListAccessLevelsPagedResponse> |
listAccessPoliciesSettings()
public PagedCallSettings<ListAccessPoliciesRequest,ListAccessPoliciesResponse,AccessContextManagerClient.ListAccessPoliciesPagedResponse> listAccessPoliciesSettings()
Returns the object with the settings used for calls to listAccessPolicies.
Type | Description |
PagedCallSettings<ListAccessPoliciesRequest,ListAccessPoliciesResponse,ListAccessPoliciesPagedResponse> |
listGcpUserAccessBindingsSettings()
public PagedCallSettings<ListGcpUserAccessBindingsRequest,ListGcpUserAccessBindingsResponse,AccessContextManagerClient.ListGcpUserAccessBindingsPagedResponse> listGcpUserAccessBindingsSettings()
Returns the object with the settings used for calls to listGcpUserAccessBindings.
Type | Description |
PagedCallSettings<ListGcpUserAccessBindingsRequest,ListGcpUserAccessBindingsResponse,ListGcpUserAccessBindingsPagedResponse> |
listServicePerimetersSettings()
public PagedCallSettings<ListServicePerimetersRequest,ListServicePerimetersResponse,AccessContextManagerClient.ListServicePerimetersPagedResponse> listServicePerimetersSettings()
Returns the object with the settings used for calls to listServicePerimeters.
Type | Description |
PagedCallSettings<ListServicePerimetersRequest,ListServicePerimetersResponse,ListServicePerimetersPagedResponse> |
replaceAccessLevelsOperationSettings()
public OperationCallSettings<ReplaceAccessLevelsRequest,ReplaceAccessLevelsResponse,AccessContextManagerOperationMetadata> replaceAccessLevelsOperationSettings()
Returns the object with the settings used for calls to replaceAccessLevels.
Type | Description |
OperationCallSettings<ReplaceAccessLevelsRequest,ReplaceAccessLevelsResponse,AccessContextManagerOperationMetadata> |
replaceAccessLevelsSettings()
public UnaryCallSettings<ReplaceAccessLevelsRequest,Operation> replaceAccessLevelsSettings()
Returns the object with the settings used for calls to replaceAccessLevels.
Type | Description |
UnaryCallSettings<ReplaceAccessLevelsRequest,Operation> |
replaceServicePerimetersOperationSettings()
public OperationCallSettings<ReplaceServicePerimetersRequest,ReplaceServicePerimetersResponse,AccessContextManagerOperationMetadata> replaceServicePerimetersOperationSettings()
Returns the object with the settings used for calls to replaceServicePerimeters.
Type | Description |
OperationCallSettings<ReplaceServicePerimetersRequest,ReplaceServicePerimetersResponse,AccessContextManagerOperationMetadata> |
replaceServicePerimetersSettings()
public UnaryCallSettings<ReplaceServicePerimetersRequest,Operation> replaceServicePerimetersSettings()
Returns the object with the settings used for calls to replaceServicePerimeters.
Type | Description |
UnaryCallSettings<ReplaceServicePerimetersRequest,Operation> |
toBuilder()
public AccessContextManagerSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Type | Description |
AccessContextManagerSettings.Builder |
updateAccessLevelOperationSettings()
public OperationCallSettings<UpdateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata> updateAccessLevelOperationSettings()
Returns the object with the settings used for calls to updateAccessLevel.
Type | Description |
OperationCallSettings<UpdateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata> |
updateAccessLevelSettings()
public UnaryCallSettings<UpdateAccessLevelRequest,Operation> updateAccessLevelSettings()
Returns the object with the settings used for calls to updateAccessLevel.
Type | Description |
UnaryCallSettings<UpdateAccessLevelRequest,Operation> |
updateAccessPolicyOperationSettings()
public OperationCallSettings<UpdateAccessPolicyRequest,AccessPolicy,AccessContextManagerOperationMetadata> updateAccessPolicyOperationSettings()
Returns the object with the settings used for calls to updateAccessPolicy.
Type | Description |
OperationCallSettings<UpdateAccessPolicyRequest,AccessPolicy,AccessContextManagerOperationMetadata> |
updateAccessPolicySettings()
public UnaryCallSettings<UpdateAccessPolicyRequest,Operation> updateAccessPolicySettings()
Returns the object with the settings used for calls to updateAccessPolicy.
Type | Description |
UnaryCallSettings<UpdateAccessPolicyRequest,Operation> |
updateGcpUserAccessBindingOperationSettings()
public OperationCallSettings<UpdateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata> updateGcpUserAccessBindingOperationSettings()
Returns the object with the settings used for calls to updateGcpUserAccessBinding.
Type | Description |
OperationCallSettings<UpdateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata> |
updateGcpUserAccessBindingSettings()
public UnaryCallSettings<UpdateGcpUserAccessBindingRequest,Operation> updateGcpUserAccessBindingSettings()
Returns the object with the settings used for calls to updateGcpUserAccessBinding.
Type | Description |
UnaryCallSettings<UpdateGcpUserAccessBindingRequest,Operation> |
updateServicePerimeterOperationSettings()
public OperationCallSettings<UpdateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata> updateServicePerimeterOperationSettings()
Returns the object with the settings used for calls to updateServicePerimeter.
Type | Description |
OperationCallSettings<UpdateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata> |
updateServicePerimeterSettings()
public UnaryCallSettings<UpdateServicePerimeterRequest,Operation> updateServicePerimeterSettings()
Returns the object with the settings used for calls to updateServicePerimeter.
Type | Description |
UnaryCallSettings<UpdateServicePerimeterRequest,Operation> |