Class VersionsConnection (2.31.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 CreateVersion(NoAwaitTag, google::appengine::v1::CreateVersionRequest const &)

Parameters
Name Description
NoAwaitTag
request google::appengine::v1::CreateVersionRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateVersion(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 UpdateVersion(NoAwaitTag, google::appengine::v1::UpdateVersionRequest const &)

Parameters
Name Description
NoAwaitTag
request google::appengine::v1::UpdateVersionRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateVersion(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 > >

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

Parameters
Name Description
NoAwaitTag
request google::appengine::v1::DeleteVersionRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteVersion(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::appengine::v1::OperationMetadataV1 > >