Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class CloneJob.
CloneJob describes the process of creating a clone of aMigratingVMto 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.
Generated from protobuf messagegoogle.cloud.vmmigration.v1.CloneJob
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Vm Migration V1 Client - Class CloneJob (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-vm-migration/latest/V1.CloneJob)\n- [1.0.4](/php/docs/reference/cloud-vm-migration/1.0.4/V1.CloneJob)\n- [0.6.5](/php/docs/reference/cloud-vm-migration/0.6.5/V1.CloneJob)\n- [0.5.2](/php/docs/reference/cloud-vm-migration/0.5.2/V1.CloneJob)\n- [0.4.2](/php/docs/reference/cloud-vm-migration/0.4.2/V1.CloneJob)\n- [0.3.2](/php/docs/reference/cloud-vm-migration/0.3.2/V1.CloneJob)\n- [0.2.3](/php/docs/reference/cloud-vm-migration/0.2.3/V1.CloneJob) \nReference documentation and code samples for the Google Cloud Vm Migration V1 Client class CloneJob.\n\nCloneJob describes the process of creating a clone of a\n[MigratingVM](/php/docs/reference/cloud-vm-migration/latest/V1.MigratingVm) to the\nrequested target based on the latest successful uploaded snapshots.\n\nWhile the migration cycles of a MigratingVm take place, it is possible to\nverify the uploaded VM can be started in the cloud, by creating a clone. The\nclone can be created without any downtime, and it is created using the latest\nsnapshots which are already in the cloud. The cloneJob is only responsible\nfor its work, not its products, which means once it is finished, it will\nnever touch the instance it created. It will only delete it in case of the\nCloneJob being cancelled or upon failure to clone.\n\nGenerated from protobuf message `google.cloud.vmmigration.v1.CloneJob`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VMMigration \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getComputeEngineTargetDetails\n\nOutput only. Details of the target VM in Compute Engine.\n\n### hasComputeEngineTargetDetails\n\n### setComputeEngineTargetDetails\n\nOutput only. Details of the target VM in Compute Engine.\n\n### getCreateTime\n\nOutput only. The time the clone job was created (as an API call, not when\nit was actually created in the target).\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time the clone job was created (as an API call, not when\nit was actually created in the target).\n\n### getEndTime\n\nOutput only. The time the clone job was ended.\n\n### hasEndTime\n\n### clearEndTime\n\n### setEndTime\n\nOutput only. The time the clone job was ended.\n\n### getName\n\nOutput only. The name of the clone.\n\n### setName\n\nOutput only. The name of the clone.\n\n### getState\n\nOutput only. State of the clone job.\n\n### setState\n\nOutput only. State of the clone job.\n\n### getStateTime\n\nOutput only. The time the state was last updated.\n\n### hasStateTime\n\n### clearStateTime\n\n### setStateTime\n\nOutput only. The time the state was last updated.\n\n### getError\n\nOutput only. Provides details for the errors that led to the Clone Job's\nstate.\n\n### hasError\n\n### clearError\n\n### setError\n\nOutput only. Provides details for the errors that led to the Clone Job's\nstate.\n\n### getSteps\n\nOutput only. The clone steps list representing its progress.\n\n### setSteps\n\nOutput only. The clone steps list representing its progress.\n\n### getTargetVmDetails"]]