class Google::Apis::VmmigrationV1::MigrationError
Represents migration resource error information that can be used with google. rpc.Status message. MigrationError
is used to present the user with error information in migration operations.
Attributes
Provides a localized error message that is safe to return to the user which can be attached to an RPC error. Corresponds to the JSON property ‘actionItem` @return [Google::Apis::VmmigrationV1::LocalizedMessage]
Output only. The error code. Corresponds to the JSON property ‘code` @return [String]
Provides a localized error message that is safe to return to the user which can be attached to an RPC error. Corresponds to the JSON property ‘errorMessage` @return [Google::Apis::VmmigrationV1::LocalizedMessage]
Output only. The time the error occurred. Corresponds to the JSON property ‘errorTime` @return [String]
Output only. URL(s) pointing to additional information on handling the current error. Corresponds to the JSON property ‘helpLinks` @return [Array<Google::Apis::VmmigrationV1::Link>]
Public Class Methods
# File lib/google/apis/vmmigration_v1/classes.rb, line 1410 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vmmigration_v1/classes.rb, line 1415 def update!(**args) @action_item = args[:action_item] if args.key?(:action_item) @code = args[:code] if args.key?(:code) @error_message = args[:error_message] if args.key?(:error_message) @error_time = args[:error_time] if args.key?(:error_time) @help_links = args[:help_links] if args.key?(:help_links) end