Class ServicesConnection (2.21.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
TypeDescription
Options

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

Parameter
NameDescription
request google::appengine::v1::ListServicesRequest
Returns
TypeDescription
StreamRange< google::appengine::v1::Service >

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

Parameter
NameDescription
request google::appengine::v1::GetServiceRequest const &
Returns
TypeDescription
StatusOr< google::appengine::v1::Service >

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

Parameter
NameDescription
request google::appengine::v1::UpdateServiceRequest const &
Returns
TypeDescription
future< StatusOr< google::appengine::v1::Service > >

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

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