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."],[[["This page details the `QuotaControllerConnection` class within the Google Cloud Service Control v1 C++ library, specifically for version 2.19.0."],["The `QuotaControllerConnection` class defines virtual methods corresponding to each user-facing overload set in `QuotaControllerClient`, enabling custom behavior injection during testing."],["The page provides links to documentation for different versions of `QuotaControllerConnection`, ranging from 2.37.0-rc to 2.11.0, with the latest version marked as 2.37.0-rc."],["Users can create a real instance using `MakeQuotaControllerConnection()` and mock it using `servicecontrol_v1_mocks::MockQuotaControllerConnection`."],["The class includes the virtual function `AllocateQuota`, which takes a `google::api::servicecontrol::v1::AllocateQuotaRequest` and returns a `StatusOr\u003c google::api::servicecontrol::v1::AllocateQuotaResponse \u003e`."]]],[]]