Compute Engine v1 API - Class Quota (3.2.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
Name Description
other Quota

Properties

HasLimit

public bool HasLimit { get; }

Gets whether the "limit" field is set

Property Value
Type Description
bool

HasMetric

public bool HasMetric { get; }

Gets whether the "metric" field is set

Property Value
Type Description
bool

HasOwner

public bool HasOwner { get; }

Gets whether the "owner" field is set

Property Value
Type Description
bool

HasUsage

public bool HasUsage { get; }

Gets whether the "usage" field is set

Property Value
Type Description
bool

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