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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 UTC."],[[["The latest release candidate version is 2.37.0-rc, followed by version 2.36.0 as the latest stable release among the listed versions."],["This document covers `QuotaControllerConnection`, which defines virtual methods for the user-facing overload sets in `QuotaControllerClient` and is a part of the Service Control API, as shown through its various versions."],["`QuotaControllerConnection` can be implemented with a custom behavior in tests, for example using a Google Mock object."],["The interface provides functions like `options()` and `AllocateQuota(google::api::servicecontrol::v1::AllocateQuotaRequest const &)`, which returns the options available, and manages the allocation of quotas, respectively."],["To create an instance, one can refer to the `MakeQuotaControllerConnection()` function and can utilize `servicecontrol_v1_mocks::MockQuotaControllerConnection` for mocking purposes."]]],[]]