# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::MigrationError (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #action_item

    def action_item() -> ::Google::Rpc::LocalizedMessage

**Returns**

- ([::Google::Rpc::LocalizedMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Rpc-LocalizedMessage)) --- Output only. Suggested action for solving the error.

### #code

    def code() -> ::Google::Cloud::VMMigration::V1::MigrationError::ErrorCode

**Returns**

- ([::Google::Cloud::VMMigration::V1::MigrationError::ErrorCode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-MigrationError-ErrorCode)) --- Output only. The error code.

### #error_message

    def error_message() -> ::Google::Rpc::LocalizedMessage

**Returns**

- ([::Google::Rpc::LocalizedMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Rpc-LocalizedMessage)) --- Output only. The localized error message.

### #error_time

    def error_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time the error occurred.

### #help_links

    def help_links() -> ::Array<::Google::Rpc::Help::Link>

**Returns**

- (::Array\<[::Google::Rpc::Help::Link](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Rpc-Help-Link)\>) --- Output only. URL(s) pointing to additional information on handling the current error.