public sealed class BigtableClientBuilder : ClientBuilderBase<BigtableClient>
Reference documentation and code samples for the Google Bigtable v2 API class BigtableClientBuilder.
Builder class for BigtableClient to provide simple configuration of credentials, endpoint etc.
Namespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Constructors
BigtableClientBuilder()
public BigtableClientBuilder()
Creates a new builder with default settings.
Properties
EmulatorDetection
public EmulatorDetection EmulatorDetection { get; set; }
Specifies how the builder responds to the presence of emulator environment variables.
Property Value | |
---|---|
Type | Description |
EmulatorDetection |
This property defaults to None, meaning that environment variables are ignored.
Settings
public BigtableServiceApiSettings Settings { get; set; }
The settings to use for RPCs, or null for the default settings.
Property Value | |
---|---|
Type | Description |
BigtableServiceApiSettings |
Methods
Build()
public override BigtableClient Build()
Returns | |
---|---|
Type | Description |
BigtableClient |
BuildAsync(CancellationToken)
public override async Task<BigtableClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken |
Returns | |
---|---|
Type | Description |
Task<BigtableClient> |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns | |
---|---|
Type | Description |
ChannelPool |