Retail v2 API - Class AnalyticsServiceClientBuilder (2.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicsealedclassAnalyticsServiceClientBuilder:ClientBuilderBase<AnalyticsServiceClient>Reference documentation and code samples for the Retail v2 API class AnalyticsServiceClientBuilder.
Builder class for AnalyticsServiceClient to provide simple configuration of credentials, endpoint etc.
Inherited Members
Namespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
AnalyticsServiceClientBuilder()
publicAnalyticsServiceClientBuilder()Creates a new builder with default settings.
Properties
Settings
publicAnalyticsServiceSettingsSettings{get;set;}The settings to use for RPCs, or null for the default settings.
| Property Value | |
|---|---|
| Type | Description |
AnalyticsServiceSettings |
|
Methods
Build()
publicoverrideAnalyticsServiceClientBuild()Builds the resulting client.
| Returns | |
|---|---|
| Type | Description |
AnalyticsServiceClient |
|
BuildAsync(CancellationToken)
publicoverrideTask<AnalyticsServiceClient>BuildAsync(CancellationTokencancellationToken=default)Builds the resulting client asynchronously.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationToken |
| Returns | |
|---|---|
| Type | Description |
Task AnalyticsServiceClient |
|
GetChannelPool()
protectedoverrideChannelPoolGetChannelPool()Returns the channel pool to use when no other options are specified.
| Returns | |
|---|---|
| Type | Description |
ChannelPool |
|