Certificate Authority v1 API - Class CertificateAuthorityService.CertificateAuthorityServiceClient (3.3.0)

public class CertificateAuthorityService.CertificateAuthorityServiceClient : ClientBase<CertificateAuthorityService.CertificateAuthorityServiceClient>

Reference documentation and code samples for the Certificate Authority v1 API class CertificateAuthorityService.CertificateAuthorityServiceClient.

Client for CertificateAuthorityService

Inheritance

object > ClientBase > ClientBaseCertificateAuthorityServiceCertificateAuthorityServiceClient > CertificateAuthorityService.CertificateAuthorityServiceClient

Namespace

GoogleCloudGoogle.Cloud.SecurityGoogle.Cloud.Security.PrivateCAV1

Assembly

Google.Cloud.Security.PrivateCA.V1.dll

Constructors

CertificateAuthorityServiceClient()

protected CertificateAuthorityServiceClient()

Protected parameterless constructor to allow creation of test doubles.

CertificateAuthorityServiceClient(CallInvoker)

public CertificateAuthorityServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

CertificateAuthorityServiceClient(ChannelBase)

public CertificateAuthorityServiceClient(ChannelBase channel)

Creates a new client for CertificateAuthorityService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

CertificateAuthorityServiceClient(ClientBaseConfiguration)

protected CertificateAuthorityServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

ActivateCertificateAuthority(ActivateCertificateAuthorityRequest, CallOptions)

public virtual Operation ActivateCertificateAuthority(ActivateCertificateAuthorityRequest request, CallOptions options)

Activate a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] that is in state [AWAITING_USER_ACTIVATION][google.cloud.security.privateca.v1.CertificateAuthority.State.AWAITING_USER_ACTIVATION] and is of type [SUBORDINATE][google.cloud.security.privateca.v1.CertificateAuthority.Type.SUBORDINATE]. After the parent Certificate Authority signs a certificate signing request from [FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr], this method can complete the activation process.

