public sealed class InstanceAdminClientBuilder : ClientBuilderBase<InstanceAdminClient>
Builder class for InstanceAdminClient to provide simple configuration of credentials, endpoint
etc.
Inherited Members
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.CopyCommonSettings<TOther>(Google.Api.Gax.Grpc.ClientBuilderBase<TOther>)
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.Validate()
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.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.Instance.V1.InstanceAdminClient>.ValidateAtMostOneNotNull(System.String, System.Object[])
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.ValidateOptionExcludesOthers(System.String, System.Object, System.Object[])
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.CreateCallInvoker()
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.CreateCallInvokerAsync(System.Threading.CancellationToken)
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.GetChannelCredentials()
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.GetChannelCredentialsAsync(System.Threading.CancellationToken)
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.GetChannelOptions()
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.Endpoint
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.Scopes
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.ChannelCredentials
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.CredentialsPath
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.JsonCredentials
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.TokenAccessMethod
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.CallInvoker
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.UserAgent
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.GrpcAdapter
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.QuotaProject
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.CanUseChannelPool
Namespace
Google.Cloud.Spanner.Admin.Instance.V1
Assembly
Google.Cloud.Spanner.Admin.Instance.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.Instance.V1.InstanceAdminClient>.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 InstanceAdminSettings Settings { get; set; }
The settings to use for RPCs, or null
for the default settings.
Methods
Build()
public override InstanceAdminClient Build()
Builds the resulting client.
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.Build()
BuildAsync(CancellationToken)
public override Task<InstanceAdminClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Builds the resulting client asynchronously.
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Spanner.Admin.Instance.V1.InstanceAdminClient>.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.Instance.V1.InstanceAdminClient>.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.Instance.V1.InstanceAdminClient>.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.Instance.V1.InstanceAdminClient>.GetDefaultScopes()