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

Represents a data point tracking the count of assets allocated for a
specific Machine Series.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ machine_series` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineSeries` The Machine Series (e.g. "E2", "N2") |
| `↳ allocated_asset_count` | `int|string` Count of assets allocated to this machine series. |

### getMachineSeries

The Machine Series (e.g. "E2", "N2")

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

### hasMachineSeries

### clearMachineSeries

### setMachineSeries

The Machine Series (e.g. "E2", "N2")

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

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

### getAllocatedAssetCount

Count of assets allocated to this machine series.

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

### setAllocatedAssetCount

Count of assets allocated to this machine series.

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

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