Reference documentation and code samples for the Google Cloud Service Control V1 Client class 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.
Protobuf type google.api.servicecontrol.v1.QuotaError.Code
Namespace
Google \ Cloud \ ServiceControl \ V1 \ QuotaErrorMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNSPECIFIED
Value: 0
This is never used.
Generated from protobuf enum UNSPECIFIED = 0;
RESOURCE_EXHAUSTED
Value: 8
Quota allocation failed.
Same as google.rpc.Code.RESOURCE_EXHAUSTED.
Generated from protobuf enum RESOURCE_EXHAUSTED = 8;
BILLING_NOT_ACTIVE
Value: 107
Consumer cannot access the service because the service requires active billing.
Generated from protobuf enum BILLING_NOT_ACTIVE = 107;
PROJECT_DELETED
Value: 108
Consumer's project has been marked as deleted (soft deletion).
Generated from protobuf enum PROJECT_DELETED = 108;
API_KEY_INVALID
Value: 105
Specified API key is invalid.
Generated from protobuf enum API_KEY_INVALID = 105;
API_KEY_EXPIRED
Value: 112
Specified API Key has expired.
Generated from protobuf enum API_KEY_EXPIRED = 112;