Class PublicCertificateAuthorityServiceConnection (2.27.0)

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

To create a concrete instance, see MakePublicCertificateAuthorityServiceConnection().

For mocking, see publicca_v1_mocks::MockPublicCertificateAuthorityServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateExternalAccountKey(google::cloud::security::publicca::v1::CreateExternalAccountKeyRequest const &)

Parameter
Name Description
request google::cloud::security::publicca::v1::CreateExternalAccountKeyRequest const &
Returns
Type Description
StatusOr< google::cloud::security::publicca::v1::ExternalAccountKey >