public class AccessContextManagerStubSettings extends StubSettings<AccessContextManagerStubSettings>
Settings class to configure an instance of AccessContextManagerStub .
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
AccessContextManagerStubSettings . Builder accessContextManagerSettingsBuilder =
AccessContextManagerStubSettings . newBuilder ();
accessContextManagerSettingsBuilder
. getAccessPolicySettings ()
. setRetrySettings (
accessContextManagerSettingsBuilder
. getAccessPolicySettings ()
. getRetrySettings ()
. toBuilder ()
. setTotalTimeout ( Duration . ofSeconds ( 30 ))
. build ());
AccessContextManagerStubSettings accessContextManagerSettings =
accessContextManagerSettingsBuilder . build ();
Static Methods
public static ApiClientHeaderProvider . Builder defaultApiClientHeaderProviderBuilder ()
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider . Builder defaultCredentialsProviderBuilder ()
Returns a builder for the default credentials for this service.
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider . Builder defaultExecutorProviderBuilder ()
Returns a builder for the default ExecutorProvider for this service.
public static ApiClientHeaderProvider . Builder defaultGrpcApiClientHeaderProviderBuilder ()
Beta
The surface for customizing headers is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider . Builder defaultGrpcTransportProviderBuilder ()
Returns a builder for the default gRPC ChannelProvider for this service.
public static ApiClientHeaderProvider . Builder defaultHttpJsonApiClientHeaderProviderBuilder ()
Beta
The surface for customizing headers is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider . Builder defaultHttpJsonTransportProviderBuilder ()
Beta
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns a builder for the default REST ChannelProvider for this service.
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider ()
getDefaultEndpoint()
public static String getDefaultEndpoint ()
Returns the default service endpoint.
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint ()
Returns the default mTLS service endpoint.
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes ()
Returns the default service scopes.
newBuilder()
public static AccessContextManagerStubSettings . Builder newBuilder ()
Returns a new gRPC builder for this class.
newBuilder(ClientContext clientContext)
public static AccessContextManagerStubSettings . Builder newBuilder ( ClientContext clientContext )
Returns a new builder for this class.
newHttpJsonBuilder()
public static AccessContextManagerStubSettings . Builder newHttpJsonBuilder ()
Returns a new REST builder for this class.
Constructors
AccessContextManagerStubSettings(AccessContextManagerStubSettings.Builder settingsBuilder)
protected AccessContextManagerStubSettings ( AccessContextManagerStubSettings . Builder settingsBuilder )
Methods
commitServicePerimetersOperationSettings()
public OperationCallSettings<CommitServicePerimetersRequest , CommitServicePerimetersResponse , AccessContextManagerOperationMetadata > commitServicePerimetersOperationSettings ()
Returns the object with the settings used for calls to commitServicePerimeters.
public UnaryCallSettings<CommitServicePerimetersRequest , Operation > commitServicePerimetersSettings ()
Returns the object with the settings used for calls to commitServicePerimeters.
createAccessLevelOperationSettings()
public OperationCallSettings<CreateAccessLevelRequest , AccessLevel , AccessContextManagerOperationMetadata > createAccessLevelOperationSettings ()
Returns the object with the settings used for calls to createAccessLevel.
createAccessLevelSettings()
public UnaryCallSettings<CreateAccessLevelRequest , Operation > createAccessLevelSettings ()
Returns the object with the settings used for calls to createAccessLevel.
createAccessPolicyOperationSettings()
public OperationCallSettings<AccessPolicy , AccessPolicy , AccessContextManagerOperationMetadata > createAccessPolicyOperationSettings ()
Returns the object with the settings used for calls to createAccessPolicy.
createAccessPolicySettings()
public UnaryCallSettings<AccessPolicy , Operation > createAccessPolicySettings ()
Returns the object with the settings used for calls to createAccessPolicy.
createGcpUserAccessBindingOperationSettings()
public OperationCallSettings<CreateGcpUserAccessBindingRequest , GcpUserAccessBinding , GcpUserAccessBindingOperationMetadata > createGcpUserAccessBindingOperationSettings ()
Returns the object with the settings used for calls to createGcpUserAccessBinding.
createGcpUserAccessBindingSettings()
public UnaryCallSettings<CreateGcpUserAccessBindingRequest , Operation > createGcpUserAccessBindingSettings ()
Returns the object with the settings used for calls to createGcpUserAccessBinding.
createServicePerimeterOperationSettings()
public OperationCallSettings<CreateServicePerimeterRequest , ServicePerimeter , AccessContextManagerOperationMetadata > createServicePerimeterOperationSettings ()
Returns the object with the settings used for calls to createServicePerimeter.
createServicePerimeterSettings()
public UnaryCallSettings<CreateServicePerimeterRequest , Operation > createServicePerimeterSettings ()
Returns the object with the settings used for calls to createServicePerimeter.
createStub()
public AccessContextManagerStub createStub ()
deleteAccessLevelOperationSettings()
public OperationCallSettings<DeleteAccessLevelRequest , Empty , AccessContextManagerOperationMetadata > deleteAccessLevelOperationSettings ()
Returns the object with the settings used for calls to deleteAccessLevel.
deleteAccessLevelSettings()
public UnaryCallSettings<DeleteAccessLevelRequest , Operation > deleteAccessLevelSettings ()
Returns the object with the settings used for calls to deleteAccessLevel.
deleteAccessPolicyOperationSettings()
public OperationCallSettings<DeleteAccessPolicyRequest , Empty , AccessContextManagerOperationMetadata > deleteAccessPolicyOperationSettings ()
Returns the object with the settings used for calls to deleteAccessPolicy.
deleteAccessPolicySettings()
public UnaryCallSettings<DeleteAccessPolicyRequest , Operation > deleteAccessPolicySettings ()
Returns the object with the settings used for calls to deleteAccessPolicy.
deleteGcpUserAccessBindingOperationSettings()
public OperationCallSettings<DeleteGcpUserAccessBindingRequest , Empty , GcpUserAccessBindingOperationMetadata > deleteGcpUserAccessBindingOperationSettings ()
Returns the object with the settings used for calls to deleteGcpUserAccessBinding.
deleteGcpUserAccessBindingSettings()
public UnaryCallSettings<DeleteGcpUserAccessBindingRequest , Operation > deleteGcpUserAccessBindingSettings ()
Returns the object with the settings used for calls to deleteGcpUserAccessBinding.
deleteServicePerimeterOperationSettings()
public OperationCallSettings<DeleteServicePerimeterRequest , Empty , AccessContextManagerOperationMetadata > deleteServicePerimeterOperationSettings ()
Returns the object with the settings used for calls to deleteServicePerimeter.
deleteServicePerimeterSettings()
public UnaryCallSettings<DeleteServicePerimeterRequest , Operation > deleteServicePerimeterSettings ()
Returns the object with the settings used for calls to deleteServicePerimeter.
getAccessLevelSettings()
public UnaryCallSettings<GetAccessLevelRequest , AccessLevel > getAccessLevelSettings ()
Returns the object with the settings used for calls to getAccessLevel.
getAccessPolicySettings()
public UnaryCallSettings<GetAccessPolicyRequest , AccessPolicy > getAccessPolicySettings ()
Returns the object with the settings used for calls to getAccessPolicy.
getGcpUserAccessBindingSettings()
public UnaryCallSettings<GetGcpUserAccessBindingRequest , GcpUserAccessBinding > getGcpUserAccessBindingSettings ()
Returns the object with the settings used for calls to getGcpUserAccessBinding.
getIamPolicySettings()
public UnaryCallSettings<GetIamPolicyRequest , Policy > getIamPolicySettings ()
Returns the object with the settings used for calls to getIamPolicy.
Returns Type Description UnaryCallSettings <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
getServiceName()
public String getServiceName ()
Returns the default service name.
Overrides
getServicePerimeterSettings()
public UnaryCallSettings<GetServicePerimeterRequest , ServicePerimeter > getServicePerimeterSettings ()
Returns the object with the settings used for calls to getServicePerimeter.
listAccessLevelsSettings()
public PagedCallSettings<ListAccessLevelsRequest , ListAccessLevelsResponse , AccessContextManagerClient . ListAccessLevelsPagedResponse > listAccessLevelsSettings ()
Returns the object with the settings used for calls to listAccessLevels.
listAccessPoliciesSettings()
public PagedCallSettings<ListAccessPoliciesRequest , ListAccessPoliciesResponse , AccessContextManagerClient . ListAccessPoliciesPagedResponse > listAccessPoliciesSettings ()
Returns the object with the settings used for calls to listAccessPolicies.
listGcpUserAccessBindingsSettings()
public PagedCallSettings<ListGcpUserAccessBindingsRequest , ListGcpUserAccessBindingsResponse , AccessContextManagerClient . ListGcpUserAccessBindingsPagedResponse > listGcpUserAccessBindingsSettings ()
Returns the object with the settings used for calls to listGcpUserAccessBindings.
public PagedCallSettings<ListServicePerimetersRequest , ListServicePerimetersResponse , AccessContextManagerClient . ListServicePerimetersPagedResponse > listServicePerimetersSettings ()
Returns the object with the settings used for calls to listServicePerimeters.
replaceAccessLevelsOperationSettings()
public OperationCallSettings<ReplaceAccessLevelsRequest , ReplaceAccessLevelsResponse , AccessContextManagerOperationMetadata > replaceAccessLevelsOperationSettings ()
Returns the object with the settings used for calls to replaceAccessLevels.
replaceAccessLevelsSettings()
public UnaryCallSettings<ReplaceAccessLevelsRequest , Operation > replaceAccessLevelsSettings ()
Returns the object with the settings used for calls to replaceAccessLevels.
replaceServicePerimetersOperationSettings()
public OperationCallSettings<ReplaceServicePerimetersRequest , ReplaceServicePerimetersResponse , AccessContextManagerOperationMetadata > replaceServicePerimetersOperationSettings ()
Returns the object with the settings used for calls to replaceServicePerimeters.
public UnaryCallSettings<ReplaceServicePerimetersRequest , Operation > replaceServicePerimetersSettings ()
Returns the object with the settings used for calls to replaceServicePerimeters.
setIamPolicySettings()
public UnaryCallSettings<SetIamPolicyRequest , Policy > setIamPolicySettings ()
Returns the object with the settings used for calls to setIamPolicy.
Returns Type Description 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 Type Description UnaryCallSettings <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
toBuilder()
public AccessContextManagerStubSettings . Builder toBuilder ()
Returns a builder containing all the values of this settings class.
Overrides
updateAccessLevelOperationSettings()
public OperationCallSettings<UpdateAccessLevelRequest , AccessLevel , AccessContextManagerOperationMetadata > updateAccessLevelOperationSettings ()
Returns the object with the settings used for calls to updateAccessLevel.
updateAccessLevelSettings()
public UnaryCallSettings<UpdateAccessLevelRequest , Operation > updateAccessLevelSettings ()
Returns the object with the settings used for calls to updateAccessLevel.
updateAccessPolicyOperationSettings()
public OperationCallSettings<UpdateAccessPolicyRequest , AccessPolicy , AccessContextManagerOperationMetadata > updateAccessPolicyOperationSettings ()
Returns the object with the settings used for calls to updateAccessPolicy.
updateAccessPolicySettings()
public UnaryCallSettings<UpdateAccessPolicyRequest , Operation > updateAccessPolicySettings ()
Returns the object with the settings used for calls to updateAccessPolicy.
updateGcpUserAccessBindingOperationSettings()
public OperationCallSettings<UpdateGcpUserAccessBindingRequest , GcpUserAccessBinding , GcpUserAccessBindingOperationMetadata > updateGcpUserAccessBindingOperationSettings ()
Returns the object with the settings used for calls to updateGcpUserAccessBinding.
updateGcpUserAccessBindingSettings()
public UnaryCallSettings<UpdateGcpUserAccessBindingRequest , Operation > updateGcpUserAccessBindingSettings ()
Returns the object with the settings used for calls to updateGcpUserAccessBinding.
updateServicePerimeterOperationSettings()
public OperationCallSettings<UpdateServicePerimeterRequest , ServicePerimeter , AccessContextManagerOperationMetadata > updateServicePerimeterOperationSettings ()
Returns the object with the settings used for calls to updateServicePerimeter.
updateServicePerimeterSettings()
public UnaryCallSettings<UpdateServicePerimeterRequest , Operation > updateServicePerimeterSettings ()
Returns the object with the settings used for calls to updateServicePerimeter.