class Google::Apis::ComputeV1::Operation::Error::Error

Attributes

code[RW]
Output Only

The error type identifier for this error.

Corresponds to the JSON property `code` @return [String]

error_details[RW]
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. Corresponds to the JSON property `errorDetails` @return [Array<Google::Apis::ComputeV1::Operation::Error::Error::ErrorDetail>]

location[RW]
Output Only

Indicates the field in the request that caused the error. This

property is optional. Corresponds to the JSON property `location` @return [String]

message[RW]
Output Only

An optional, human-readable error message.

Corresponds to the JSON property `message` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 23816
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 23821
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @error_details = args[:error_details] if args.key?(:error_details)
  @location = args[:location] if args.key?(:location)
  @message = args[:message] if args.key?(:message)
end