Class CompletionConnection (2.22.0-rc)

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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::talent::v4::CompleteQueryRequest const &
Returns
TypeDescription
StatusOr< google::cloud::talent::v4::CompleteQueryResponse >