Show / Hide Table of Contents

Class CertificateAuthorityServiceClientBuilder

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

Inheritance
System.Object
ClientBuilderBase<CertificateAuthorityServiceClient>
CertificateAuthorityServiceClientBuilder
Inherited Members
ClientBuilderBase<CertificateAuthorityServiceClient>.CopyCommonSettings<TOther>(ClientBuilderBase<TOther>)
ClientBuilderBase<CertificateAuthorityServiceClient>.Validate()
ClientBuilderBase<CertificateAuthorityServiceClient>.GetEmulatorEnvironment(IEnumerable<String>, IEnumerable<String>, Func<String, String>)
ClientBuilderBase<CertificateAuthorityServiceClient>.ValidateAtMostOneNotNull(String, Object[])
ClientBuilderBase<CertificateAuthorityServiceClient>.ValidateOptionExcludesOthers(String, Object, Object[])
ClientBuilderBase<CertificateAuthorityServiceClient>.CreateCallInvoker()
ClientBuilderBase<CertificateAuthorityServiceClient>.CreateCallInvokerAsync(CancellationToken)
ClientBuilderBase<CertificateAuthorityServiceClient>.GetChannelCredentials()
ClientBuilderBase<CertificateAuthorityServiceClient>.GetChannelCredentialsAsync(CancellationToken)
ClientBuilderBase<CertificateAuthorityServiceClient>.GetChannelOptions()
ClientBuilderBase<CertificateAuthorityServiceClient>.Endpoint
ClientBuilderBase<CertificateAuthorityServiceClient>.Scopes
ClientBuilderBase<CertificateAuthorityServiceClient>.ChannelCredentials
ClientBuilderBase<CertificateAuthorityServiceClient>.CredentialsPath
ClientBuilderBase<CertificateAuthorityServiceClient>.JsonCredentials
ClientBuilderBase<CertificateAuthorityServiceClient>.TokenAccessMethod
ClientBuilderBase<CertificateAuthorityServiceClient>.CallInvoker
ClientBuilderBase<CertificateAuthorityServiceClient>.UserAgent
ClientBuilderBase<CertificateAuthorityServiceClient>.GrpcAdapter
ClientBuilderBase<CertificateAuthorityServiceClient>.EmulatorDetection
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Security.PrivateCA.V1Beta1.CertificateAuthorityServiceClient>.QuotaProject
ClientBuilderBase<CertificateAuthorityServiceClient>.CanUseChannelPool
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Security.PrivateCA.V1Beta1
Assembly: Google.Cloud.Security.PrivateCA.V1Beta1.dll
Syntax
public sealed class CertificateAuthorityServiceClientBuilder : ClientBuilderBase<CertificateAuthorityServiceClient>

Properties

DefaultGrpcAdapter

Returns the default GrpcAdapterto use if not otherwise specified.

Declaration
protected override GrpcAdapter DefaultGrpcAdapter { get; }
Property Value
Type Description
GrpcAdapter
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Security.PrivateCA.V1Beta1.CertificateAuthorityServiceClient>.DefaultGrpcAdapter

Settings

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

Declaration
public CertificateAuthorityServiceSettings Settings { get; set; }
Property Value
Type Description
CertificateAuthorityServiceSettings

Methods

Build()

Builds the resulting client.

Declaration
public override CertificateAuthorityServiceClient Build()
Returns
Type Description
CertificateAuthorityServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Security.PrivateCA.V1Beta1.CertificateAuthorityServiceClient>.Build()

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

Declaration
public override Task<CertificateAuthorityServiceClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<CertificateAuthorityServiceClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Security.PrivateCA.V1Beta1.CertificateAuthorityServiceClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

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

Declaration
protected override ChannelPool GetChannelPool()
Returns
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Security.PrivateCA.V1Beta1.CertificateAuthorityServiceClient>.GetChannelPool()

GetDefaultEndpoint()

Returns the endpoint for this builder type, used if no endpoint is otherwise specified.

Declaration
protected override string GetDefaultEndpoint()
Returns
Type Description
System.String
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Security.PrivateCA.V1Beta1.CertificateAuthorityServiceClient>.GetDefaultEndpoint()

GetDefaultScopes()

Returns the default scopes for this builder type, used if no scopes are otherwise specified.

Declaration
protected override IReadOnlyList<string> GetDefaultScopes()
Returns
Type Description
System.Collections.Generic.IReadOnlyList<System.String>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Security.PrivateCA.V1Beta1.CertificateAuthorityServiceClient>.GetDefaultScopes()
Back to top