Class CompletionConnection (2.31.0)

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

To create a concrete instance, see MakeCompletionConnection().

For mocking, see talent_v4_mocks::MockCompletionConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CompleteQuery(google::cloud::talent::v4::CompleteQueryRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::CompleteQueryRequest const &
Returns
Type Description
StatusOr< google::cloud::talent::v4::CompleteQueryResponse >

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

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