Class LookupServiceConnection (2.17.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
Type Description
Options

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

Parameter
Name Description
request google::cloud::servicedirectory::v1::ResolveServiceRequest const &
Returns
Type Description
StatusOr< google::cloud::servicedirectory::v1::ResolveServiceResponse >