Enum QuotaError.Code (1.7.0)

public enum QuotaError.Code extends Enum<QuotaError.Code> implements ProtocolMessageEnum

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 enum google.api.servicecontrol.v1.QuotaError.Code

Implements

ProtocolMessageEnum

Static Fields

NameDescription
API_KEY_EXPIRED

Specified API Key has expired.

API_KEY_EXPIRED = 112;

API_KEY_EXPIRED_VALUE

Specified API Key has expired.

API_KEY_EXPIRED = 112;

API_KEY_INVALID

Specified API key is invalid.

API_KEY_INVALID = 105;

API_KEY_INVALID_VALUE

Specified API key is invalid.

API_KEY_INVALID = 105;

BILLING_NOT_ACTIVE

Consumer cannot access the service because the service requires active billing.

BILLING_NOT_ACTIVE = 107;

BILLING_NOT_ACTIVE_VALUE

Consumer cannot access the service because the service requires active billing.

BILLING_NOT_ACTIVE = 107;

PROJECT_DELETED

Consumer's project has been marked as deleted (soft deletion).

PROJECT_DELETED = 108;

PROJECT_DELETED_VALUE

Consumer's project has been marked as deleted (soft deletion).

PROJECT_DELETED = 108;

RESOURCE_EXHAUSTED

Quota allocation failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED.

RESOURCE_EXHAUSTED = 8;

RESOURCE_EXHAUSTED_VALUE

Quota allocation failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED.

RESOURCE_EXHAUSTED = 8;

UNRECOGNIZED
UNSPECIFIED

This is never used.

UNSPECIFIED = 0;

UNSPECIFIED_VALUE

This is never used.

UNSPECIFIED = 0;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()