Enum QuotaSafetyCheck (0.8.0)

public enum QuotaSafetyCheck extends Enum<QuotaSafetyCheck> implements ProtocolMessageEnum

Enumerations of quota safety checks.

Protobuf enum google.api.cloudquotas.v1.QuotaSafetyCheck

Implements

ProtocolMessageEnum

Static Fields

NameDescription
QUOTA_DECREASE_BELOW_USAGE

Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.

QUOTA_DECREASE_BELOW_USAGE = 1;

QUOTA_DECREASE_BELOW_USAGE_VALUE

Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.

QUOTA_DECREASE_BELOW_USAGE = 1;

QUOTA_DECREASE_PERCENTAGE_TOO_HIGH

Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent.

QUOTA_DECREASE_PERCENTAGE_TOO_HIGH = 2;

QUOTA_DECREASE_PERCENTAGE_TOO_HIGH_VALUE

Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent.

QUOTA_DECREASE_PERCENTAGE_TOO_HIGH = 2;

QUOTA_SAFETY_CHECK_UNSPECIFIED

Unspecified quota safety check.

QUOTA_SAFETY_CHECK_UNSPECIFIED = 0;

QUOTA_SAFETY_CHECK_UNSPECIFIED_VALUE

Unspecified quota safety check.

QUOTA_SAFETY_CHECK_UNSPECIFIED = 0;

UNRECOGNIZED

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()