public enum QuotaError.Code extends Enum<QuotaError.Code> implements ProtocolMessageEnumError 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 enum google.api.servicecontrol.v1.QuotaError.Code
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
API_KEY_EXPIRED |
Specified API Key has expired. |
API_KEY_EXPIRED_VALUE |
Specified API Key has expired. |
API_KEY_INVALID |
Specified API key is invalid. |
API_KEY_INVALID_VALUE |
Specified API key is invalid. |
BILLING_NOT_ACTIVE |
Consumer cannot access the service because the service requires active billing. |
BILLING_NOT_ACTIVE_VALUE |
Consumer cannot access the service because the service requires active billing. |
PROJECT_DELETED |
Consumer's project has been marked as deleted (soft deletion). |
PROJECT_DELETED_VALUE |
Consumer's project has been marked as deleted (soft deletion). |
RESOURCE_EXHAUSTED |
Quota allocation failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED. |
RESOURCE_EXHAUSTED_VALUE |
Quota allocation failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED. |
UNRECOGNIZED |
|
UNSPECIFIED |
This is never used. |
UNSPECIFIED_VALUE |
This is never used. |
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|