Class DomainMappingsConnection (2.31.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 CreateDomainMapping(NoAwaitTag, google::appengine::v1::CreateDomainMappingRequest const &)

Parameters
Name Description
NoAwaitTag
request google::appengine::v1::CreateDomainMappingRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation 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 UpdateDomainMapping(NoAwaitTag, google::appengine::v1::UpdateDomainMappingRequest const &)

Parameters
Name Description
NoAwaitTag
request google::appengine::v1::UpdateDomainMappingRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation 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 > >

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

Parameters
Name Description
NoAwaitTag
request google::appengine::v1::DeleteDomainMappingRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::appengine::v1::OperationMetadataV1 > >