# Class DiskMigrationJob (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

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

Describes the disk which will be migrated from the source
environment. The source disk has to be unattached.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `aws_source_disk_details` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.AwsSourceDiskDetails` Details of the unattached AWS source disk. This field is a member of `oneof`_ `source_disk_details`. |
| `name` | `str` Output only. Identifier. The identifier of the DiskMigrationJob. |
| `target_details` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.DiskMigrationJobTargetDetails` Required. Details of the target Disk in Compute Engine. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time the DiskMigrationJob resource was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The last time the DiskMigrationJob resource was updated. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.DiskMigrationJob.State` Output only. State of the DiskMigrationJob. |
| `errors` | `MutableSequence[google.rpc.status_pb2.Status]` Output only. Provides details on the errors that led to the disk migration job's state in case of an error. |
| `steps` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.DiskMigrationStep]` Output only. The disk migration steps list representing its progress. |

## Classes

### State

    State(value)

The possible values of the state/health of DiskMigrationJob.