class Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Errors::Error
Attributes
- Output Only
-
The error type identifier for this error.
Corresponds to the JSON property `code` @return [String]
- 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::ManagedInstanceLastAttempt::Errors::Error::ErrorDetail>]
- Output Only
-
Indicates the field in the request that caused the error. This
property is optional. Corresponds to the JSON property `location` @return [String]
- Output Only
-
An optional, human-readable error message.
Corresponds to the JSON property `message` @return [String]
Public Class Methods
# File lib/google/apis/compute_v1/classes.rb, line 19202 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 19207 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