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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 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."]]],[]]