Class ServiceControllerConnection (2.15.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
TypeDescription
Options

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

Parameter
NameDescription
request google::api::servicecontrol::v2::CheckRequest const &
Returns
TypeDescription
StatusOr< google::api::servicecontrol::v2::CheckResponse >

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

Parameter
NameDescription
request google::api::servicecontrol::v2::ReportRequest const &
Returns
TypeDescription
StatusOr< google::api::servicecontrol::v2::ReportResponse >