Class ManagedIdentitiesServiceSettings
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings<ManagedIdentitiesServiceSettings>
-
- com.google.cloud.managedidentities.v1.ManagedIdentitiesServiceSettings
-
@Generated("by gapic-generator-java") public class ManagedIdentitiesServiceSettings extends com.google.api.gax.rpc.ClientSettings<ManagedIdentitiesServiceSettings>
Settings class to configure an instance ofManagedIdentitiesServiceClient
.The default instance has everything set to sensible defaults:
- The default service address (managedidentities.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 resetAdminPassword 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 ManagedIdentitiesServiceSettings.Builder managedIdentitiesServiceSettingsBuilder = ManagedIdentitiesServiceSettings.newBuilder(); managedIdentitiesServiceSettingsBuilder .resetAdminPasswordSettings() .setRetrySettings( managedIdentitiesServiceSettingsBuilder .resetAdminPasswordSettings() .getRetrySettings() .toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); ManagedIdentitiesServiceSettings managedIdentitiesServiceSettings = managedIdentitiesServiceSettingsBuilder.build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManagedIdentitiesServiceSettings.Builder
Builder for ManagedIdentitiesServiceSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ManagedIdentitiesServiceSettings(ManagedIdentitiesServiceSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings<AttachTrustRequest,Domain,OpMetadata>
attachTrustOperationSettings()
Returns the object with the settings used for calls to attachTrust.com.google.api.gax.rpc.UnaryCallSettings<AttachTrustRequest,com.google.longrunning.Operation>
attachTrustSettings()
Returns the object with the settings used for calls to attachTrust.static ManagedIdentitiesServiceSettings
create(ManagedIdentitiesServiceStubSettings stub)
com.google.api.gax.rpc.OperationCallSettings<CreateMicrosoftAdDomainRequest,Domain,OpMetadata>
createMicrosoftAdDomainOperationSettings()
Returns the object with the settings used for calls to createMicrosoftAdDomain.com.google.api.gax.rpc.UnaryCallSettings<CreateMicrosoftAdDomainRequest,com.google.longrunning.Operation>
createMicrosoftAdDomainSettings()
Returns the object with the settings used for calls to createMicrosoftAdDomain.static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultApiClientHeaderProviderBuilder()
static com.google.api.gax.core.GoogleCredentialsProvider.Builder
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.static com.google.api.gax.core.InstantiatingExecutorProvider.Builder
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.static com.google.api.gax.rpc.TransportChannelProvider
defaultTransportChannelProvider()
com.google.api.gax.rpc.OperationCallSettings<DeleteDomainRequest,com.google.protobuf.Empty,OpMetadata>
deleteDomainOperationSettings()
Returns the object with the settings used for calls to deleteDomain.com.google.api.gax.rpc.UnaryCallSettings<DeleteDomainRequest,com.google.longrunning.Operation>
deleteDomainSettings()
Returns the object with the settings used for calls to deleteDomain.com.google.api.gax.rpc.OperationCallSettings<DetachTrustRequest,Domain,OpMetadata>
detachTrustOperationSettings()
Returns the object with the settings used for calls to detachTrust.com.google.api.gax.rpc.UnaryCallSettings<DetachTrustRequest,com.google.longrunning.Operation>
detachTrustSettings()
Returns the object with the settings used for calls to detachTrust.static String
getDefaultEndpoint()
Returns the default service endpoint.static List<String>
getDefaultServiceScopes()
Returns the default service scopes.com.google.api.gax.rpc.UnaryCallSettings<GetDomainRequest,Domain>
getDomainSettings()
Returns the object with the settings used for calls to getDomain.com.google.api.gax.rpc.PagedCallSettings<ListDomainsRequest,ListDomainsResponse,ManagedIdentitiesServiceClient.ListDomainsPagedResponse>
listDomainsSettings()
Returns the object with the settings used for calls to listDomains.static ManagedIdentitiesServiceSettings.Builder
newBuilder()
Returns a new builder for this class.static ManagedIdentitiesServiceSettings.Builder
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.com.google.api.gax.rpc.OperationCallSettings<ReconfigureTrustRequest,Domain,OpMetadata>
reconfigureTrustOperationSettings()
Returns the object with the settings used for calls to reconfigureTrust.com.google.api.gax.rpc.UnaryCallSettings<ReconfigureTrustRequest,com.google.longrunning.Operation>
reconfigureTrustSettings()
Returns the object with the settings used for calls to reconfigureTrust.com.google.api.gax.rpc.UnaryCallSettings<ResetAdminPasswordRequest,ResetAdminPasswordResponse>
resetAdminPasswordSettings()
Returns the object with the settings used for calls to resetAdminPassword.ManagedIdentitiesServiceSettings.Builder
toBuilder()
Returns a builder containing all the values of this settings class.com.google.api.gax.rpc.OperationCallSettings<UpdateDomainRequest,Domain,OpMetadata>
updateDomainOperationSettings()
Returns the object with the settings used for calls to updateDomain.com.google.api.gax.rpc.UnaryCallSettings<UpdateDomainRequest,com.google.longrunning.Operation>
updateDomainSettings()
Returns the object with the settings used for calls to updateDomain.com.google.api.gax.rpc.OperationCallSettings<ValidateTrustRequest,Domain,OpMetadata>
validateTrustOperationSettings()
Returns the object with the settings used for calls to validateTrust.com.google.api.gax.rpc.UnaryCallSettings<ValidateTrustRequest,com.google.longrunning.Operation>
validateTrustSettings()
Returns the object with the settings used for calls to validateTrust.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
ManagedIdentitiesServiceSettings
protected ManagedIdentitiesServiceSettings(ManagedIdentitiesServiceSettings.Builder settingsBuilder) throws IOException
- Throws:
IOException
-
-
Method Detail
-
createMicrosoftAdDomainSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateMicrosoftAdDomainRequest,com.google.longrunning.Operation> createMicrosoftAdDomainSettings()
Returns the object with the settings used for calls to createMicrosoftAdDomain.
-
createMicrosoftAdDomainOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<CreateMicrosoftAdDomainRequest,Domain,OpMetadata> createMicrosoftAdDomainOperationSettings()
Returns the object with the settings used for calls to createMicrosoftAdDomain.
-
resetAdminPasswordSettings
public com.google.api.gax.rpc.UnaryCallSettings<ResetAdminPasswordRequest,ResetAdminPasswordResponse> resetAdminPasswordSettings()
Returns the object with the settings used for calls to resetAdminPassword.
-
listDomainsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListDomainsRequest,ListDomainsResponse,ManagedIdentitiesServiceClient.ListDomainsPagedResponse> listDomainsSettings()
Returns the object with the settings used for calls to listDomains.
-
getDomainSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetDomainRequest,Domain> getDomainSettings()
Returns the object with the settings used for calls to getDomain.
-
updateDomainSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateDomainRequest,com.google.longrunning.Operation> updateDomainSettings()
Returns the object with the settings used for calls to updateDomain.
-
updateDomainOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateDomainRequest,Domain,OpMetadata> updateDomainOperationSettings()
Returns the object with the settings used for calls to updateDomain.
-
deleteDomainSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteDomainRequest,com.google.longrunning.Operation> deleteDomainSettings()
Returns the object with the settings used for calls to deleteDomain.
-
deleteDomainOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteDomainRequest,com.google.protobuf.Empty,OpMetadata> deleteDomainOperationSettings()
Returns the object with the settings used for calls to deleteDomain.
-
attachTrustSettings
public com.google.api.gax.rpc.UnaryCallSettings<AttachTrustRequest,com.google.longrunning.Operation> attachTrustSettings()
Returns the object with the settings used for calls to attachTrust.
-
attachTrustOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<AttachTrustRequest,Domain,OpMetadata> attachTrustOperationSettings()
Returns the object with the settings used for calls to attachTrust.
-
reconfigureTrustSettings
public com.google.api.gax.rpc.UnaryCallSettings<ReconfigureTrustRequest,com.google.longrunning.Operation> reconfigureTrustSettings()
Returns the object with the settings used for calls to reconfigureTrust.
-
reconfigureTrustOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<ReconfigureTrustRequest,Domain,OpMetadata> reconfigureTrustOperationSettings()
Returns the object with the settings used for calls to reconfigureTrust.
-
detachTrustSettings
public com.google.api.gax.rpc.UnaryCallSettings<DetachTrustRequest,com.google.longrunning.Operation> detachTrustSettings()
Returns the object with the settings used for calls to detachTrust.
-
detachTrustOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DetachTrustRequest,Domain,OpMetadata> detachTrustOperationSettings()
Returns the object with the settings used for calls to detachTrust.
-
validateTrustSettings
public com.google.api.gax.rpc.UnaryCallSettings<ValidateTrustRequest,com.google.longrunning.Operation> validateTrustSettings()
Returns the object with the settings used for calls to validateTrust.
-
validateTrustOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<ValidateTrustRequest,Domain,OpMetadata> validateTrustOperationSettings()
Returns the object with the settings used for calls to validateTrust.
-
create
public static final ManagedIdentitiesServiceSettings create(ManagedIdentitiesServiceStubSettings stub) throws IOException
- Throws:
IOException
-
defaultExecutorProviderBuilder
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
-
getDefaultEndpoint
public static String getDefaultEndpoint()
Returns the default service endpoint.
-
getDefaultServiceScopes
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
-
defaultCredentialsProviderBuilder
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
-
defaultGrpcTransportProviderBuilder
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
-
defaultTransportChannelProvider
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
-
defaultApiClientHeaderProviderBuilder
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
-
newBuilder
public static ManagedIdentitiesServiceSettings.Builder newBuilder()
Returns a new builder for this class.
-
newBuilder
public static ManagedIdentitiesServiceSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public ManagedIdentitiesServiceSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.ClientSettings<ManagedIdentitiesServiceSettings>
-
-