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

Memory usage sample.

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

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ utilized_percentage` | `float` Percentage of system memory utilized. Must be in the interval \[0, 100\]. |

### getUtilizedPercentage

Percentage of system memory utilized. Must be in the interval \[0, 100\].

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setUtilizedPercentage

Percentage of system memory utilized. Must be in the interval \[0, 100\].

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

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