Parameters
NameDescription
requestActivateCertificateAuthorityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ActivateCertificateAuthority(ActivateCertificateAuthorityRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ActivateCertificateAuthority(ActivateCertificateAuthorityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Activate a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] that is in state [AWAITING_USER_ACTIVATION][google.cloud.security.privateca.v1.CertificateAuthority.State.AWAITING_USER_ACTIVATION] and is of type [SUBORDINATE][google.cloud.security.privateca.v1.CertificateAuthority.Type.SUBORDINATE]. After the parent Certificate Authority signs a certificate signing request from [FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr], this method can complete the activation process.

Parameters
NameDescription
requestActivateCertificateAuthorityRequest

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
Operation

The response received from the server.

ActivateCertificateAuthorityAsync(ActivateCertificateAuthorityRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ActivateCertificateAuthorityAsync(ActivateCertificateAuthorityRequest request, CallOptions options)

Activate a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] that is in state [AWAITING_USER_ACTIVATION][google.cloud.security.privateca.v1.CertificateAuthority.State.AWAITING_USER_ACTIVATION] and is of type [SUBORDINATE][google.cloud.security.privateca.v1.CertificateAuthority.Type.SUBORDINATE]. After the parent Certificate Authority signs a certificate signing request from [FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr], this method can complete the activation process.

Parameters
NameDescription
requestActivateCertificateAuthorityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

ActivateCertificateAuthorityAsync(ActivateCertificateAuthorityRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ActivateCertificateAuthorityAsync(ActivateCertificateAuthorityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Activate a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] that is in state [AWAITING_USER_ACTIVATION][google.cloud.security.privateca.v1.CertificateAuthority.State.AWAITING_USER_ACTIVATION] and is of type [SUBORDINATE][google.cloud.security.privateca.v1.CertificateAuthority.Type.SUBORDINATE]. After the parent Certificate Authority signs a certificate signing request from [FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr], this method can complete the activation process.

Parameters
NameDescription
requestActivateCertificateAuthorityRequest

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
AsyncUnaryCallOperation

The call object.

CreateCaPool(CreateCaPoolRequest, CallOptions)

public virtual Operation CreateCaPool(CreateCaPoolRequest request, CallOptions options)

Create a [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestCreateCaPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateCaPool(CreateCaPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateCaPool(CreateCaPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestCreateCaPoolRequest

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
Operation

The response received from the server.

CreateCaPoolAsync(CreateCaPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateCaPoolAsync(CreateCaPoolRequest request, CallOptions options)

Create a [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestCreateCaPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateCaPoolAsync(CreateCaPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateCaPoolAsync(CreateCaPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestCreateCaPoolRequest

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
AsyncUnaryCallOperation

The call object.

CreateCertificate(CreateCertificateRequest, CallOptions)

public virtual Certificate CreateCertificate(CreateCertificateRequest request, CallOptions options)

Create a new [Certificate][google.cloud.security.privateca.v1.Certificate] in a given Project, Location from a particular [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestCreateCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Certificate

The response received from the server.

CreateCertificate(CreateCertificateRequest, Metadata, DateTime?, CancellationToken)

public virtual Certificate CreateCertificate(CreateCertificateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a new [Certificate][google.cloud.security.privateca.v1.Certificate] in a given Project, Location from a particular [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestCreateCertificateRequest

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
Certificate

The response received from the server.

CreateCertificateAsync(CreateCertificateRequest, CallOptions)

public virtual AsyncUnaryCall<Certificate> CreateCertificateAsync(CreateCertificateRequest request, CallOptions options)

Create a new [Certificate][google.cloud.security.privateca.v1.Certificate] in a given Project, Location from a particular [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestCreateCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallCertificate

The call object.

CreateCertificateAsync(CreateCertificateRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Certificate> CreateCertificateAsync(CreateCertificateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a new [Certificate][google.cloud.security.privateca.v1.Certificate] in a given Project, Location from a particular [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestCreateCertificateRequest

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
AsyncUnaryCallCertificate

The call object.

CreateCertificateAuthority(CreateCertificateAuthorityRequest, CallOptions)

public virtual Operation CreateCertificateAuthority(CreateCertificateAuthorityRequest request, CallOptions options)

Create a new [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in a given Project and Location.

Parameters
NameDescription
requestCreateCertificateAuthorityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateCertificateAuthority(CreateCertificateAuthorityRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateCertificateAuthority(CreateCertificateAuthorityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a new [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in a given Project and Location.

Parameters
NameDescription
requestCreateCertificateAuthorityRequest

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
Operation

The response received from the server.

CreateCertificateAuthorityAsync(CreateCertificateAuthorityRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateCertificateAuthorityAsync(CreateCertificateAuthorityRequest request, CallOptions options)

Create a new [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in a given Project and Location.

Parameters
NameDescription
requestCreateCertificateAuthorityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateCertificateAuthorityAsync(CreateCertificateAuthorityRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateCertificateAuthorityAsync(CreateCertificateAuthorityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a new [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in a given Project and Location.

Parameters
NameDescription
requestCreateCertificateAuthorityRequest

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
AsyncUnaryCallOperation

The call object.

CreateCertificateTemplate(CreateCertificateTemplateRequest, CallOptions)

public virtual Operation CreateCertificateTemplate(CreateCertificateTemplateRequest request, CallOptions options)

Create a new [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate] in a given Project and Location.

Parameters
NameDescription
requestCreateCertificateTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateCertificateTemplate(CreateCertificateTemplateRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateCertificateTemplate(CreateCertificateTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a new [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate] in a given Project and Location.

Parameters
NameDescription
requestCreateCertificateTemplateRequest

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
Operation

The response received from the server.

CreateCertificateTemplateAsync(CreateCertificateTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateCertificateTemplateAsync(CreateCertificateTemplateRequest request, CallOptions options)

Create a new [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate] in a given Project and Location.

Parameters
NameDescription
requestCreateCertificateTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateCertificateTemplateAsync(CreateCertificateTemplateRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateCertificateTemplateAsync(CreateCertificateTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a new [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate] in a given Project and Location.

Parameters
NameDescription
requestCreateCertificateTemplateRequest

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
AsyncUnaryCallOperation

The call object.

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
TypeDescription
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

DeleteCaPool(DeleteCaPoolRequest, CallOptions)

public virtual Operation DeleteCaPool(DeleteCaPoolRequest request, CallOptions options)

Delete a [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestDeleteCaPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteCaPool(DeleteCaPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteCaPool(DeleteCaPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete a [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestDeleteCaPoolRequest

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
Operation

The response received from the server.

DeleteCaPoolAsync(DeleteCaPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteCaPoolAsync(DeleteCaPoolRequest request, CallOptions options)

Delete a [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestDeleteCaPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteCaPoolAsync(DeleteCaPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteCaPoolAsync(DeleteCaPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete a [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestDeleteCaPoolRequest

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
AsyncUnaryCallOperation

The call object.

DeleteCertificateAuthority(DeleteCertificateAuthorityRequest, CallOptions)

public virtual Operation DeleteCertificateAuthority(DeleteCertificateAuthorityRequest request, CallOptions options)

Delete a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestDeleteCertificateAuthorityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteCertificateAuthority(DeleteCertificateAuthorityRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteCertificateAuthority(DeleteCertificateAuthorityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestDeleteCertificateAuthorityRequest

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
Operation

The response received from the server.

DeleteCertificateAuthorityAsync(DeleteCertificateAuthorityRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteCertificateAuthorityAsync(DeleteCertificateAuthorityRequest request, CallOptions options)

Delete a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestDeleteCertificateAuthorityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteCertificateAuthorityAsync(DeleteCertificateAuthorityRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteCertificateAuthorityAsync(DeleteCertificateAuthorityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestDeleteCertificateAuthorityRequest

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
AsyncUnaryCallOperation

The call object.

DeleteCertificateTemplate(DeleteCertificateTemplateRequest, CallOptions)

public virtual Operation DeleteCertificateTemplate(DeleteCertificateTemplateRequest request, CallOptions options)

DeleteCertificateTemplate deletes a [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].

Parameters
NameDescription
requestDeleteCertificateTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteCertificateTemplate(DeleteCertificateTemplateRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteCertificateTemplate(DeleteCertificateTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

DeleteCertificateTemplate deletes a [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].

Parameters
NameDescription
requestDeleteCertificateTemplateRequest

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
Operation

The response received from the server.

DeleteCertificateTemplateAsync(DeleteCertificateTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteCertificateTemplateAsync(DeleteCertificateTemplateRequest request, CallOptions options)

DeleteCertificateTemplate deletes a [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].

Parameters
NameDescription
requestDeleteCertificateTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteCertificateTemplateAsync(DeleteCertificateTemplateRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteCertificateTemplateAsync(DeleteCertificateTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

DeleteCertificateTemplate deletes a [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].

Parameters
NameDescription
requestDeleteCertificateTemplateRequest

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
AsyncUnaryCallOperation

The call object.

DisableCertificateAuthority(DisableCertificateAuthorityRequest, CallOptions)

public virtual Operation DisableCertificateAuthority(DisableCertificateAuthorityRequest request, CallOptions options)

Disable a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestDisableCertificateAuthorityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DisableCertificateAuthority(DisableCertificateAuthorityRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DisableCertificateAuthority(DisableCertificateAuthorityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Disable a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestDisableCertificateAuthorityRequest

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
Operation

The response received from the server.

DisableCertificateAuthorityAsync(DisableCertificateAuthorityRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DisableCertificateAuthorityAsync(DisableCertificateAuthorityRequest request, CallOptions options)

Disable a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestDisableCertificateAuthorityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DisableCertificateAuthorityAsync(DisableCertificateAuthorityRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DisableCertificateAuthorityAsync(DisableCertificateAuthorityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Disable a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestDisableCertificateAuthorityRequest

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
AsyncUnaryCallOperation

The call object.

EnableCertificateAuthority(EnableCertificateAuthorityRequest, CallOptions)

public virtual Operation EnableCertificateAuthority(EnableCertificateAuthorityRequest request, CallOptions options)

Enable a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestEnableCertificateAuthorityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

EnableCertificateAuthority(EnableCertificateAuthorityRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation EnableCertificateAuthority(EnableCertificateAuthorityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Enable a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestEnableCertificateAuthorityRequest

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
Operation

The response received from the server.

EnableCertificateAuthorityAsync(EnableCertificateAuthorityRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> EnableCertificateAuthorityAsync(EnableCertificateAuthorityRequest request, CallOptions options)

Enable a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestEnableCertificateAuthorityRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

EnableCertificateAuthorityAsync(EnableCertificateAuthorityRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> EnableCertificateAuthorityAsync(EnableCertificateAuthorityRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Enable a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
NameDescription
requestEnableCertificateAuthorityRequest

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
AsyncUnaryCallOperation

The call object.

FetchCaCerts(FetchCaCertsRequest, CallOptions)

public virtual FetchCaCertsResponse FetchCaCerts(FetchCaCertsRequest request, CallOptions options)

FetchCaCerts returns the current trust anchor for the [CaPool][google.cloud.security.privateca.v1.CaPool]. This will include CA certificate chains for all ACTIVE [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] resources in the [CaPool][google.cloud.security.privateca.v1.CaPool].

Parameters
NameDescription
requestFetchCaCertsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FetchCaCertsResponse

The response received from the server.