Public Certificate Authority v1 API - Class PublicCertificateAuthorityService.PublicCertificateAuthorityServiceClient (1.0.0-beta01)

public class PublicCertificateAuthorityService.PublicCertificateAuthorityServiceClient : ClientBase<PublicCertificateAuthorityService.PublicCertificateAuthorityServiceClient>

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

Client for PublicCertificateAuthorityService

Inheritance

object > ClientBase > ClientBasePublicCertificateAuthorityServicePublicCertificateAuthorityServiceClient > PublicCertificateAuthorityService.PublicCertificateAuthorityServiceClient

Namespace

Google.Cloud.Security.PublicCA.V1

Assembly

Google.Cloud.Security.PublicCA.V1.dll

Constructors

PublicCertificateAuthorityServiceClient()

protected PublicCertificateAuthorityServiceClient()

Protected parameterless constructor to allow creation of test doubles.

PublicCertificateAuthorityServiceClient(CallInvoker)

public PublicCertificateAuthorityServiceClient(CallInvoker callInvoker)

Creates a new client for PublicCertificateAuthorityService that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

PublicCertificateAuthorityServiceClient(ChannelBase)

public PublicCertificateAuthorityServiceClient(ChannelBase channel)

Creates a new client for PublicCertificateAuthorityService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

PublicCertificateAuthorityServiceClient(ClientBaseConfiguration)

protected PublicCertificateAuthorityServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateExternalAccountKey(CreateExternalAccountKeyRequest, CallOptions)

public virtual ExternalAccountKey CreateExternalAccountKey(CreateExternalAccountKeyRequest request, CallOptions options)

Creates a new [ExternalAccountKey][google.cloud.security.publicca.v1.ExternalAccountKey] bound to the project.

Parameters
Name Description
request CreateExternalAccountKeyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ExternalAccountKey

The response received from the server.

CreateExternalAccountKey(CreateExternalAccountKeyRequest, Metadata, DateTime?, CancellationToken)

public virtual ExternalAccountKey CreateExternalAccountKey(CreateExternalAccountKeyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new [ExternalAccountKey][google.cloud.security.publicca.v1.ExternalAccountKey] bound to the project.

Parameters
Name Description
request CreateExternalAccountKeyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ExternalAccountKey

The response received from the server.

CreateExternalAccountKeyAsync(CreateExternalAccountKeyRequest, CallOptions)

public virtual AsyncUnaryCall<ExternalAccountKey> CreateExternalAccountKeyAsync(CreateExternalAccountKeyRequest request, CallOptions options)

Creates a new [ExternalAccountKey][google.cloud.security.publicca.v1.ExternalAccountKey] bound to the project.

Parameters
Name Description
request CreateExternalAccountKeyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallExternalAccountKey

The call object.

CreateExternalAccountKeyAsync(CreateExternalAccountKeyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ExternalAccountKey> CreateExternalAccountKeyAsync(CreateExternalAccountKeyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new [ExternalAccountKey][google.cloud.security.publicca.v1.ExternalAccountKey] bound to the project.

Parameters
Name Description
request CreateExternalAccountKeyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallExternalAccountKey

The call object.

NewInstance(ClientBaseConfiguration)

protected override PublicCertificateAuthorityService.PublicCertificateAuthorityServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
PublicCertificateAuthorityServicePublicCertificateAuthorityServiceClient
Overrides