Class EventServiceConnection (2.32.0-rc)

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

To create a concrete instance, see MakeEventServiceConnection().

For mocking, see talent_v4_mocks::MockEventServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateClientEvent(google::cloud::talent::v4::CreateClientEventRequest const &)

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

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

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