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

Utilization Chart is a specific type of visualization which displays
a metric classified into "Used" and "Free" buckets.

Generated from protobuf message `google.cloud.migrationcenter.v1.ReportSummary.UtilizationChartData`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1 \\ ReportSummary

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ used` | `int|string` Aggregate value which falls into the "Used" bucket. |
| `↳ free` | `int|string` Aggregate value which falls into the "Free" bucket. |

### getUsed

Aggregate value which falls into the "Used" bucket.

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

### setUsed

Aggregate value which falls into the "Used" bucket.

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

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

### getFree

Aggregate value which falls into the "Free" bucket.

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

### setFree

Aggregate value which falls into the "Free" bucket.

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

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