Compute Engine v1 API - Class Quota (2.5.0)

public sealed class Quota : IMessage<Quota>, IEquatable<Quota>, IDeepCloneable<Quota>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class Quota.

A quotas entry.

Inheritance

Object > Quota

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

Quota()

public Quota()

Quota(Quota)

public Quota(Quota other)
Parameter
NameDescription
otherQuota

Properties

HasLimit

public bool HasLimit { get; }

Gets whether the "limit" field is set

Property Value
TypeDescription
Boolean

HasMetric

public bool HasMetric { get; }

Gets whether the "metric" field is set

Property Value
TypeDescription
Boolean

HasOwner

public bool HasOwner { get; }

Gets whether the "owner" field is set

Property Value
TypeDescription
Boolean

HasUsage

public bool HasUsage { get; }

Gets whether the "usage" field is set

Property Value
TypeDescription
Boolean

Limit

public double Limit { get; set; }

[Output Only] Quota limit for this metric.

Property Value
TypeDescription
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
TypeDescription
String

Owner

public string Owner { get; set; }

[Output Only] Owning resource. This is the resource on which this quota is applied.

Property Value
TypeDescription
String

Usage

public double Usage { get; set; }

[Output Only] Current usage of this metric.

Property Value
TypeDescription
Double