public sealed class DataChatServiceClientBuilder : ClientBuilderBase<DataChatServiceClient>
Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class DataChatServiceClientBuilder.
Builder class for DataChatServiceClient to provide simple configuration of credentials, endpoint etc.
Namespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Constructors
DataChatServiceClientBuilder()
public DataChatServiceClientBuilder()
Creates a new builder with default settings.
Properties
Settings
public DataChatServiceSettings Settings { get; set; }
The settings to use for RPCs, or null
for the default settings.
Property Value | |
---|---|
Type | Description |
DataChatServiceSettings |
Methods
Build()
public override DataChatServiceClient Build()
Builds the resulting client.
Returns | |
---|---|
Type | Description |
DataChatServiceClient |
BuildAsync(CancellationToken)
public override Task<DataChatServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken |
CancellationToken |
Returns | |
---|---|
Type | Description |
TaskDataChatServiceClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |