Certificate Authority v1 API - Class CertificateAuthorityServiceClientImpl (3.7.0)

public sealed class CertificateAuthorityServiceClientImpl : CertificateAuthorityServiceClient

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

CertificateAuthorityService client wrapper implementation, for convenient use.

Inheritance

object > CertificateAuthorityServiceClient > CertificateAuthorityServiceClientImpl

Namespace

Google.Cloud.Security.PrivateCA.V1

Assembly

Google.Cloud.Security.PrivateCA.V1.dll

Remarks

[Certificate Authority Service][google.cloud.security.privateca.v1.CertificateAuthorityService] manages private certificate authorities and issued certificates.

Constructors

CertificateAuthorityServiceClientImpl(CertificateAuthorityServiceClient, CertificateAuthorityServiceSettings, ILogger)

public CertificateAuthorityServiceClientImpl(CertificateAuthorityService.CertificateAuthorityServiceClient grpcClient, CertificateAuthorityServiceSettings settings, ILogger logger)

Constructs a client wrapper for the CertificateAuthorityService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient CertificateAuthorityServiceCertificateAuthorityServiceClient

The underlying gRPC client.

settings CertificateAuthorityServiceSettings

The base CertificateAuthorityServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

ActivateCertificateAuthorityOperationsClient

public override OperationsClient ActivateCertificateAuthorityOperationsClient { get; }

The long-running operations client for ActivateCertificateAuthority.

Property Value
Type Description
OperationsClient
Overrides

CreateCaPoolOperationsClient

public override OperationsClient CreateCaPoolOperationsClient { get; }

The long-running operations client for CreateCaPool.

Property Value
Type Description
OperationsClient
Overrides

CreateCertificateAuthorityOperationsClient

public override OperationsClient CreateCertificateAuthorityOperationsClient { get; }

The long-running operations client for CreateCertificateAuthority.

Property Value
Type Description
OperationsClient
Overrides

CreateCertificateTemplateOperationsClient

public override OperationsClient CreateCertificateTemplateOperationsClient { get; }

The long-running operations client for CreateCertificateTemplate.

Property Value
Type Description
OperationsClient
Overrides

DeleteCaPoolOperationsClient

public override OperationsClient DeleteCaPoolOperationsClient { get; }

The long-running operations client for DeleteCaPool.

Property Value
Type Description
OperationsClient
Overrides

DeleteCertificateAuthorityOperationsClient

public override OperationsClient DeleteCertificateAuthorityOperationsClient { get; }

The long-running operations client for DeleteCertificateAuthority.

Property Value
Type Description
OperationsClient
Overrides

DeleteCertificateTemplateOperationsClient

public override OperationsClient DeleteCertificateTemplateOperationsClient { get; }

The long-running operations client for DeleteCertificateTemplate.

Property Value
Type Description
OperationsClient
Overrides

DisableCertificateAuthorityOperationsClient

public override OperationsClient DisableCertificateAuthorityOperationsClient { get; }

The long-running operations client for DisableCertificateAuthority.

Property Value
Type Description
OperationsClient
Overrides

EnableCertificateAuthorityOperationsClient

public override OperationsClient EnableCertificateAuthorityOperationsClient { get; }

The long-running operations client for EnableCertificateAuthority.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override CertificateAuthorityService.CertificateAuthorityServiceClient GrpcClient { get; }

The underlying gRPC CertificateAuthorityService client

Property Value
Type Description
CertificateAuthorityServiceCertificateAuthorityServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UndeleteCertificateAuthorityOperationsClient

public override OperationsClient UndeleteCertificateAuthorityOperationsClient { get; }

The long-running operations client for UndeleteCertificateAuthority.

Property Value
Type Description
OperationsClient
Overrides

UpdateCaPoolOperationsClient

public override OperationsClient UpdateCaPoolOperationsClient { get; }

The long-running operations client for UpdateCaPool.

Property Value
Type Description
OperationsClient
Overrides

UpdateCertificateAuthorityOperationsClient

public override OperationsClient UpdateCertificateAuthorityOperationsClient { get; }

The long-running operations client for UpdateCertificateAuthority.

Property Value
Type Description
OperationsClient
Overrides

UpdateCertificateRevocationListOperationsClient

public override OperationsClient UpdateCertificateRevocationListOperationsClient { get; }

