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 webpage details the `QuotaControllerConnection` class within the Google Cloud Service Control API, specifically within version 2.31.0."],["This class interface provides virtual methods corresponding to the user-facing overload sets found in `QuotaControllerClient`, enabling the injection of custom behaviors in testing."],["The `MakeQuotaControllerConnection()` function is used to instantiate a concrete version of this class."],["The `MockQuotaControllerConnection` allows users to mock this class, and is used for testing."],["The `AllocateQuota` virtual method is available to pass through a `google::api::servicecontrol::v1::AllocateQuotaRequest` to receive a `StatusOr\u003c google::api::servicecontrol::v1::AllocateQuotaResponse \u003e` return."]]],[]]