Class ManagedIdentitiesServiceStubSettings
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings<ManagedIdentitiesServiceStubSettings>
-
- com.google.cloud.managedidentities.v1.stub.ManagedIdentitiesServiceStubSettings
-
@Generated("by gapic-generator-java") public class ManagedIdentitiesServiceStubSettings extends com.google.api.gax.rpc.StubSettings<ManagedIdentitiesServiceStubSettings>
Settings class to configure an instance ofManagedIdentitiesServiceStub
.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 ManagedIdentitiesServiceStubSettings.Builder managedIdentitiesServiceSettingsBuilder = ManagedIdentitiesServiceStubSettings.newBuilder(); managedIdentitiesServiceSettingsBuilder .resetAdminPasswordSettings() .setRetrySettings( managedIdentitiesServiceSettingsBuilder .resetAdminPasswordSettings() .getRetrySettings() .toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); ManagedIdentitiesServiceStubSettings managedIdentitiesServiceSettings = managedIdentitiesServiceSettingsBuilder.build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManagedIdentitiesServiceStubSettings.Builder
Builder for ManagedIdentitiesServiceStubSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ManagedIdentitiesServiceStubSettings(ManagedIdentitiesServiceStubSettings.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.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.ManagedIdentitiesServiceStub
createStub()
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 String
getDefaultMtlsEndpoint()
Returns the default mTLS 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 ManagedIdentitiesServiceStubSettings.Builder
newBuilder()
Returns a new builder for this class.static ManagedIdentitiesServiceStubSettings.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.ManagedIdentitiesServiceStubSettings.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.StubSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
ManagedIdentitiesServiceStubSettings
protected ManagedIdentitiesServiceStubSettings(ManagedIdentitiesServiceStubSettings.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.
-
createStub
public ManagedIdentitiesServiceStub createStub() 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.
-
getDefaultMtlsEndpoint
public static String getDefaultMtlsEndpoint()
Returns the default mTLS 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 ManagedIdentitiesServiceStubSettings.Builder newBuilder()
Returns a new builder for this class.
-
newBuilder
public static ManagedIdentitiesServiceStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public ManagedIdentitiesServiceStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.StubSettings<ManagedIdentitiesServiceStubSettings>
-
-