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

Properties

Code

public string Code { get; set; }

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

Property Value
Type Description
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
Type Description
RepeatedFieldErrorDetails

HasCode

public bool HasCode { get; }

Gets whether the "code" field is set

Property Value
Type Description
bool

HasLocation

public bool HasLocation { get; }

Gets whether the "location" 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

Location

public string Location { get; set; }

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

Property Value
Type Description
string

Message

public string Message { get; set; }

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

Property Value
Type Description
string