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

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

Parameter
NameDescription
request google::appengine::v1::ListVersionsRequest
Returns
TypeDescription
StreamRange< google::appengine::v1::Version >

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

Parameter
NameDescription
request google::appengine::v1::GetVersionRequest const &
Returns
TypeDescription
StatusOr< google::appengine::v1::Version >

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

Parameter
NameDescription
request google::appengine::v1::CreateVersionRequest const &
Returns
TypeDescription
future< StatusOr< google::appengine::v1::Version > >

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

Parameter
NameDescription
request google::appengine::v1::UpdateVersionRequest const &
Returns
TypeDescription
future< StatusOr< google::appengine::v1::Version > >

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

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