# Google Cloud Migration Center V1 Client - Class MachineDiskDetails (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class MachineDiskDetails.

Details of machine disks.

Generated from protobuf message `google.cloud.migrationcenter.v1.MachineDiskDetails`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ total_capacity_bytes` | `int|string` Disk total Capacity. |
| `↳ total_free_bytes` | `int|string` Total disk free space. |
| `↳ disks` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.DiskEntryList` List of disks. |

### getTotalCapacityBytes

Disk total Capacity.

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

### setTotalCapacityBytes

Disk total Capacity.

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

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

### getTotalFreeBytes

Total disk free space.

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

### setTotalFreeBytes

Total disk free space.

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

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

### getDisks

List of disks.

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

### hasDisks

### clearDisks

### setDisks

List of disks.

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

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