Public Certificate Authority v1beta1 API - Class PublicCertificateAuthorityService.PublicCertificateAuthorityServiceClient (1.0.0-beta04)

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

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

Client for PublicCertificateAuthorityService

Inheritance

object > ClientBase > ClientBasePublicCertificateAuthorityServicePublicCertificateAuthorityServiceClient > PublicCertificateAuthorityService.PublicCertificateAuthorityServiceClient

Namespace

Google.Cloud.Security.PublicCA.V1Beta1

Assembly

Google.Cloud.Security.PublicCA.V1Beta1.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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

PublicCertificateAuthorityServiceClient(ChannelBase)

public PublicCertificateAuthorityServiceClient(ChannelBase channel)

Creates a new client for PublicCertificateAuthorityService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

PublicCertificateAuthorityServiceClient(ClientBaseConfiguration)

protected PublicCertificateAuthorityServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateExternalAccountKey(CreateExternalAccountKeyRequest, CallOptions)

public virtual ExternalAccountKey CreateExternalAccountKey(CreateExternalAccountKeyRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateExternalAccountKeyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.v1beta1.ExternalAccountKey] bound to the project.

Parameters
NameDescription
requestCreateExternalAccountKeyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.v1beta1.ExternalAccountKey] bound to the project.

Parameters
NameDescription
requestCreateExternalAccountKeyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.v1beta1.ExternalAccountKey] bound to the project.

Parameters
NameDescription
requestCreateExternalAccountKeyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallExternalAccountKey

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
PublicCertificateAuthorityServicePublicCertificateAuthorityServiceClient
Overrides