Compute Engine v1 API - Class QuotaStatusWarning (2.16.0)

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

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

[Output Only] Warning of fetching the quotas field for this region. This field is populated only if fetching of the quotas field fails.

Inheritance

object > QuotaStatusWarning

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

QuotaStatusWarning()

public QuotaStatusWarning()

QuotaStatusWarning(QuotaStatusWarning)

public QuotaStatusWarning(QuotaStatusWarning other)
Parameter
Name Description
other QuotaStatusWarning

Properties

Code

public string Code { get; set; }

[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. Check the Code enum for the list of possible values.

Property Value
Type Description
string

Data

public RepeatedField<Data> Data { get; }

[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }

Property Value
Type Description
RepeatedFieldData

HasCode

public bool HasCode { get; }

Gets whether the "code" field is set

Property Value
Type Description
bool

HasMessage

public bool HasMessage { get; }

Gets whether the "message" field is set

Property Value
Type Description
bool

Message

public string Message { get; set; }

[Output Only] A human-readable description of the warning code.

Property Value
Type Description
string