[[["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-09-09 UTC."],[],[],null,["# Google Cloud Service Control V1 Client - Class QuotaError (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-service-control/latest/V1.QuotaError)\n- [2.0.3](/php/docs/reference/cloud-service-control/2.0.3/V1.QuotaError)\n- [1.4.4](/php/docs/reference/cloud-service-control/1.4.4/V1.QuotaError)\n- [1.3.0](/php/docs/reference/cloud-service-control/1.3.0/V1.QuotaError)\n- [1.2.1](/php/docs/reference/cloud-service-control/1.2.1/V1.QuotaError)\n- [1.1.1](/php/docs/reference/cloud-service-control/1.1.1/V1.QuotaError)\n- [1.0.6](/php/docs/reference/cloud-service-control/1.0.6/V1.QuotaError) \nReference documentation and code samples for the Google Cloud Service Control V1 Client class QuotaError.\n\nRepresents error information for [QuotaOperation](/php/docs/reference/cloud-service-control/latest/V1.QuotaOperation).\n\nGenerated from protobuf message `google.api.servicecontrol.v1.QuotaError`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ServiceControl \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCode\n\nError code.\n\n### setCode\n\nError code.\n\n### getSubject\n\nSubject to whom this error applies. See the specific enum for more details\non this field. For example, \"clientip:\n\n\n### setSubject\n\nSubject to whom this error applies. See the specific enum for more details\non this field. For example, \"clientip:\n\n\n### getDescription\n\nFree-form text that provides details on the cause of the error.\n\n### setDescription\n\nFree-form text that provides details on the cause of the error.\n\n### getStatus\n\nContains additional information about the quota error.\n\nIf available, `status.code` will be non zero.\n\n### hasStatus\n\n### clearStatus\n\n### setStatus\n\nContains additional information about the quota error.\n\nIf available, `status.code` will be non zero."]]