Public Certificate Authority v1 API - Class PublicCertificateAuthorityServiceClientBuilder (1.0.0-beta01)

public sealed class PublicCertificateAuthorityServiceClientBuilder : ClientBuilderBase<PublicCertificateAuthorityServiceClient>

Reference documentation and code samples for the Public Certificate Authority v1 API class PublicCertificateAuthorityServiceClientBuilder.

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

Inheritance

object > ClientBuilderBasePublicCertificateAuthorityServiceClient > PublicCertificateAuthorityServiceClientBuilder

Namespace

Google.Cloud.Security.PublicCA.V1

Assembly

Google.Cloud.Security.PublicCA.V1.dll

Constructors

PublicCertificateAuthorityServiceClientBuilder()

public PublicCertificateAuthorityServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public PublicCertificateAuthorityServiceSettings Settings { get; set; }

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

Property Value
Type Description
PublicCertificateAuthorityServiceSettings

Methods

Build()

public override PublicCertificateAuthorityServiceClient Build()

Builds the resulting client.

Returns
Type Description
PublicCertificateAuthorityServiceClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskPublicCertificateAuthorityServiceClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides