# Google Cloud Vm Migration V1 Client - Class DiskMigrationStep (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 DiskMigrationStep.

DiskMigrationStep holds information about the disk migration step progress.

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

## Namespace

Google \\ Cloud \\ VMMigration \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ creating_source_disk_snapshot` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.CreatingSourceDiskSnapshotStep` Creating source disk snapshot step. |
| `↳ copying_source_disk_snapshot` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.CopyingSourceDiskSnapshotStep` Copying source disk snapshot step. |
| `↳ provisioning_target_disk` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.ProvisioningTargetDiskStep` Creating target disk step. |
| `↳ start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The time the step has started. |
| `↳ end_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The time the step has ended. |

### getCreatingSourceDiskSnapshot

Creating source disk snapshot step.

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

### hasCreatingSourceDiskSnapshot

### setCreatingSourceDiskSnapshot

Creating source disk snapshot step.

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

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

### getCopyingSourceDiskSnapshot

Copying source disk snapshot step.

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

### hasCopyingSourceDiskSnapshot

### setCopyingSourceDiskSnapshot

Copying source disk snapshot step.

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

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

### getProvisioningTargetDisk

Creating target disk step.

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

### hasProvisioningTargetDisk

### setProvisioningTargetDisk

Creating target disk step.

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

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

### getStartTime

Output only. The time the step has started.

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

### hasStartTime

### clearStartTime

### setStartTime

Output only. 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

Output only. The time the step has ended.

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

### hasEndTime

### clearEndTime

### setEndTime

Output only. 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` |   |