Class CertificateAuthorityServiceConnection (2.22.0-rc)

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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::CreateCertificateRequest const &
Returns
TypeDescription
StatusOr< google::cloud::security::privateca::v1::Certificate >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::GetCertificateRequest const &
Returns
TypeDescription
StatusOr< google::cloud::security::privateca::v1::Certificate >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::ListCertificatesRequest
Returns
TypeDescription
StreamRange< google::cloud::security::privateca::v1::Certificate >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::RevokeCertificateRequest const &
Returns
TypeDescription
StatusOr< google::cloud::security::privateca::v1::Certificate >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::UpdateCertificateRequest const &
Returns
TypeDescription
StatusOr< google::cloud::security::privateca::v1::Certificate >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::ActivateCertificateAuthorityRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::CreateCertificateAuthorityRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::DisableCertificateAuthorityRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::EnableCertificateAuthorityRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::FetchCertificateAuthorityCsrRequest const &
Returns
TypeDescription
StatusOr< google::cloud::security::privateca::v1::FetchCertificateAuthorityCsrResponse >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::GetCertificateAuthorityRequest const &
Returns
TypeDescription
StatusOr< google::cloud::security::privateca::v1::CertificateAuthority >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::ListCertificateAuthoritiesRequest
Returns
TypeDescription
StreamRange< google::cloud::security::privateca::v1::CertificateAuthority >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::UndeleteCertificateAuthorityRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::DeleteCertificateAuthorityRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::UpdateCertificateAuthorityRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::CreateCaPoolRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CaPool > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::UpdateCaPoolRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CaPool > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::GetCaPoolRequest const &
Returns
TypeDescription
StatusOr< google::cloud::security::privateca::v1::CaPool >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::ListCaPoolsRequest
Returns
TypeDescription
StreamRange< google::cloud::security::privateca::v1::CaPool >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::DeleteCaPoolRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::FetchCaCertsRequest const &
Returns
TypeDescription
StatusOr< google::cloud::security::privateca::v1::FetchCaCertsResponse >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::GetCertificateRevocationListRequest const &
Returns
TypeDescription
StatusOr< google::cloud::security::privateca::v1::CertificateRevocationList >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::ListCertificateRevocationListsRequest
Returns
TypeDescription
StreamRange< google::cloud::security::privateca::v1::CertificateRevocationList >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::UpdateCertificateRevocationListRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CertificateRevocationList > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::CreateCertificateTemplateRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CertificateTemplate > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::DeleteCertificateTemplateRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::GetCertificateTemplateRequest const &
Returns
TypeDescription
StatusOr< google::cloud::security::privateca::v1::CertificateTemplate >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::ListCertificateTemplatesRequest
Returns
TypeDescription
StreamRange< google::cloud::security::privateca::v1::CertificateTemplate >

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

Parameter
NameDescription
request google::cloud::security::privateca::v1::UpdateCertificateTemplateRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::security::privateca::v1::CertificateTemplate > >