QuotaError_Code class
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.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → QuotaError_Code?
Constants
- API_KEY_EXPIRED → const QuotaError_Code
- Specified API Key has expired.
- API_KEY_INVALID → const QuotaError_Code
- Specified API key is invalid.
- BILLING_NOT_ACTIVE → const QuotaError_Code
- Consumer cannot access the service because the service requires active billing.
- PROJECT_DELETED → const QuotaError_Code
- Consumer's project has been marked as deleted (soft deletion).
- RESOURCE_EXHAUSTED → const QuotaError_Code
-
Quota allocation failed.
Same as
google.rpc.Code.RESOURCE_EXHAUSTED. - UNSPECIFIED → const QuotaError_Code
- This is never used.
-
values
→ const List<
QuotaError_Code>