public sealed class DatabaseAdminClientBuilder : ClientBuilderBase<DatabaseAdminClient>
Builder class for DatabaseAdminClient to provide simple configuration of credentials, endpoint
etc.
Inherited Members
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.CopyCommonSettings<TOther>(Google.Api.Gax.Grpc.ClientBuilderBase<TOther>)
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.Validate()
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.GetEmulatorEnvironment(System.Collections.Generic.IEnumerable<System.String>, System.Collections.Generic.IEnumerable<System.String>, System.Func<System.String, System.String>)
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.ValidateAtMostOneNotNull(System.String, System.Object[])
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.ValidateOptionExcludesOthers(System.String, System.Object, System.Object[])
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.CreateCallInvoker()
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.CreateCallInvokerAsync(System.Threading.CancellationToken)
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.GetChannelCredentials()
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.GetChannelCredentialsAsync(System.Threading.CancellationToken)
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.GetChannelOptions()
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.Endpoint
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.Scopes
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.ChannelCredentials
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.CredentialsPath
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.JsonCredentials
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.TokenAccessMethod
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.CallInvoker
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.UserAgent
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.GrpcAdapter
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.QuotaProject
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.CanUseChannelPool
Namespace
Google.Cloud.Spanner.Admin.Database.V1
Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Properties
DefaultGrpcAdapter
protected override GrpcAdapter DefaultGrpcAdapter { get; }
Returns the default Google.Api.Gax.Grpc.GrpcAdapterto use if not otherwise specified.
Property Value |
---|
Type | Description |
Google.Api.Gax.Grpc.GrpcAdapter | |
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.DefaultGrpcAdapter
EmulatorDetection
public EmulatorDetection EmulatorDetection { get; set; }
Specifies how the builder responds to the presence of emulator environment variables.
Property Value |
---|
Type | Description |
Google.Api.Gax.EmulatorDetection | |
Remarks
Settings
public DatabaseAdminSettings Settings { get; set; }
The settings to use for RPCs, or null
for the default settings.
Methods
Build()
public override DatabaseAdminClient Build()
Builds the resulting client.
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.Build()
BuildAsync(CancellationToken)
public override Task<DatabaseAdminClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Builds the resulting client asynchronously.
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.BuildAsync(System.Threading.CancellationToken)
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns |
---|
Type | Description |
Google.Api.Gax.Grpc.ChannelPool | |
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.GetChannelPool()
GetDefaultEndpoint()
protected override string GetDefaultEndpoint()
Returns the endpoint for this builder type, used if no endpoint is otherwise specified.
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.GetDefaultEndpoint()
GetDefaultScopes()
protected override IReadOnlyList<string> GetDefaultScopes()
Returns the default scopes for this builder type, used if no scopes are otherwise specified.
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Database.V1.DatabaseAdminClient>.GetDefaultScopes()