Class ExecutionsConnection (2.21.0)

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

To create a concrete instance, see MakeExecutionsConnection().

For mocking, see run_v2_mocks::MockExecutionsConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual GetExecution(google::cloud::run::v2::GetExecutionRequest const &)

Parameter
NameDescription
request google::cloud::run::v2::GetExecutionRequest const &
Returns
TypeDescription
StatusOr< google::cloud::run::v2::Execution >

virtual ListExecutions(google::cloud::run::v2::ListExecutionsRequest)

Parameter
NameDescription
request google::cloud::run::v2::ListExecutionsRequest
Returns
TypeDescription
StreamRange< google::cloud::run::v2::Execution >

virtual DeleteExecution(google::cloud::run::v2::DeleteExecutionRequest const &)

Parameter
NameDescription
request google::cloud::run::v2::DeleteExecutionRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::run::v2::Execution > >

virtual CancelExecution(google::cloud::run::v2::CancelExecutionRequest const &)

Parameter
NameDescription
request google::cloud::run::v2::CancelExecutionRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::run::v2::Execution > >