public sealed class Quota : IMessage<Quota>, IEquatable<Quota>, IDeepCloneable<Quota>, IBufferMessage, IMessage
A quotas entry.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
Quota()
public Quota()
Quota(Quota)
public Quota(Quota other)
Parameter | |
---|---|
Name | Description |
other | Quota |
Properties
HasLimit
public bool HasLimit { get; }
Gets whether the "limit" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasMetric
public bool HasMetric { get; }
Gets whether the "metric" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasOwner
public bool HasOwner { get; }
Gets whether the "owner" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasUsage
public bool HasUsage { get; }
Gets whether the "usage" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
Limit
public double Limit { get; set; }
[Output Only] Quota limit for this metric.
Property Value | |
---|---|
Type | Description |
Double |
Metric
public string Metric { get; set; }
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
String |
Owner
public string Owner { get; set; }
[Output Only] Owning resource. This is the resource on which this quota is applied.
Property Value | |
---|---|
Type | Description |
String |
Usage
public double Usage { get; set; }
[Output Only] Current usage of this metric.
Property Value | |
---|---|
Type | Description |
Double |