Compute Engine v1 API - Class Warnings (2.9.0)

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

Inheritance

object > Warnings

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

Warnings()

public Warnings()

Warnings(Warnings)

public Warnings(Warnings other)
Parameter
NameDescription
otherWarnings

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
TypeDescription
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
TypeDescription
RepeatedFieldData

HasCode

public bool HasCode { get; }

Gets whether the "code" field is set

Property Value
TypeDescription
bool

HasMessage

public bool HasMessage { get; }

Gets whether the "message" field is set

Property Value
TypeDescription
bool

Message

public string Message { get; set; }

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

Property Value
TypeDescription
string