Class VersionsConnection (2.23.0)

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

To create a concrete instance, see MakeVersionsConnection().

For mocking, see appengine_v1_mocks::MockVersionsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListVersions(google::appengine::v1::ListVersionsRequest)

Parameter
Name Description
request google::appengine::v1::ListVersionsRequest
Returns
Type Description
StreamRange< google::appengine::v1::Version >

virtual GetVersion(google::appengine::v1::GetVersionRequest const &)

Parameter
Name Description
request google::appengine::v1::GetVersionRequest const &
Returns
Type Description
StatusOr< google::appengine::v1::Version >

virtual CreateVersion(google::appengine::v1::CreateVersionRequest const &)

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

virtual UpdateVersion(google::appengine::v1::UpdateVersionRequest const &)

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

virtual DeleteVersion(google::appengine::v1::DeleteVersionRequest const &)

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