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

The result of a frequency distribution aggregation.

Generated from protobuf message `google.cloud.migrationcenter.v1.AggregationResult.Frequency`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1 \\ AggregationResult

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ values` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

### getValues

Generated from protobuf field `map<string, int64> values = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setValues

Generated from protobuf field `map<string, int64> values = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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