Class ExecutionsConnection (2.32.0-rc)

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 DeleteExecution(NoAwaitTag, google::cloud::run::v2::DeleteExecutionRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::run::v2::DeleteExecutionRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

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

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

Parameters
Name Description
NoAwaitTag
request google::cloud::run::v2::CancelExecutionRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::run::v2::Execution > >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)

Parameter
Name Description
request google::longrunning::DeleteOperationRequest const &
Returns
Type Description
Status

virtual WaitOperation(google::longrunning::WaitOperationRequest const &)

Parameter
Name Description
request google::longrunning::WaitOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >