# Google Cloud Vm Migration V1 Client - Class CloneStep (1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.5 0.6.5 0.5.2 0.4.2 0.3.2 0.2.3 Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class CloneStep.

CloneStep holds information about the clone step progress.

Generated from protobuf message `google.cloud.vmmigration.v1.CloneStep`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ adapting_os` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AdaptingOSStep` Adapting OS step. |
| `↳ preparing_vm_disks` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.PreparingVMDisksStep` Preparing VM disks step. |
| `↳ instantiating_migrated_vm` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.InstantiatingMigratedVMStep` Instantiating migrated VM step. |
| `↳ start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time the step has started. |
| `↳ end_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time the step has ended. |

### getAdaptingOs

Adapting OS step.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AdaptingOSStep|null` |   |

### hasAdaptingOs

### setAdaptingOs

Adapting OS step.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AdaptingOSStep` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPreparingVmDisks

Preparing VM disks step.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.PreparingVMDisksStep|null` |   |

### hasPreparingVmDisks

### setPreparingVmDisks

Preparing VM disks step.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.PreparingVMDisksStep` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getInstantiatingMigratedVm

Instantiating migrated VM step.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.InstantiatingMigratedVMStep|null` |   |

### hasInstantiatingMigratedVm

### setInstantiatingMigratedVm

Instantiating migrated VM step.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.InstantiatingMigratedVMStep` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStartTime

The time the step has started.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasStartTime

### clearStartTime

### setStartTime

The time the step has started.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEndTime

The time the step has ended.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasEndTime

### clearEndTime

### setEndTime

The time the step has ended.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStep

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |