Certificate Authority v1 API - Class CertificateAuthorityServiceClientImpl (3.5.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
NameDescription
grpcClientCertificateAuthorityServiceCertificateAuthorityServiceClient

The underlying gRPC client.

settingsCertificateAuthorityServiceSettings

The base CertificateAuthorityServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

ActivateCertificateAuthorityOperationsClient

public override OperationsClient ActivateCertificateAuthorityOperationsClient { get; }

The long-running operations client for ActivateCertificateAuthority.

Property Value
TypeDescription
OperationsClient
Overrides

CreateCaPoolOperationsClient

public override OperationsClient CreateCaPoolOperationsClient { get; }

The long-running operations client for CreateCaPool.

Property Value
TypeDescription
OperationsClient
Overrides

CreateCertificateAuthorityOperationsClient

public override OperationsClient CreateCertificateAuthorityOperationsClient { get; }

The long-running operations client for CreateCertificateAuthority.

Property Value
TypeDescription
OperationsClient
Overrides

CreateCertificateTemplateOperationsClient

public override OperationsClient CreateCertificateTemplateOperationsClient { get; }

The long-running operations client for CreateCertificateTemplate.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteCaPoolOperationsClient

public override OperationsClient DeleteCaPoolOperationsClient { get; }

The long-running operations client for DeleteCaPool.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteCertificateAuthorityOperationsClient

public override OperationsClient DeleteCertificateAuthorityOperationsClient { get; }

The long-running operations client for DeleteCertificateAuthority.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteCertificateTemplateOperationsClient

public override OperationsClient DeleteCertificateTemplateOperationsClient { get; }

The long-running operations client for DeleteCertificateTemplate.

Property Value
TypeDescription
OperationsClient
Overrides

DisableCertificateAuthorityOperationsClient

public override OperationsClient DisableCertificateAuthorityOperationsClient { get; }

The long-running operations client for DisableCertificateAuthority.

Property Value
TypeDescription
OperationsClient
Overrides

EnableCertificateAuthorityOperationsClient

public override OperationsClient EnableCertificateAuthorityOperationsClient { get; }

The long-running operations client for EnableCertificateAuthority.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override CertificateAuthorityService.CertificateAuthorityServiceClient GrpcClient { get; }

The underlying gRPC CertificateAuthorityService client

Property Value
TypeDescription
CertificateAuthorityServiceCertificateAuthorityServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

UndeleteCertificateAuthorityOperationsClient

public override OperationsClient UndeleteCertificateAuthorityOperationsClient { get; }

The long-running operations client for UndeleteCertificateAuthority.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateCaPoolOperationsClient

public override OperationsClient UpdateCaPoolOperationsClient { get; }

The long-running operations client for UpdateCaPool.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateCertificateAuthorityOperationsClient

public override OperationsClient UpdateCertificateAuthorityOperationsClient { get; }

The long-running operations client for UpdateCertificateAuthority.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateCertificateRevocationListOperationsClient

public override OperationsClient UpdateCertificateRevocationListOperationsClient { get; }

The long-running operations client for UpdateCertificateRevocationList.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateCertificateTemplateOperationsClient

public override OperationsClient UpdateCertificateTemplateOperationsClient { get; }

The long-running operations client for UpdateCertificateTemplate.

Property Value
TypeDescription
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
NameDescription
requestActivateCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestActivateCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateCaPoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateCaPoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateCertificateTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateCertificateTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteCaPoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteCaPoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteCertificateTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteCertificateTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDisableCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDisableCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestEnableCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestEnableCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestFetchCaCertsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestFetchCaCertsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestFetchCertificateAuthorityCsrRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestFetchCertificateAuthorityCsrRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCaPoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCaPoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCertificateRevocationListRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCertificateRevocationListRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCertificateTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetCertificateTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCaPoolsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCaPoolsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCertificateAuthoritiesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCertificateAuthoritiesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCertificateRevocationListsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCertificateRevocationListsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCertificateTemplatesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCertificateTemplatesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCertificatesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListCertificatesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestRevokeCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestRevokeCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUndeleteCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUndeleteCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCaPoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCaPoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCertificateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCertificateAuthorityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCertificateRevocationListRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCertificateRevocationListRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCertificateTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateCertificateTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCertificateTemplateOperationMetadata

A Task containing the RPC response.

Overrides