Class QuotaControllerConnection (2.29.0)

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

To create a concrete instance, see MakeQuotaControllerConnection().

For mocking, see servicecontrol_v1_mocks::MockQuotaControllerConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual AllocateQuota(google::api::servicecontrol::v1::AllocateQuotaRequest const &)

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