Certificate Manager v1 API - Class CertificateManagerClientBuilder (2.1.0)

public sealed class CertificateManagerClientBuilder : ClientBuilderBase<CertificateManagerClient>

Reference documentation and code samples for the Certificate Manager v1 API class CertificateManagerClientBuilder.

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

Inheritance

Object > ClientBuilderBase<CertificateManagerClient> > CertificateManagerClientBuilder

Namespace

Google.Cloud.CertificateManager.V1

Assembly

Google.Cloud.CertificateManager.V1.dll

Constructors

CertificateManagerClientBuilder()

public CertificateManagerClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public CertificateManagerSettings Settings { get; set; }

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

Property Value
TypeDescription
CertificateManagerSettings

Methods

Build()

public override CertificateManagerClient Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
Task<CertificateManagerClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.CertificateManager.V1.CertificateManagerClient>.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.CertificateManager.V1.CertificateManagerClient>.GetChannelPool()