Class CertificateAuthorityServiceConnection (2.26.0)

This interface defines virtual methods for each of the user-facing overload sets in CertificateAuthorityServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CertificateAuthorityServiceClient.

To create a concrete instance, see MakeCertificateAuthorityServiceConnection().

For mocking, see privateca_v1_mocks::MockCertificateAuthorityServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateCertificate(google::cloud::security::privateca::v1::CreateCertificateRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::CreateCertificateRequest const &
Returns
Type Description
StatusOr< google::cloud::security::privateca::v1::Certificate >

virtual GetCertificate(google::cloud::security::privateca::v1::GetCertificateRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::GetCertificateRequest const &
Returns
Type Description
StatusOr< google::cloud::security::privateca::v1::Certificate >

virtual ListCertificates(google::cloud::security::privateca::v1::ListCertificatesRequest)

Parameter
Name Description
request google::cloud::security::privateca::v1::ListCertificatesRequest
Returns
Type Description
StreamRange< google::cloud::security::privateca::v1::Certificate >

virtual RevokeCertificate(google::cloud::security::privateca::v1::RevokeCertificateRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::RevokeCertificateRequest const &
Returns
Type Description
StatusOr< google::cloud::security::privateca::v1::Certificate >

virtual UpdateCertificate(google::cloud::security::privateca::v1::UpdateCertificateRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::UpdateCertificateRequest const &
Returns
Type Description
StatusOr< google::cloud::security::privateca::v1::Certificate >

virtual ActivateCertificateAuthority(google::cloud::security::privateca::v1::ActivateCertificateAuthorityRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::ActivateCertificateAuthorityRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual ActivateCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::ActivateCertificateAuthorityRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::ActivateCertificateAuthorityRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual ActivateCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual CreateCertificateAuthority(google::cloud::security::privateca::v1::CreateCertificateAuthorityRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::CreateCertificateAuthorityRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual CreateCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::CreateCertificateAuthorityRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::CreateCertificateAuthorityRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual DisableCertificateAuthority(google::cloud::security::privateca::v1::DisableCertificateAuthorityRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::DisableCertificateAuthorityRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual DisableCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::DisableCertificateAuthorityRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::DisableCertificateAuthorityRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DisableCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual EnableCertificateAuthority(google::cloud::security::privateca::v1::EnableCertificateAuthorityRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::EnableCertificateAuthorityRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual EnableCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::EnableCertificateAuthorityRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::EnableCertificateAuthorityRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual EnableCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual FetchCertificateAuthorityCsr(google::cloud::security::privateca::v1::FetchCertificateAuthorityCsrRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::FetchCertificateAuthorityCsrRequest const &
Returns
Type Description
StatusOr< google::cloud::security::privateca::v1::FetchCertificateAuthorityCsrResponse >

virtual GetCertificateAuthority(google::cloud::security::privateca::v1::GetCertificateAuthorityRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::GetCertificateAuthorityRequest const &
Returns
Type Description
StatusOr< google::cloud::security::privateca::v1::CertificateAuthority >

virtual ListCertificateAuthorities(google::cloud::security::privateca::v1::ListCertificateAuthoritiesRequest)

Parameter
Name Description
request google::cloud::security::privateca::v1::ListCertificateAuthoritiesRequest
Returns
Type Description
StreamRange< google::cloud::security::privateca::v1::CertificateAuthority >

virtual UndeleteCertificateAuthority(google::cloud::security::privateca::v1::UndeleteCertificateAuthorityRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::UndeleteCertificateAuthorityRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual UndeleteCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::UndeleteCertificateAuthorityRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::UndeleteCertificateAuthorityRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UndeleteCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual DeleteCertificateAuthority(google::cloud::security::privateca::v1::DeleteCertificateAuthorityRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::DeleteCertificateAuthorityRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual DeleteCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::DeleteCertificateAuthorityRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::DeleteCertificateAuthorityRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual UpdateCertificateAuthority(google::cloud::security::privateca::v1::UpdateCertificateAuthorityRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::UpdateCertificateAuthorityRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual UpdateCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::UpdateCertificateAuthorityRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::UpdateCertificateAuthorityRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

virtual CreateCaPool(google::cloud::security::privateca::v1::CreateCaPoolRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::CreateCaPoolRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CaPool > >

virtual CreateCaPool(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::CreateCaPoolRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::CreateCaPoolRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateCaPool(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CaPool > >

virtual UpdateCaPool(google::cloud::security::privateca::v1::UpdateCaPoolRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::UpdateCaPoolRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CaPool > >

virtual UpdateCaPool(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::UpdateCaPoolRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::UpdateCaPoolRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateCaPool(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CaPool > >

virtual GetCaPool(google::cloud::security::privateca::v1::GetCaPoolRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::GetCaPoolRequest const &
Returns
Type Description
StatusOr< google::cloud::security::privateca::v1::CaPool >

virtual ListCaPools(google::cloud::security::privateca::v1::ListCaPoolsRequest)

Parameter
Name Description
request google::cloud::security::privateca::v1::ListCaPoolsRequest
Returns
Type Description
StreamRange< google::cloud::security::privateca::v1::CaPool >

virtual DeleteCaPool(google::cloud::security::privateca::v1::DeleteCaPoolRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::DeleteCaPoolRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::OperationMetadata > >

virtual DeleteCaPool(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::DeleteCaPoolRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::DeleteCaPoolRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteCaPool(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::OperationMetadata > >

virtual FetchCaCerts(google::cloud::security::privateca::v1::FetchCaCertsRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::FetchCaCertsRequest const &
Returns
Type Description
StatusOr< google::cloud::security::privateca::v1::FetchCaCertsResponse >

virtual GetCertificateRevocationList(google::cloud::security::privateca::v1::GetCertificateRevocationListRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::GetCertificateRevocationListRequest const &
Returns
Type Description
StatusOr< google::cloud::security::privateca::v1::CertificateRevocationList >

virtual ListCertificateRevocationLists(google::cloud::security::privateca::v1::ListCertificateRevocationListsRequest)

Parameter
Name Description
request google::cloud::security::privateca::v1::ListCertificateRevocationListsRequest
Returns
Type Description
StreamRange< google::cloud::security::privateca::v1::CertificateRevocationList >

virtual UpdateCertificateRevocationList(google::cloud::security::privateca::v1::UpdateCertificateRevocationListRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::UpdateCertificateRevocationListRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateRevocationList > >

virtual UpdateCertificateRevocationList(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::UpdateCertificateRevocationListRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::UpdateCertificateRevocationListRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateCertificateRevocationList(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateRevocationList > >

virtual CreateCertificateTemplate(google::cloud::security::privateca::v1::CreateCertificateTemplateRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::CreateCertificateTemplateRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateTemplate > >

virtual CreateCertificateTemplate(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::CreateCertificateTemplateRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::CreateCertificateTemplateRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateCertificateTemplate(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateTemplate > >

virtual DeleteCertificateTemplate(google::cloud::security::privateca::v1::DeleteCertificateTemplateRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::DeleteCertificateTemplateRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::OperationMetadata > >

virtual DeleteCertificateTemplate(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::DeleteCertificateTemplateRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::DeleteCertificateTemplateRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteCertificateTemplate(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::OperationMetadata > >

virtual GetCertificateTemplate(google::cloud::security::privateca::v1::GetCertificateTemplateRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::GetCertificateTemplateRequest const &
Returns
Type Description
StatusOr< google::cloud::security::privateca::v1::CertificateTemplate >

virtual ListCertificateTemplates(google::cloud::security::privateca::v1::ListCertificateTemplatesRequest)

Parameter
Name Description
request google::cloud::security::privateca::v1::ListCertificateTemplatesRequest
Returns
Type Description
StreamRange< google::cloud::security::privateca::v1::CertificateTemplate >

virtual UpdateCertificateTemplate(google::cloud::security::privateca::v1::UpdateCertificateTemplateRequest const &)

Parameter
Name Description
request google::cloud::security::privateca::v1::UpdateCertificateTemplateRequest const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateTemplate > >

virtual UpdateCertificateTemplate(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::UpdateCertificateTemplateRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::security::privateca::v1::UpdateCertificateTemplateRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateCertificateTemplate(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::security::privateca::v1::CertificateTemplate > >