# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::CutoverJob (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 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
cloning the VM using the replicated snapshot.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #compute_engine_disks_target_details

    def compute_engine_disks_target_details() -> ::Google::Cloud::VMMigration::V1::ComputeEngineDisksTargetDetails

**Returns**

- ([::Google::Cloud::VMMigration::V1::ComputeEngineDisksTargetDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-ComputeEngineDisksTargetDetails)) --- Output only. Details of the target Persistent Disks in Compute Engine.


  Note: The following fields are mutually exclusive: `compute_engine_disks_target_details`, `compute_engine_target_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #compute_engine_target_details

    def compute_engine_target_details() -> ::Google::Cloud::VMMigration::V1::ComputeEngineTargetDetails

**Returns**

- ([::Google::Cloud::VMMigration::V1::ComputeEngineTargetDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-ComputeEngineTargetDetails)) --- Output only. Details of the target VM in Compute Engine.


  Note: The following fields are mutually exclusive: `compute_engine_target_details`, `compute_engine_disks_target_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/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).

### #end_time

    def end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time the cutover job had finished.

### #error

    def error() -> ::Google::Rpc::Status

**Returns**

- ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Rpc-Status)) --- Output only. Provides details for the errors that led to the Cutover Job's state.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The name of the cutover job.

### #progress_percent

    def progress_percent() -> ::Integer

**Returns**

- (::Integer) --- Output only. The current progress in percentage of the cutover job.

### #state

    def state() -> ::Google::Cloud::VMMigration::V1::CutoverJob::State

**Returns**

- ([::Google::Cloud::VMMigration::V1::CutoverJob::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-CutoverJob-State)) --- Output only. State of the cutover job.

### #state_message

    def state_message() -> ::String

**Returns**

- (::String) --- Output only. A message providing possible extra details about the current state.

### #state_time

    def state_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time the state was last updated.

### #steps

    def steps() -> ::Array<::Google::Cloud::VMMigration::V1::CutoverStep>

**Returns**

- (::Array\<[::Google::Cloud::VMMigration::V1::CutoverStep](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-CutoverStep)\>) --- Output only. The cutover steps list representing its progress.