Class DomainMappingsConnection (2.11.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
Type Description
Options

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

Parameter
Name Description
request google::appengine::v1::ListDomainMappingsRequest
Returns
Type Description
StreamRange< google::appengine::v1::DomainMapping >

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

Parameter
Name Description
request google::appengine::v1::GetDomainMappingRequest const &
Returns
Type Description
StatusOr< google::appengine::v1::DomainMapping >

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

Parameter
Name Description
request google::appengine::v1::CreateDomainMappingRequest const &
Returns
Type Description
future< StatusOr< google::appengine::v1::DomainMapping > >

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

Parameter
Name Description
request google::appengine::v1::UpdateDomainMappingRequest const &
Returns
Type Description
future< StatusOr< google::appengine::v1::DomainMapping > >

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

Parameter
Name Description
request google::appengine::v1::DeleteDomainMappingRequest const &
Returns
Type Description
future< StatusOr< google::appengine::v1::OperationMetadataV1 > >