Certificate Authority v1beta1 API - Class CertificateAuthorityServiceClientImpl (2.0.0-beta02)

public sealed class CertificateAuthorityServiceClientImpl : CertificateAuthorityServiceClient

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

CertificateAuthorityService client wrapper implementation, for convenient use.

Inheritance

Object > CertificateAuthorityServiceClient > CertificateAuthorityServiceClientImpl

Namespace

Google.Cloud.Security.PrivateCA.V1Beta1

Assembly

Google.Cloud.Security.PrivateCA.V1Beta1.dll

Remarks

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

Constructors

CertificateAuthorityServiceClientImpl(CertificateAuthorityService.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
grpcClientCertificateAuthorityService.CertificateAuthorityServiceClient

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

CreateCertificateAuthorityOperationsClient

public override OperationsClient CreateCertificateAuthorityOperationsClient { get; }

The long-running operations client for CreateCertificateAuthority.

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
CertificateAuthorityService.CertificateAuthorityServiceClient
Overrides

RestoreCertificateAuthorityOperationsClient

public override OperationsClient RestoreCertificateAuthorityOperationsClient { get; }

The long-running operations client for RestoreCertificateAuthority.

Property Value
TypeDescription
OperationsClient
Overrides

ScheduleDeleteCertificateAuthorityOperationsClient

public override OperationsClient ScheduleDeleteCertificateAuthorityOperationsClient { get; }

The long-running operations client for ScheduleDeleteCertificateAuthority.

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

Methods

ActivateCertificateAuthority(ActivateCertificateAuthorityRequest, CallSettings)

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

Activate a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] that is in state [PENDING_ACTIVATION][google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION] and is of type [SUBORDINATE][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE]. After the parent Certificate Authority signs a certificate signing request from [FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1beta1.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
Operation<CertificateAuthority, OperationMetadata>

The RPC response.

Overrides

ActivateCertificateAuthorityAsync(ActivateCertificateAuthorityRequest, CallSettings)

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

Activate a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] that is in state [PENDING_ACTIVATION][google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION] and is of type [SUBORDINATE][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE]. After the parent Certificate Authority signs a certificate signing request from [FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1beta1.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
Task<Operation<CertificateAuthority, OperationMetadata>>

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.v1beta1.Certificate] in a given Project, Location from a particular [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].

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.v1beta1.Certificate] in a given Project, Location from a particular [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].

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
Task<Certificate>

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.v1beta1.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
Operation<CertificateAuthority, OperationMetadata>

The RPC response.

Overrides

CreateCertificateAuthorityAsync(CreateCertificateAuthorityRequest, CallSettings)

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

Create a new [CertificateAuthority][google.cloud.security.privateca.v1beta1.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
Task<Operation<CertificateAuthority, OperationMetadata>>

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.v1beta1.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
Operation<CertificateAuthority, OperationMetadata>

The RPC response.

Overrides

DisableCertificateAuthorityAsync(DisableCertificateAuthorityRequest, CallSettings)

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

Disable a [CertificateAuthority][google.cloud.security.privateca.v1beta1.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
Task<Operation<CertificateAuthority, OperationMetadata>>

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.v1beta1.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
Operation<CertificateAuthority, OperationMetadata>

The RPC response.

Overrides

EnableCertificateAuthorityAsync(EnableCertificateAuthorityRequest, CallSettings)

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

Enable a [CertificateAuthority][google.cloud.security.privateca.v1beta1.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
Task<Operation<CertificateAuthority, OperationMetadata>>

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.v1beta1.CertificateAuthority] that is in state [PENDING_ACTIVATION][google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION] and is of type [SUBORDINATE][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE]. The CSR must then be signed by the desired parent Certificate Authority, which could be another [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] resource, or could be an on-prem certificate authority. See also [ActivateCertificateAuthority][google.cloud.security.privateca.v1beta1.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.v1beta1.CertificateAuthority] that is in state [PENDING_ACTIVATION][google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION] and is of type [SUBORDINATE][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE]. The CSR must then be signed by the desired parent Certificate Authority, which could be another [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] resource, or could be an on-prem certificate authority. See also [ActivateCertificateAuthority][google.cloud.security.privateca.v1beta1.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
Task<FetchCertificateAuthorityCsrResponse>

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.v1beta1.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.v1beta1.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
Task<Certificate>

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.v1beta1.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.v1beta1.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
Task<CertificateAuthority>

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.v1beta1.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.v1beta1.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
Task<CertificateRevocationList>

A Task containing the RPC response.

Overrides

GetReusableConfig(GetReusableConfigRequest, CallSettings)

public override ReusableConfig GetReusableConfig(GetReusableConfigRequest request, CallSettings callSettings = null)

Returns a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig].

Parameters
NameDescription
requestGetReusableConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ReusableConfig

The RPC response.

Overrides

GetReusableConfigAsync(GetReusableConfigRequest, CallSettings)

public override Task<ReusableConfig> GetReusableConfigAsync(GetReusableConfigRequest request, CallSettings callSettings = null)

Returns a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig].

Parameters
NameDescription
requestGetReusableConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ReusableConfig>

A Task containing the RPC response.

Overrides

ListCertificateAuthorities(ListCertificateAuthoritiesRequest, CallSettings)

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

Lists [CertificateAuthorities][google.cloud.security.privateca.v1beta1.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
PagedEnumerable<ListCertificateAuthoritiesResponse, CertificateAuthority>

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.v1beta1.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
PagedAsyncEnumerable<ListCertificateAuthoritiesResponse, CertificateAuthority>

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.v1beta1.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
PagedEnumerable<ListCertificateRevocationListsResponse, CertificateRevocationList>

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.v1beta1.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
PagedAsyncEnumerable<ListCertificateRevocationListsResponse, CertificateRevocationList>

A pageable asynchronous sequence of CertificateRevocationList resources.

Overrides

ListCertificates(ListCertificatesRequest, CallSettings)

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

Lists [Certificates][google.cloud.security.privateca.v1beta1.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
PagedEnumerable<ListCertificatesResponse, Certificate>

A pageable sequence of Certificate resources.

Overrides

ListCertificatesAsync(ListCertificatesRequest, CallSettings)

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

Lists [Cer