Enum QuotaSafetyCheck (2.31.0)

publicenumQuotaSafetyCheckextendsEnum<QuotaSafetyCheck>implementsProtocolMessageEnum

Enumerations of quota safety checks.

Protobuf enum google.api.serviceusage.v1beta1.QuotaSafetyCheck

Implements

ProtocolMessageEnum

Static Fields

Name Description
LIMIT_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.

LIMIT_DECREASE_BELOW_USAGE = 1;

LIMIT_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.

LIMIT_DECREASE_BELOW_USAGE = 1;

LIMIT_DECREASE_PERCENTAGE_TOO_HIGH

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

LIMIT_DECREASE_PERCENTAGE_TOO_HIGH = 2;

LIMIT_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.

LIMIT_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

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.