Class ServiceControllerConnection (2.12.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_v2_mocks::MockServiceControllerConnection.

Functions

virtual options()

Returns
Type Description
Options

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

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

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

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