Class CertificateAuthorityServiceConnection (2.13.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 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 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 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 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 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 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 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 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 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 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 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 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 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 > >