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

Statistical aggregation of disk usage.

Generated from protobuf message `google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Disk`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1 \\ DailyResourceUsageAggregation

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ iops` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.DailyResourceUsageAggregation.Stats` Disk I/O operations per second. |

### getIops

Disk I/O operations per second.

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

### hasIops

### clearIops

### setIops

Disk I/O operations per second.

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

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