Class ExecutionsConnection (2.22.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 workflows_executions_v1_mocks::MockExecutionsConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListExecutions(google::cloud::workflows::executions::v1::ListExecutionsRequest)

Parameter
NameDescription
request google::cloud::workflows::executions::v1::ListExecutionsRequest
Returns
TypeDescription
StreamRange< google::cloud::workflows::executions::v1::Execution >

virtual CreateExecution(google::cloud::workflows::executions::v1::CreateExecutionRequest const &)

Parameter
NameDescription
request google::cloud::workflows::executions::v1::CreateExecutionRequest const &
Returns
TypeDescription
StatusOr< google::cloud::workflows::executions::v1::Execution >

virtual GetExecution(google::cloud::workflows::executions::v1::GetExecutionRequest const &)

Parameter
NameDescription
request google::cloud::workflows::executions::v1::GetExecutionRequest const &
Returns
TypeDescription
StatusOr< google::cloud::workflows::executions::v1::Execution >

virtual CancelExecution(google::cloud::workflows::executions::v1::CancelExecutionRequest const &)

Parameter
NameDescription
request google::cloud::workflows::executions::v1::CancelExecutionRequest const &
Returns
TypeDescription
StatusOr< google::cloud::workflows::executions::v1::Execution >