Class EventServiceConnection (2.22.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::talent::v4::CreateClientEventRequest const &
Returns
TypeDescription
StatusOr< google::cloud::talent::v4::ClientEvent >