Class DomainMappingsClientBuilder (2.0.0)

public sealed class DomainMappingsClientBuilder : ClientBuilderBase<DomainMappingsClient>

Builder class for DomainMappingsClient to provide simple configuration of credentials, endpoint etc.

Inheritance

Object > ClientBuilderBase<DomainMappingsClient> > DomainMappingsClientBuilder

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

DomainMappingsClientBuilder()

public DomainMappingsClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public DomainMappingsSettings Settings { get; set; }

The settings to use for RPCs, or null for the default settings.

Property Value
TypeDescription
DomainMappingsSettings

Methods

Build()

public override DomainMappingsClient Build()

Builds the resulting client.

Returns
TypeDescription
DomainMappingsClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.AppEngine.V1.DomainMappingsClient>.Build()

BuildAsync(CancellationToken)

public override Task<DomainMappingsClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
Task<DomainMappingsClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.AppEngine.V1.DomainMappingsClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

protected override ChannelPool GetChannelPool()

Returns the channel pool to use when no other options are specified.

Returns
TypeDescription
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.AppEngine.V1.DomainMappingsClient>.GetChannelPool()