quotaConsumed property

Map<String, int>? quotaConsumed
getter/setter pair

Map of quota group name to the actual number of tokens consumed.

If the quota check was not successful, then this will not be populated due to no quota consumption. We are not merging this field with 'quota_metrics' field because of the complexity of scaling in Chemist client code base. For simplicity, we will keep this field for Castor (that scales quota usage) and 'quota_metrics' for SuperQuota (that doesn't scale quota usage).

Implementation

core.Map<core.String, core.int>? quotaConsumed;