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 > PublicCertificateAuthorityServiceClientBuilderNamespace
Google.Cloud.Security.PublicCA.V1Assembly
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 |
BuildAsync(CancellationToken)
public override Task<PublicCertificateAuthorityServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken |
CancellationToken |
Returns | |
---|---|
Type | Description |
TaskPublicCertificateAuthorityServiceClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |