Class PipelineServiceConnection (2.32.0-rc)

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

To create a concrete instance, see MakePipelineServiceConnection().

For mocking, see contentwarehouse_v1_mocks::MockPipelineServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual RunPipeline(google::cloud::contentwarehouse::v1::RunPipelineRequest const &)

Parameter
Name Description
request google::cloud::contentwarehouse::v1::RunPipelineRequest const &
Returns
Type Description
future< StatusOr< google::cloud::contentwarehouse::v1::RunPipelineResponse > >

virtual RunPipeline(NoAwaitTag, google::cloud::contentwarehouse::v1::RunPipelineRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::contentwarehouse::v1::RunPipelineRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contentwarehouse::v1::RunPipelineResponse > >

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

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