Class InstancesConnection (2.14.0)

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

To create a concrete instance, see MakeInstancesConnection().

For mocking, see appengine_v1_mocks::MockInstancesConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListInstances(google::appengine::v1::ListInstancesRequest)

Parameter
Name Description
request google::appengine::v1::ListInstancesRequest
Returns
Type Description
StreamRange< google::appengine::v1::Instance >

virtual GetInstance(google::appengine::v1::GetInstanceRequest const &)

Parameter
Name Description
request google::appengine::v1::GetInstanceRequest const &
Returns
Type Description
StatusOr< google::appengine::v1::Instance >

virtual DeleteInstance(google::appengine::v1::DeleteInstanceRequest const &)

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

virtual DebugInstance(google::appengine::v1::DebugInstanceRequest const &)

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