Class QuotaInfo
Contains the quota information for a quota check response.
Implements
Inherited Members
Namespace: Google.Apis.ServiceControl.v1.Data
Assembly: Google.Apis.ServiceControl.v1.dll
Syntax
public class QuotaInfo : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LimitExceeded
Quota Metrics that have exceeded quota limits. For QuotaGroup-based quota, this is QuotaGroup.name For QuotaLimit-based quota, this is QuotaLimit.name See: google.api.Quota Deprecated: Use quota_metrics to get per quota group limit exceeded status.
Declaration
[JsonProperty("limitExceeded")]
public virtual IList<string> LimitExceeded { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
QuotaConsumed
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).
Declaration
[JsonProperty("quotaConsumed")]
public virtual IDictionary<string, int?> QuotaConsumed { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, int?> |
QuotaMetrics
Quota metrics to indicate the usage. Depending on the check request, one or more of the following metrics will be included: 1. For rate quota, per quota group or per quota metric incremental usage will be specified using the following delta metric: "serviceruntime.googleapis.com/api/consumer/quota_used_count" 2. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, the quota limit reached condition will be specified using the following boolean metric: "serviceruntime.googleapis.com/quota/exceeded"
Declaration
[JsonProperty("quotaMetrics")]
public virtual IList<MetricValueSet> QuotaMetrics { get; set; }
Property Value
Type | Description |
---|---|
IList<MetricValueSet> |