Reference documentation and code samples for the Service Control API V1 API module Google::Cloud::ServiceControl::V1::QuotaError::Code.
Error codes related to project config validations are deprecated since the
quota controller methods do not perform these validations. Instead services
have to call the Check method, without quota_properties field, to perform
these validations before calling the quota controller methods. These
methods check only for project deletion to be wipe out compliant.
Constants
UNSPECIFIED
value: 0 This is never used.
RESOURCE_EXHAUSTED
value: 8 Quota allocation failed.
Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED].
BILLING_NOT_ACTIVE
value: 107 Consumer cannot access the service because the service requires active
billing.
PROJECT_DELETED
value: 108 Consumer's project has been marked as deleted (soft deletion).
[[["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-07 UTC."],[],[],null,["# Service Control API V1 API - Module Google::Cloud::ServiceControl::V1::QuotaError::Code (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-service_control-v1/latest/Google-Cloud-ServiceControl-V1-QuotaError-Code)\n- [1.2.1](/ruby/docs/reference/google-cloud-service_control-v1/1.2.1/Google-Cloud-ServiceControl-V1-QuotaError-Code)\n- [1.1.0](/ruby/docs/reference/google-cloud-service_control-v1/1.1.0/Google-Cloud-ServiceControl-V1-QuotaError-Code)\n- [1.0.1](/ruby/docs/reference/google-cloud-service_control-v1/1.0.1/Google-Cloud-ServiceControl-V1-QuotaError-Code)\n- [0.11.0](/ruby/docs/reference/google-cloud-service_control-v1/0.11.0/Google-Cloud-ServiceControl-V1-QuotaError-Code)\n- [0.10.0](/ruby/docs/reference/google-cloud-service_control-v1/0.10.0/Google-Cloud-ServiceControl-V1-QuotaError-Code)\n- [0.9.2](/ruby/docs/reference/google-cloud-service_control-v1/0.9.2/Google-Cloud-ServiceControl-V1-QuotaError-Code)\n- [0.8.0](/ruby/docs/reference/google-cloud-service_control-v1/0.8.0/Google-Cloud-ServiceControl-V1-QuotaError-Code)\n- [0.7.1](/ruby/docs/reference/google-cloud-service_control-v1/0.7.1/Google-Cloud-ServiceControl-V1-QuotaError-Code)\n- [0.6.0](/ruby/docs/reference/google-cloud-service_control-v1/0.6.0/Google-Cloud-ServiceControl-V1-QuotaError-Code)\n- [0.5.0](/ruby/docs/reference/google-cloud-service_control-v1/0.5.0/Google-Cloud-ServiceControl-V1-QuotaError-Code)\n- [0.4.6](/ruby/docs/reference/google-cloud-service_control-v1/0.4.6/Google-Cloud-ServiceControl-V1-QuotaError-Code) \nReference documentation and code samples for the Service Control API V1 API module Google::Cloud::ServiceControl::V1::QuotaError::Code.\n\nError codes related to project config validations are deprecated since the\nquota controller methods do not perform these validations. Instead services\nhave to call the Check method, without quota_properties field, to perform\nthese validations before calling the quota controller methods. These\nmethods check only for project deletion to be wipe out compliant.\n\nConstants\n---------\n\n### UNSPECIFIED\n\n**value:** 0 \nThis is never used.\n\n### RESOURCE_EXHAUSTED\n\n**value:** 8 \nQuota allocation failed.\nSame as \\[google.rpc.Code.RESOURCE_EXHAUSTED\\]\\[google.rpc.Code.RESOURCE_EXHAUSTED\\].\n\n### BILLING_NOT_ACTIVE\n\n**value:** 107 \nConsumer cannot access the service because the service requires active\nbilling.\n\n### PROJECT_DELETED\n\n**value:** 108 \nConsumer's project has been marked as deleted (soft deletion).\n\n### API_KEY_INVALID\n\n**value:** 105 \nSpecified API key is invalid.\n\n### API_KEY_EXPIRED\n\n**value:** 112 \nSpecified API Key has expired."]]