Class ConsumerQuotaMetric
Consumer quota settings for a quota metric.
Implements
Inherited Members
Namespace: Google.Apis.ServiceUsage.v1beta1.Data
Assembly: Google.Apis.ServiceUsage.v1beta1.dll
Syntax
public class ConsumerQuotaMetric : IDirectResponseSchema
Properties
ConsumerQuotaLimits
The consumer quota for each quota limit defined on the metric.
Declaration
[JsonProperty("consumerQuotaLimits")]
public virtual IList<ConsumerQuotaLimit> ConsumerQuotaLimits { get; set; }
Property Value
Type | Description |
---|---|
IList<ConsumerQuotaLimit> |
DescendantConsumerQuotaLimits
The quota limits targeting the descendant containers of the consumer in request. If the consumer in request
is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty. The quota_buckets
field of each
descendant consumer quota limit will not be populated.
Declaration
[JsonProperty("descendantConsumerQuotaLimits")]
public virtual IList<ConsumerQuotaLimit> DescendantConsumerQuotaLimits { get; set; }
Property Value
Type | Description |
---|---|
IList<ConsumerQuotaLimit> |
DisplayName
The display name of the metric. An example name would be: CPUs
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Metric
The name of the metric. An example name would be: compute.googleapis.com/cpus
Declaration
[JsonProperty("metric")]
public virtual string Metric { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The resource name of the quota settings on this metric for this consumer. An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus
The
resource name is intended to be opaque and should not be parsed for its component strings, since its
representation could change in the future.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Unit
The units in which the metric value is reported.
Declaration
[JsonProperty("unit")]
public virtual string Unit { get; set; }
Property Value
Type | Description |
---|---|
string |