Class EventServiceConnection (2.27.0)

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 >