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

ComputeEngineDisksTargetDetails is a collection of created Persistent Disks
details.

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

## Namespace

Google \\ Cloud \\ VMMigration \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ disks_target_details` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.DisksMigrationDisksTargetDetails` Details of the disks-only migration target. |
| `↳ vm_target_details` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.DisksMigrationVmTargetDetails` Details for the VM the migrated data disks are attached to. |
| `↳ disks` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.PersistentDisk>` The details of each created Persistent Disk. |

### getDisksTargetDetails

Details of the disks-only migration target.

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

### hasDisksTargetDetails

### setDisksTargetDetails

Details of the disks-only migration target.

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

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

### getVmTargetDetails

Details for the VM the migrated data disks are attached to.

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

### hasVmTargetDetails

### setVmTargetDetails

Details for the VM the migrated data disks are attached to.

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

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

### getDisks

The details of each created Persistent Disk.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.PersistentDisk>` |   |

### setDisks

The details of each created Persistent Disk.

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

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

### getVmTarget

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