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