# Class MigrationWarning (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.3 1.10.0 1.9.1 1.8.5 1.7.0 1.6.2 1.5.1 1.4.0 1.3.3 1.2.0 1.1.2 1.0.0 0.1.0

    MigrationWarning(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents migration resource warning information that can be
used with google.rpc.Status message. MigrationWarning is used to
present the user with warning information in migration
operations.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `code` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.MigrationWarning.WarningCode` The warning code. |
| `warning_message` | `google.rpc.error_details_pb2.LocalizedMessage` Output only. The localized warning message. |
| `action_item` | `google.rpc.error_details_pb2.LocalizedMessage` Output only. Suggested action for solving the warning. |
| `help_links` | `MutableSequence[google.rpc.error_details_pb2.Link]` Output only. URL(s) pointing to additional information on handling the current warning. |
| `warning_time` | `google.protobuf.timestamp_pb2.Timestamp` The time the warning occurred. |

## Classes

### WarningCode

    WarningCode(value)

Represents possible warning codes.