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