Compute Engine v1 API - Class Errors (2.10.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
RepeatedFieldErrorDetails

HasCode

public bool HasCode { get; }

Gets whether the "code" field is set

Property Value
TypeDescription
bool

HasLocation

public bool HasLocation { get; }

Gets whether the "location" field is set

Property Value
TypeDescription
bool

HasMessage

public bool HasMessage { get; }

Gets whether the "message" field is set

Property Value
TypeDescription
bool

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