Class DomainMappingsConnection (2.19.0)

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

To create a concrete instance, see MakeDomainMappingsConnection().

For mocking, see appengine_v1_mocks::MockDomainMappingsConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListDomainMappings(google::appengine::v1::ListDomainMappingsRequest)

Parameter
NameDescription
request google::appengine::v1::ListDomainMappingsRequest
Returns
TypeDescription
StreamRange< google::appengine::v1::DomainMapping >

virtual GetDomainMapping(google::appengine::v1::GetDomainMappingRequest const &)

Parameter
NameDescription
request google::appengine::v1::GetDomainMappingRequest const &
Returns
TypeDescription
StatusOr< google::appengine::v1::DomainMapping >

virtual CreateDomainMapping(google::appengine::v1::CreateDomainMappingRequest const &)

Parameter
NameDescription
request google::appengine::v1::CreateDomainMappingRequest const &
Returns
TypeDescription
future< StatusOr< google::appengine::v1::DomainMapping > >

virtual UpdateDomainMapping(google::appengine::v1::UpdateDomainMappingRequest const &)

Parameter
NameDescription
request google::appengine::v1::UpdateDomainMappingRequest const &
Returns
TypeDescription
future< StatusOr< google::appengine::v1::DomainMapping > >

virtual DeleteDomainMapping(google::appengine::v1::DeleteDomainMappingRequest const &)

Parameter
NameDescription
request google::appengine::v1::DeleteDomainMappingRequest const &
Returns
TypeDescription
future< StatusOr< google::appengine::v1::OperationMetadataV1 > >