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

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

CloneJob describes the process of creating a clone of a
MigratingVM to the
requested target based on the latest successful uploaded snapshots.
While the migration cycles of a MigratingVm take place, it is
possible to verify the uploaded VM can be started in the cloud, by
creating a clone. The clone can be created without any downtime, and
it is created using the latest snapshots which are already in the
cloud. The cloneJob is only responsible for its work, not its
products, which means once it is finished, it will never touch the
instance it created. It will only delete it in case of the CloneJob
being cancelled or upon failure to clone.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `compute_engine_target_details` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ComputeEngineTargetDetails` Output only. Details of the target VM in Compute Engine. This field is a member of `oneof`_ `target_vm_details`. |
| `compute_engine_disks_target_details` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ComputeEngineDisksTargetDetails` Output only. Details of the target Persistent Disks in Compute Engine. This field is a member of `oneof`_ `target_vm_details`. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time the clone job was created (as an API call, not when it was actually created in the target). |
| `end_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time the clone job was ended. |
| `name` | `str` Output only. The name of the clone. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.CloneJob.State` Output only. State of the clone job. |
| `state_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time the state was last updated. |
| `error` | `google.rpc.status_pb2.Status` Output only. Provides details for the errors that led to the Clone Job's state. |
| `steps` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.CloneStep]` Output only. The clone steps list representing its progress. |

## Classes

### State

    State(value)

Possible states of the clone job.