Class CertificateManagerConnection (2.32.0)

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

To create a concrete instance, see MakeCertificateManagerConnection().

For mocking, see certificatemanager_v1_mocks::MockCertificateManagerConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListCertificates(google::cloud::certificatemanager::v1::ListCertificatesRequest)

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

virtual GetCertificate(google::cloud::certificatemanager::v1::GetCertificateRequest const &)

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

virtual CreateCertificate(google::cloud::certificatemanager::v1::CreateCertificateRequest const &)

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

virtual CreateCertificate(NoAwaitTag, google::cloud::certificatemanager::v1::CreateCertificateRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::CreateCertificateRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateCertificate(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::Certificate > >

virtual UpdateCertificate(google::cloud::certificatemanager::v1::UpdateCertificateRequest const &)

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

virtual UpdateCertificate(NoAwaitTag, google::cloud::certificatemanager::v1::UpdateCertificateRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::UpdateCertificateRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateCertificate(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::Certificate > >

virtual DeleteCertificate(google::cloud::certificatemanager::v1::DeleteCertificateRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::DeleteCertificateRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual DeleteCertificate(NoAwaitTag, google::cloud::certificatemanager::v1::DeleteCertificateRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::DeleteCertificateRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteCertificate(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual ListCertificateMaps(google::cloud::certificatemanager::v1::ListCertificateMapsRequest)

Parameter
Name Description
request google::cloud::certificatemanager::v1::ListCertificateMapsRequest
Returns
Type Description
StreamRange< google::cloud::certificatemanager::v1::CertificateMap >

virtual GetCertificateMap(google::cloud::certificatemanager::v1::GetCertificateMapRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::GetCertificateMapRequest const &
Returns
Type Description
StatusOr< google::cloud::certificatemanager::v1::CertificateMap >

virtual CreateCertificateMap(google::cloud::certificatemanager::v1::CreateCertificateMapRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::CreateCertificateMapRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMap > >

virtual CreateCertificateMap(NoAwaitTag, google::cloud::certificatemanager::v1::CreateCertificateMapRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::CreateCertificateMapRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateCertificateMap(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMap > >

virtual UpdateCertificateMap(google::cloud::certificatemanager::v1::UpdateCertificateMapRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::UpdateCertificateMapRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMap > >

virtual UpdateCertificateMap(NoAwaitTag, google::cloud::certificatemanager::v1::UpdateCertificateMapRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::UpdateCertificateMapRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateCertificateMap(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMap > >

virtual DeleteCertificateMap(google::cloud::certificatemanager::v1::DeleteCertificateMapRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::DeleteCertificateMapRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual DeleteCertificateMap(NoAwaitTag, google::cloud::certificatemanager::v1::DeleteCertificateMapRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::DeleteCertificateMapRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteCertificateMap(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual ListCertificateMapEntries(google::cloud::certificatemanager::v1::ListCertificateMapEntriesRequest)

Parameter
Name Description
request google::cloud::certificatemanager::v1::ListCertificateMapEntriesRequest
Returns
Type Description
StreamRange< google::cloud::certificatemanager::v1::CertificateMapEntry >

virtual GetCertificateMapEntry(google::cloud::certificatemanager::v1::GetCertificateMapEntryRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::GetCertificateMapEntryRequest const &
Returns
Type Description
StatusOr< google::cloud::certificatemanager::v1::CertificateMapEntry >

virtual CreateCertificateMapEntry(google::cloud::certificatemanager::v1::CreateCertificateMapEntryRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::CreateCertificateMapEntryRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMapEntry > >

virtual CreateCertificateMapEntry(NoAwaitTag, google::cloud::certificatemanager::v1::CreateCertificateMapEntryRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::CreateCertificateMapEntryRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateCertificateMapEntry(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMapEntry > >

virtual UpdateCertificateMapEntry(google::cloud::certificatemanager::v1::UpdateCertificateMapEntryRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::UpdateCertificateMapEntryRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMapEntry > >

virtual UpdateCertificateMapEntry(NoAwaitTag, google::cloud::certificatemanager::v1::UpdateCertificateMapEntryRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::UpdateCertificateMapEntryRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateCertificateMapEntry(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMapEntry > >

virtual DeleteCertificateMapEntry(google::cloud::certificatemanager::v1::DeleteCertificateMapEntryRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::DeleteCertificateMapEntryRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual DeleteCertificateMapEntry(NoAwaitTag, google::cloud::certificatemanager::v1::DeleteCertificateMapEntryRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::DeleteCertificateMapEntryRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteCertificateMapEntry(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual ListDnsAuthorizations(google::cloud::certificatemanager::v1::ListDnsAuthorizationsRequest)

Parameter
Name Description
request google::cloud::certificatemanager::v1::ListDnsAuthorizationsRequest
Returns
Type Description
StreamRange< google::cloud::certificatemanager::v1::DnsAuthorization >

virtual GetDnsAuthorization(google::cloud::certificatemanager::v1::GetDnsAuthorizationRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::GetDnsAuthorizationRequest const &
Returns
Type Description
StatusOr< google::cloud::certificatemanager::v1::DnsAuthorization >

virtual CreateDnsAuthorization(google::cloud::certificatemanager::v1::CreateDnsAuthorizationRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::CreateDnsAuthorizationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::DnsAuthorization > >

virtual CreateDnsAuthorization(NoAwaitTag, google::cloud::certificatemanager::v1::CreateDnsAuthorizationRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::CreateDnsAuthorizationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateDnsAuthorization(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::DnsAuthorization > >

virtual UpdateDnsAuthorization(google::cloud::certificatemanager::v1::UpdateDnsAuthorizationRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::UpdateDnsAuthorizationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::DnsAuthorization > >

virtual UpdateDnsAuthorization(NoAwaitTag, google::cloud::certificatemanager::v1::UpdateDnsAuthorizationRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::UpdateDnsAuthorizationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateDnsAuthorization(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::DnsAuthorization > >

virtual DeleteDnsAuthorization(google::cloud::certificatemanager::v1::DeleteDnsAuthorizationRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::DeleteDnsAuthorizationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual DeleteDnsAuthorization(NoAwaitTag, google::cloud::certificatemanager::v1::DeleteDnsAuthorizationRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::DeleteDnsAuthorizationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteDnsAuthorization(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual ListCertificateIssuanceConfigs(google::cloud::certificatemanager::v1::ListCertificateIssuanceConfigsRequest)

Parameter
Name Description
request google::cloud::certificatemanager::v1::ListCertificateIssuanceConfigsRequest
Returns
Type Description
StreamRange< google::cloud::certificatemanager::v1::CertificateIssuanceConfig >

virtual GetCertificateIssuanceConfig(google::cloud::certificatemanager::v1::GetCertificateIssuanceConfigRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::GetCertificateIssuanceConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::certificatemanager::v1::CertificateIssuanceConfig >

virtual CreateCertificateIssuanceConfig(google::cloud::certificatemanager::v1::CreateCertificateIssuanceConfigRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::CreateCertificateIssuanceConfigRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::CertificateIssuanceConfig > >

virtual CreateCertificateIssuanceConfig(NoAwaitTag, google::cloud::certificatemanager::v1::CreateCertificateIssuanceConfigRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::CreateCertificateIssuanceConfigRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateCertificateIssuanceConfig(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::CertificateIssuanceConfig > >

virtual DeleteCertificateIssuanceConfig(google::cloud::certificatemanager::v1::DeleteCertificateIssuanceConfigRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::DeleteCertificateIssuanceConfigRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual DeleteCertificateIssuanceConfig(NoAwaitTag, google::cloud::certificatemanager::v1::DeleteCertificateIssuanceConfigRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::DeleteCertificateIssuanceConfigRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteCertificateIssuanceConfig(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual ListTrustConfigs(google::cloud::certificatemanager::v1::ListTrustConfigsRequest)

Parameter
Name Description
request google::cloud::certificatemanager::v1::ListTrustConfigsRequest
Returns
Type Description
StreamRange< google::cloud::certificatemanager::v1::TrustConfig >

virtual GetTrustConfig(google::cloud::certificatemanager::v1::GetTrustConfigRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::GetTrustConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::certificatemanager::v1::TrustConfig >

virtual CreateTrustConfig(google::cloud::certificatemanager::v1::CreateTrustConfigRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::CreateTrustConfigRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::TrustConfig > >

virtual CreateTrustConfig(NoAwaitTag, google::cloud::certificatemanager::v1::CreateTrustConfigRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::CreateTrustConfigRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateTrustConfig(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::TrustConfig > >

virtual UpdateTrustConfig(google::cloud::certificatemanager::v1::UpdateTrustConfigRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::UpdateTrustConfigRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::TrustConfig > >

virtual UpdateTrustConfig(NoAwaitTag, google::cloud::certificatemanager::v1::UpdateTrustConfigRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::UpdateTrustConfigRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateTrustConfig(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::TrustConfig > >

virtual DeleteTrustConfig(google::cloud::certificatemanager::v1::DeleteTrustConfigRequest const &)

Parameter
Name Description
request google::cloud::certificatemanager::v1::DeleteTrustConfigRequest const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual DeleteTrustConfig(NoAwaitTag, google::cloud::certificatemanager::v1::DeleteTrustConfigRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::certificatemanager::v1::DeleteTrustConfigRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteTrustConfig(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::certificatemanager::v1::OperationMetadata > >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual GetLocation(google::cloud::location::GetLocationRequest const &)

Parameter
Name Description
request google::cloud::location::GetLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::location::Location >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)

Parameter
Name Description
request google::longrunning::DeleteOperationRequest const &
Returns
Type Description
Status

virtual CancelOperation(google::longrunning::CancelOperationRequest const &)

Parameter
Name Description
request google::longrunning::CancelOperationRequest const &
Returns
Type Description
Status