Compute Engine v1 API - Class Quota (2.15.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
bool

HasMetric

public bool HasMetric { get; }

Gets whether the "metric" field is set

Property Value
TypeDescription
bool

HasOwner

public bool HasOwner { get; }

Gets whether the "owner" field is set

Property Value
TypeDescription
bool

HasUsage

public bool HasUsage { get; }

Gets whether the "usage" field is set

Property Value
TypeDescription
bool

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