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

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

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

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

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