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

The details of a Vmware VM disk.

Generated from protobuf message `google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1 \\ VmwareSourceVmDetails

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ disk_number` | `int` Output only. The ordinal number of the disk. |
| `↳ size_gb` | `int|string` Output only. Size in GB. |
| `↳ label` | `string` Output only. The disk label. |

### getDiskNumber

Output only. The ordinal number of the disk.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setDiskNumber

Output only. The ordinal number of the disk.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

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

### getSizeGb

Output only. Size in GB.

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

### setSizeGb

Output only. Size in GB.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getLabel

Output only. The disk label.

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

### setLabel

Output only. The disk label.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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