quotaMode property

String? quotaMode
getter/setter pair

Quota mode for this operation. Possible string values are:

  • "ACQUIRE" : Decreases available quota by the cost specified for the operation. If cost is higher than available quota, operation fails and returns error.
  • "ACQUIRE_BEST_EFFORT" : Decreases available quota by the cost specified for the operation. If cost is higher than available quota, operation does not fail and available quota goes down to zero but it returns error.
  • "CHECK" : Does not change any available quota. Only checks if there is enough quota. No lock is placed on the checked tokens neither.

Implementation

core.String? quotaMode;