Reference documentation and code samples for the Google API Common Protos Client class QuotaFailure.
Describes how a quota check failed.
For example if a daily limit was exceeded for the calling project,
a service could respond with a QuotaFailure detail containing the project
id and the description of the quota limit that was exceeded. If the
calling project hasn't enabled the service in the developer console, then
a service could respond with the project id and set service_disabled
to true.
Also see RetryInfo and Help types for other details about handling a
quota failure.
Generated from protobuf message google.rpc.QuotaFailure
[[["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-08-28 UTC."],[],[],null,["# Google API Common Protos Client - Class QuotaFailure (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Rpc.QuotaFailure)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Rpc.QuotaFailure)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Rpc.QuotaFailure)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Rpc.QuotaFailure)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Rpc.QuotaFailure)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Rpc.QuotaFailure) \nReference documentation and code samples for the Google API Common Protos Client class QuotaFailure.\n\nDescribes how a quota check failed.\n\nFor example if a daily limit was exceeded for the calling project,\na service could respond with a QuotaFailure detail containing the project\nid and the description of the quota limit that was exceeded. If the\ncalling project hasn't enabled the service in the developer console, then\na service could respond with the project id and set `service_disabled`\nto true.\nAlso see RetryInfo and Help types for other details about handling a\nquota failure.\n\nGenerated from protobuf message `google.rpc.QuotaFailure`\n\nNamespace\n---------\n\nGoogle \\\\ Rpc\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getViolations\n\nDescribes all quota violations.\n\n### setViolations\n\nDescribes all quota violations."]]