Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::CutoverJob.
CutoverJob message describes a cutover of a migrating VM. The CutoverJob is
the operation of shutting down the VM, creating a snapshot and
clonning the VM using the replicated snapshot.
[[["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-08-28 UTC."],[],[],null,["# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::CutoverJob (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-CutoverJob)\n- [2.1.1](/ruby/docs/reference/google-cloud-vm_migration-v1/2.1.1/Google-Cloud-VMMigration-V1-CutoverJob)\n- [2.0.0](/ruby/docs/reference/google-cloud-vm_migration-v1/2.0.0/Google-Cloud-VMMigration-V1-CutoverJob)\n- [1.3.0](/ruby/docs/reference/google-cloud-vm_migration-v1/1.3.0/Google-Cloud-VMMigration-V1-CutoverJob)\n- [1.2.0](/ruby/docs/reference/google-cloud-vm_migration-v1/1.2.0/Google-Cloud-VMMigration-V1-CutoverJob)\n- [1.1.0](/ruby/docs/reference/google-cloud-vm_migration-v1/1.1.0/Google-Cloud-VMMigration-V1-CutoverJob)\n- [1.0.2](/ruby/docs/reference/google-cloud-vm_migration-v1/1.0.2/Google-Cloud-VMMigration-V1-CutoverJob)\n- [0.9.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.9.0/Google-Cloud-VMMigration-V1-CutoverJob)\n- [0.8.2](/ruby/docs/reference/google-cloud-vm_migration-v1/0.8.2/Google-Cloud-VMMigration-V1-CutoverJob)\n- [0.7.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.7.0/Google-Cloud-VMMigration-V1-CutoverJob)\n- [0.6.1](/ruby/docs/reference/google-cloud-vm_migration-v1/0.6.1/Google-Cloud-VMMigration-V1-CutoverJob)\n- [0.5.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.5.0/Google-Cloud-VMMigration-V1-CutoverJob)\n- [0.4.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.4.0/Google-Cloud-VMMigration-V1-CutoverJob)\n- [0.3.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.3.0/Google-Cloud-VMMigration-V1-CutoverJob)\n- [0.2.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.2.0/Google-Cloud-VMMigration-V1-CutoverJob)\n- [0.1.1](/ruby/docs/reference/google-cloud-vm_migration-v1/0.1.1/Google-Cloud-VMMigration-V1-CutoverJob) \nReference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::CutoverJob.\n\nCutoverJob message describes a cutover of a migrating VM. The CutoverJob is\nthe operation of shutting down the VM, creating a snapshot and\nclonning the VM using the replicated snapshot. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #compute_engine_target_details\n\n def compute_engine_target_details() -\u003e ::Google::Cloud::VMMigration::V1::ComputeEngineTargetDetails\n\n**Returns**\n\n- ([::Google::Cloud::VMMigration::V1::ComputeEngineTargetDetails](./Google-Cloud-VMMigration-V1-ComputeEngineTargetDetails)) --- Output only. Details of the target VM in Compute Engine.\n\n### #create_time\n\n def create_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).\n\n### #end_time\n\n def end_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The time the cutover job had finished.\n\n### #error\n\n def error() -\u003e ::Google::Rpc::Status\n\n**Returns**\n\n- ([::Google::Rpc::Status](./Google-Rpc-Status)) --- Output only. Provides details for the errors that led to the Cutover Job's state.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The name of the cutover job.\n\n### #progress_percent\n\n def progress_percent() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Output only. The current progress in percentage of the cutover job.\n\n### #state\n\n def state() -\u003e ::Google::Cloud::VMMigration::V1::CutoverJob::State\n\n**Returns**\n\n- ([::Google::Cloud::VMMigration::V1::CutoverJob::State](./Google-Cloud-VMMigration-V1-CutoverJob-State)) --- Output only. State of the cutover job.\n\n### #state_message\n\n def state_message() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. A message providing possible extra details about the current state.\n\n### #state_time\n\n def state_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The time the state was last updated.\n\n### #steps\n\n def steps() -\u003e ::Array\u003c::Google::Cloud::VMMigration::V1::CutoverStep\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::VMMigration::V1::CutoverStep](./Google-Cloud-VMMigration-V1-CutoverStep)\\\u003e) --- Output only. The cutover steps list representing its progress."]]