The long-running operations client for UpdateCertificateRevocationList.

Property Value
Type Description
OperationsClient
Overrides

UpdateCertificateTemplateOperationsClient

public override OperationsClient UpdateCertificateTemplateOperationsClient { get; }

The long-running operations client for UpdateCertificateTemplate.

Property Value
Type Description
OperationsClient
Overrides

Methods

ActivateCertificateAuthority(ActivateCertificateAuthorityRequest, CallSettings)

public override Operation<CertificateAuthority, OperationMetadata> ActivateCertificateAuthority(ActivateCertificateAuthorityRequest request, CallSettings callSettings = null)

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
Name Description
request ActivateCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCertificateAuthorityOperationMetadata

The RPC response.

Overrides

ActivateCertificateAuthorityAsync(ActivateCertificateAuthorityRequest, CallSettings)

public override Task<Operation<CertificateAuthority, OperationMetadata>> ActivateCertificateAuthorityAsync(ActivateCertificateAuthorityRequest request, CallSettings callSettings = null)

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
Name Description
request ActivateCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCertificateAuthorityOperationMetadata

A Task containing the RPC response.

Overrides

CreateCaPool(CreateCaPoolRequest, CallSettings)

public override Operation<CaPool, OperationMetadata> CreateCaPool(CreateCaPoolRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateCaPoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCaPoolOperationMetadata

The RPC response.

Overrides

CreateCaPoolAsync(CreateCaPoolRequest, CallSettings)

public override Task<Operation<CaPool, OperationMetadata>> CreateCaPoolAsync(CreateCaPoolRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateCaPoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCaPoolOperationMetadata

A Task containing the RPC response.

Overrides

CreateCertificate(CreateCertificateRequest, CallSettings)

public override Certificate CreateCertificate(CreateCertificateRequest request, CallSettings callSettings = null)

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
Name Description
request CreateCertificateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Certificate

The RPC response.

Overrides

CreateCertificateAsync(CreateCertificateRequest, CallSettings)

public override Task<Certificate> CreateCertificateAsync(CreateCertificateRequest request, CallSettings callSettings = null)

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
Name Description
request CreateCertificateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCertificate

A Task containing the RPC response.

Overrides

CreateCertificateAuthority(CreateCertificateAuthorityRequest, CallSettings)

public override Operation<CertificateAuthority, OperationMetadata> CreateCertificateAuthority(CreateCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCertificateAuthorityOperationMetadata

The RPC response.

Overrides

CreateCertificateAuthorityAsync(CreateCertificateAuthorityRequest, CallSettings)

public override Task<Operation<CertificateAuthority, OperationMetadata>> CreateCertificateAuthorityAsync(CreateCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCertificateAuthorityOperationMetadata

A Task containing the RPC response.

Overrides

CreateCertificateTemplate(CreateCertificateTemplateRequest, CallSettings)

public override Operation<CertificateTemplate, OperationMetadata> CreateCertificateTemplate(CreateCertificateTemplateRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateCertificateTemplateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCertificateTemplateOperationMetadata

The RPC response.

Overrides

CreateCertificateTemplateAsync(CreateCertificateTemplateRequest, CallSettings)

public override Task<Operation<CertificateTemplate, OperationMetadata>> CreateCertificateTemplateAsync(CreateCertificateTemplateRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateCertificateTemplateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCertificateTemplateOperationMetadata

A Task containing the RPC response.

Overrides

DeleteCaPool(DeleteCaPoolRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteCaPool(DeleteCaPoolRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request DeleteCaPoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteCaPoolAsync(DeleteCaPoolRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteCaPoolAsync(DeleteCaPoolRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request DeleteCaPoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteCertificateAuthority(DeleteCertificateAuthorityRequest, CallSettings)

public override Operation<CertificateAuthority, OperationMetadata> DeleteCertificateAuthority(DeleteCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request DeleteCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCertificateAuthorityOperationMetadata

The RPC response.

Overrides

DeleteCertificateAuthorityAsync(DeleteCertificateAuthorityRequest, CallSettings)

public override Task<Operation<CertificateAuthority, OperationMetadata>> DeleteCertificateAuthorityAsync(DeleteCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request DeleteCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCertificateAuthorityOperationMetadata

A Task containing the RPC response.

Overrides

DeleteCertificateTemplate(DeleteCertificateTemplateRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteCertificateTemplate(DeleteCertificateTemplateRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request DeleteCertificateTemplateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteCertificateTemplateAsync(DeleteCertificateTemplateRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteCertificateTemplateAsync(DeleteCertificateTemplateRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request DeleteCertificateTemplateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DisableCertificateAuthority(DisableCertificateAuthorityRequest, CallSettings)

public override Operation<CertificateAuthority, OperationMetadata> DisableCertificateAuthority(DisableCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request DisableCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCertificateAuthorityOperationMetadata

The RPC response.

Overrides

DisableCertificateAuthorityAsync(DisableCertificateAuthorityRequest, CallSettings)

public override Task<Operation<CertificateAuthority, OperationMetadata>> DisableCertificateAuthorityAsync(DisableCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request DisableCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCertificateAuthorityOperationMetadata

A Task containing the RPC response.

Overrides

EnableCertificateAuthority(EnableCertificateAuthorityRequest, CallSettings)

public override Operation<CertificateAuthority, OperationMetadata> EnableCertificateAuthority(EnableCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request EnableCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCertificateAuthorityOperationMetadata

The RPC response.

Overrides

EnableCertificateAuthorityAsync(EnableCertificateAuthorityRequest, CallSettings)

public override Task<Operation<CertificateAuthority, OperationMetadata>> EnableCertificateAuthorityAsync(EnableCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request EnableCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCertificateAuthorityOperationMetadata

A Task containing the RPC response.

Overrides

FetchCaCerts(FetchCaCertsRequest, CallSettings)

public override FetchCaCertsResponse FetchCaCerts(FetchCaCertsRequest request, CallSettings callSettings = null)

FetchCaCerts returns the current trust anchor for the [CaPool][google.cloud.security.privateca.v1.CaPool]. This will include CA certificate chains for all certificate authorities in the ENABLED, DISABLED, or STAGED states.

Parameters
Name Description
request FetchCaCertsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FetchCaCertsResponse

The RPC response.

Overrides

FetchCaCertsAsync(FetchCaCertsRequest, CallSettings)

public override Task<FetchCaCertsResponse> FetchCaCertsAsync(FetchCaCertsRequest request, CallSettings callSettings = null)

FetchCaCerts returns the current trust anchor for the [CaPool][google.cloud.security.privateca.v1.CaPool]. This will include CA certificate chains for all certificate authorities in the ENABLED, DISABLED, or STAGED states.

Parameters
Name Description
request FetchCaCertsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFetchCaCertsResponse

A Task containing the RPC response.

Overrides

FetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest, CallSettings)

public override FetchCertificateAuthorityCsrResponse FetchCertificateAuthorityCsr(FetchCertificateAuthorityCsrRequest request, CallSettings callSettings = null)

Fetch a certificate signing request (CSR) from 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]. The CSR must then be signed by the desired parent Certificate Authority, which could be another [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] resource, or could be an on-prem certificate authority. See also [ActivateCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority].

Parameters
Name Description
request FetchCertificateAuthorityCsrRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FetchCertificateAuthorityCsrResponse

The RPC response.

Overrides

FetchCertificateAuthorityCsrAsync(FetchCertificateAuthorityCsrRequest, CallSettings)

public override Task<FetchCertificateAuthorityCsrResponse> FetchCertificateAuthorityCsrAsync(FetchCertificateAuthorityCsrRequest request, CallSettings callSettings = null)

Fetch a certificate signing request (CSR) from 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]. The CSR must then be signed by the desired parent Certificate Authority, which could be another [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] resource, or could be an on-prem certificate authority. See also [ActivateCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority].

Parameters
Name Description
request FetchCertificateAuthorityCsrRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFetchCertificateAuthorityCsrResponse

A Task containing the RPC response.

Overrides

GetCaPool(GetCaPoolRequest, CallSettings)

public override CaPool GetCaPool(GetCaPoolRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request GetCaPoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CaPool

The RPC response.

Overrides

GetCaPoolAsync(GetCaPoolRequest, CallSettings)

public override Task<CaPool> GetCaPoolAsync(GetCaPoolRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request GetCaPoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCaPool

A Task containing the RPC response.

Overrides

GetCertificate(GetCertificateRequest, CallSettings)

public override Certificate GetCertificate(GetCertificateRequest request, CallSettings callSettings = null)

Returns a [Certificate][google.cloud.security.privateca.v1.Certificate].

Parameters
Name Description
request GetCertificateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Certificate

The RPC response.

Overrides

GetCertificateAsync(GetCertificateRequest, CallSettings)

public override Task<Certificate> GetCertificateAsync(GetCertificateRequest request, CallSettings callSettings = null)

Returns a [Certificate][google.cloud.security.privateca.v1.Certificate].

Parameters
Name Description
request GetCertificateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCertificate

A Task containing the RPC response.

Overrides

GetCertificateAuthority(GetCertificateAuthorityRequest, CallSettings)

public override CertificateAuthority GetCertificateAuthority(GetCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request GetCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CertificateAuthority

The RPC response.

Overrides

GetCertificateAuthorityAsync(GetCertificateAuthorityRequest, CallSettings)

public override Task<CertificateAuthority> GetCertificateAuthorityAsync(GetCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request GetCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCertificateAuthority

A Task containing the RPC response.

Overrides

GetCertificateRevocationList(GetCertificateRevocationListRequest, CallSettings)

public override CertificateRevocationList GetCertificateRevocationList(GetCertificateRevocationListRequest request, CallSettings callSettings = null)

Returns a [CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList].

Parameters
Name Description
request GetCertificateRevocationListRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CertificateRevocationList

The RPC response.

Overrides

GetCertificateRevocationListAsync(GetCertificateRevocationListRequest, CallSettings)

public override Task<CertificateRevocationList> GetCertificateRevocationListAsync(GetCertificateRevocationListRequest request, CallSettings callSettings = null)

Returns a [CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList].

Parameters
Name Description
request GetCertificateRevocationListRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCertificateRevocationList

A Task containing the RPC response.

Overrides

GetCertificateTemplate(GetCertificateTemplateRequest, CallSettings)

public override CertificateTemplate GetCertificateTemplate(GetCertificateTemplateRequest request, CallSettings callSettings = null)

Returns a [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].

Parameters
Name Description
request GetCertificateTemplateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CertificateTemplate

The RPC response.

Overrides

GetCertificateTemplateAsync(GetCertificateTemplateRequest, CallSettings)

public override Task<CertificateTemplate> GetCertificateTemplateAsync(GetCertificateTemplateRequest request, CallSettings callSettings = null)

Returns a [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].

Parameters
Name Description
request GetCertificateTemplateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCertificateTemplate

A Task containing the RPC response.

Overrides

ListCaPools(ListCaPoolsRequest, CallSettings)

public override PagedEnumerable<ListCaPoolsResponse, CaPool> ListCaPools(ListCaPoolsRequest request, CallSettings callSettings = null)

Lists [CaPools][google.cloud.security.privateca.v1.CaPool].

Parameters
Name Description
request ListCaPoolsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCaPoolsResponseCaPool

A pageable sequence of CaPool resources.

Overrides

ListCaPoolsAsync(ListCaPoolsRequest, CallSettings)

public override PagedAsyncEnumerable<ListCaPoolsResponse, CaPool> ListCaPoolsAsync(ListCaPoolsRequest request, CallSettings callSettings = null)

Lists [CaPools][google.cloud.security.privateca.v1.CaPool].

Parameters
Name Description
request ListCaPoolsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCaPoolsResponseCaPool

A pageable asynchronous sequence of CaPool resources.

Overrides

ListCertificateAuthorities(ListCertificateAuthoritiesRequest, CallSettings)

public override PagedEnumerable<ListCertificateAuthoritiesResponse, CertificateAuthority> ListCertificateAuthorities(ListCertificateAuthoritiesRequest request, CallSettings callSettings = null)

Lists [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
Name Description
request ListCertificateAuthoritiesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCertificateAuthoritiesResponseCertificateAuthority

A pageable sequence of CertificateAuthority resources.

Overrides

ListCertificateAuthoritiesAsync(ListCertificateAuthoritiesRequest, CallSettings)

public override PagedAsyncEnumerable<ListCertificateAuthoritiesResponse, CertificateAuthority> ListCertificateAuthoritiesAsync(ListCertificateAuthoritiesRequest request, CallSettings callSettings = null)

Lists [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].

Parameters
Name Description
request ListCertificateAuthoritiesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCertificateAuthoritiesResponseCertificateAuthority

A pageable asynchronous sequence of CertificateAuthority resources.

Overrides

ListCertificateRevocationLists(ListCertificateRevocationListsRequest, CallSettings)

public override PagedEnumerable<ListCertificateRevocationListsResponse, CertificateRevocationList> ListCertificateRevocationLists(ListCertificateRevocationListsRequest request, CallSettings callSettings = null)

Lists [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].

Parameters
Name Description
request ListCertificateRevocationListsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCertificateRevocationListsResponseCertificateRevocationList

A pageable sequence of CertificateRevocationList resources.

Overrides

ListCertificateRevocationListsAsync(ListCertificateRevocationListsRequest, CallSettings)

public override PagedAsyncEnumerable<ListCertificateRevocationListsResponse, CertificateRevocationList> ListCertificateRevocationListsAsync(ListCertificateRevocationListsRequest request, CallSettings callSettings = null)

Lists [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].

Parameters
Name Description
request ListCertificateRevocationListsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCertificateRevocationListsResponseCertificateRevocationList

A pageable asynchronous sequence of CertificateRevocationList resources.

Overrides

ListCertificateTemplates(ListCertificateTemplatesRequest, CallSettings)

public override PagedEnumerable<ListCertificateTemplatesResponse, CertificateTemplate> ListCertificateTemplates(ListCertificateTemplatesRequest request, CallSettings callSettings = null)

Lists [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].

Parameters
Name Description
request ListCertificateTemplatesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCertificateTemplatesResponseCertificateTemplate

A pageable sequence of CertificateTemplate resources.

Overrides

ListCertificateTemplatesAsync(ListCertificateTemplatesRequest, CallSettings)

public override PagedAsyncEnumerable<ListCertificateTemplatesResponse, CertificateTemplate> ListCertificateTemplatesAsync(ListCertificateTemplatesRequest request, CallSettings callSettings = null)

Lists [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].

Parameters
Name Description
request ListCertificateTemplatesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCertificateTemplatesResponseCertificateTemplate

A pageable asynchronous sequence of CertificateTemplate resources.

Overrides

ListCertificates(ListCertificatesRequest, CallSettings)

public override PagedEnumerable<ListCertificatesResponse, Certificate> ListCertificates(ListCertificatesRequest request, CallSettings callSettings = null)

Lists [Certificates][google.cloud.security.privateca.v1.Certificate].

Parameters
Name Description
request ListCertificatesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCertificatesResponseCertificate

A pageable sequence of Certificate resources.

Overrides

ListCertificatesAsync(ListCertificatesRequest, CallSettings)

public override PagedAsyncEnumerable<ListCertificatesResponse, Certificate> ListCertificatesAsync(ListCertificatesRequest request, CallSettings callSettings = null)

Lists [Certificates][google.cloud.security.privateca.v1.Certificate].

Parameters
Name Description
request ListCertificatesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCertificatesResponseCertificate

A pageable asynchronous sequence of Certificate resources.

Overrides

RevokeCertificate(RevokeCertificateRequest, CallSettings)

public override Certificate RevokeCertificate(RevokeCertificateRequest request, CallSettings callSettings = null)

Revoke a [Certificate][google.cloud.security.privateca.v1.Certificate].

Parameters
Name Description
request RevokeCertificateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Certificate

The RPC response.

Overrides

RevokeCertificateAsync(RevokeCertificateRequest, CallSettings)

public override Task<Certificate> RevokeCertificateAsync(RevokeCertificateRequest request, CallSettings callSettings = null)

Revoke a [Certificate][google.cloud.security.privateca.v1.Certificate].

Parameters
Name Description
request RevokeCertificateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCertificate

A Task containing the RPC response.

Overrides

UndeleteCertificateAuthority(UndeleteCertificateAuthorityRequest, CallSettings)

public override Operation<CertificateAuthority, OperationMetadata> UndeleteCertificateAuthority(UndeleteCertificateAuthorityRequest request, CallSettings callSettings = null)

Undelete a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] that has been deleted.

Parameters
Name Description
request UndeleteCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCertificateAuthorityOperationMetadata

The RPC response.

Overrides

UndeleteCertificateAuthorityAsync(UndeleteCertificateAuthorityRequest, CallSettings)

public override Task<Operation<CertificateAuthority, OperationMetadata>> UndeleteCertificateAuthorityAsync(UndeleteCertificateAuthorityRequest request, CallSettings callSettings = null)

Undelete a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] that has been deleted.

Parameters
Name Description
request UndeleteCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCertificateAuthorityOperationMetadata

A Task containing the RPC response.

Overrides

UpdateCaPool(UpdateCaPoolRequest, CallSettings)

public override Operation<CaPool, OperationMetadata> UpdateCaPool(UpdateCaPoolRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateCaPoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCaPoolOperationMetadata

The RPC response.

Overrides

UpdateCaPoolAsync(UpdateCaPoolRequest, CallSettings)

public override Task<Operation<CaPool, OperationMetadata>> UpdateCaPoolAsync(UpdateCaPoolRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateCaPoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCaPoolOperationMetadata

A Task containing the RPC response.

Overrides

UpdateCertificate(UpdateCertificateRequest, CallSettings)

public override Certificate UpdateCertificate(UpdateCertificateRequest request, CallSettings callSettings = null)

Update a [Certificate][google.cloud.security.privateca.v1.Certificate]. Currently, the only field you can update is the [labels][google.cloud.security.privateca.v1.Certificate.labels] field.

Parameters
Name Description
request UpdateCertificateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Certificate

The RPC response.

Overrides

UpdateCertificateAsync(UpdateCertificateRequest, CallSettings)

public override Task<Certificate> UpdateCertificateAsync(UpdateCertificateRequest request, CallSettings callSettings = null)

Update a [Certificate][google.cloud.security.privateca.v1.Certificate]. Currently, the only field you can update is the [labels][google.cloud.security.privateca.v1.Certificate.labels] field.

Parameters
Name Description
request UpdateCertificateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCertificate

A Task containing the RPC response.

Overrides

UpdateCertificateAuthority(UpdateCertificateAuthorityRequest, CallSettings)

public override Operation<CertificateAuthority, OperationMetadata> UpdateCertificateAuthority(UpdateCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCertificateAuthorityOperationMetadata

The RPC response.

Overrides

UpdateCertificateAuthorityAsync(UpdateCertificateAuthorityRequest, CallSettings)

public override Task<Operation<CertificateAuthority, OperationMetadata>> UpdateCertificateAuthorityAsync(UpdateCertificateAuthorityRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateCertificateAuthorityRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCertificateAuthorityOperationMetadata

A Task containing the RPC response.

Overrides

UpdateCertificateRevocationList(UpdateCertificateRevocationListRequest, CallSettings)

public override Operation<CertificateRevocationList, OperationMetadata> UpdateCertificateRevocationList(UpdateCertificateRevocationListRequest request, CallSettings callSettings = null)

Update a [CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList].

Parameters
Name Description
request UpdateCertificateRevocationListRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCertificateRevocationListOperationMetadata

The RPC response.

Overrides

UpdateCertificateRevocationListAsync(UpdateCertificateRevocationListRequest, CallSettings)

public override Task<Operation<CertificateRevocationList, OperationMetadata>> UpdateCertificateRevocationListAsync(UpdateCertificateRevocationListRequest request, CallSettings callSettings = null)

Update a [CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList].

Parameters
Name Description
request UpdateCertificateRevocationListRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCertificateRevocationListOperationMetadata

A Task containing the RPC response.

Overrides

UpdateCertificateTemplate(UpdateCertificateTemplateRequest, CallSettings)

public override Operation<CertificateTemplate, OperationMetadata> UpdateCertificateTemplate(UpdateCertificateTemplateRequest request, CallSettings callSettings = null)

Update a [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].

Parameters
Name Description
request UpdateCertificateTemplateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCertificateTemplateOperationMetadata

The RPC response.

Overrides

UpdateCertificateTemplateAsync(UpdateCertificateTemplateRequest, CallSettings)

public override Task<Operation<CertificateTemplate, OperationMetadata>> UpdateCertificateTemplateAsync(UpdateCertificateTemplateRequest request, CallSettings callSettings = null)

Update a [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].

Parameters
Name Description
request UpdateCertificateTemplateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCertificateTemplateOperationMetadata

A Task containing the RPC response.

Overrides