Class LookupServiceConnection (2.14.0)

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

To create a concrete instance, see MakeLookupServiceConnection().

For mocking, see servicedirectory_v1_mocks::MockLookupServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ResolveService(google::cloud::servicedirectory::v1::ResolveServiceRequest const &)

Parameter
NameDescription
request google::cloud::servicedirectory::v1::ResolveServiceRequest const &
Returns
TypeDescription
StatusOr< google::cloud::servicedirectory::v1::ResolveServiceResponse >