Class ExecutionsConnection (2.23.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
Type Description
Options

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

Parameter
Name Description
request google::cloud::run::v2::GetExecutionRequest const &
Returns
Type Description
StatusOr< google::cloud::run::v2::Execution >

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

Parameter
Name Description
request google::cloud::run::v2::ListExecutionsRequest
Returns
Type Description
StreamRange< google::cloud::run::v2::Execution >

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

Parameter
Name Description
request google::cloud::run::v2::DeleteExecutionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::run::v2::Execution > >

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

Parameter
Name Description
request google::cloud::run::v2::CancelExecutionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::run::v2::Execution > >