Class Errors (2.1.0)

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

Inheritance

Object > Errors

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

Errors()

public Errors()

Errors(Errors)

public Errors(Errors other)
Parameter
NameDescription
otherErrors

Properties

Code

public string Code { get; set; }

[Output Only] The error type identifier for this error.

Property Value
TypeDescription
String

ErrorDetails

public RepeatedField<ErrorDetails> ErrorDetails { get; }

[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.

Property Value
TypeDescription
RepeatedField<ErrorDetails>

HasCode

public bool HasCode { get; }

Gets whether the "code" field is set

Property Value
TypeDescription
Boolean

HasLocation

public bool HasLocation { get; }

Gets whether the "location" field is set

Property Value
TypeDescription
Boolean

HasMessage

public bool HasMessage { get; }

Gets whether the "message" field is set

Property Value
TypeDescription
Boolean

Location

public string Location { get; set; }

[Output Only] Indicates the field in the request that caused the error. This property is optional.

Property Value
TypeDescription
String

Message

public string Message { get; set; }

[Output Only] An optional, human-readable error message.

Property Value
TypeDescription
String