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