Class ServicesConnection (2.11.0)

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

To create a concrete instance, see MakeServicesConnection().

For mocking, see appengine_v1_mocks::MockServicesConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListServices(google::appengine::v1::ListServicesRequest)

Parameter
Name Description
request google::appengine::v1::ListServicesRequest
Returns
Type Description
StreamRange< google::appengine::v1::Service >

virtual GetService(google::appengine::v1::GetServiceRequest const &)

Parameter
Name Description
request google::appengine::v1::GetServiceRequest const &
Returns
Type Description
StatusOr< google::appengine::v1::Service >

virtual UpdateService(google::appengine::v1::UpdateServiceRequest const &)

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

virtual DeleteService(google::appengine::v1::DeleteServiceRequest const &)

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