Class ServiceControllerConnection (2.14.0)

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

To create a concrete instance, see MakeServiceControllerConnection().

For mocking, see servicecontrol_v1_mocks::MockServiceControllerConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual Check(google::api::servicecontrol::v1::CheckRequest const &)

Parameter
Name Description
request google::api::servicecontrol::v1::CheckRequest const &
Returns
Type Description
StatusOr< google::api::servicecontrol::v1::CheckResponse >

virtual Report(google::api::servicecontrol::v1::ReportRequest const &)

Parameter
Name Description
request google::api::servicecontrol::v1::ReportRequest const &
Returns
Type Description
StatusOr< google::api::servicecontrol::v1::ReportResponse >