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

A set of findings that applies to assets destined for Compute Engine.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ allocated_regions` | `string[]` Set of regions in which the assets were allocated. |
| `↳ allocated_asset_count` | `int|string` Count of assets which were allocated. |
| `↳ machine_series_allocations` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.ReportSummary.MachineSeriesAllocation>` Distribution of assets based on the Machine Series. |
| `↳ allocated_disk_types` | `int[]` Set of disk types allocated to assets. |

### getAllocatedRegions

Set of regions in which the assets were allocated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setAllocatedRegions

Set of regions in which the assets were allocated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

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

### getAllocatedAssetCount

Count of assets which were allocated.

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

### setAllocatedAssetCount

Count of assets which were allocated.

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

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

### getMachineSeriesAllocations

Distribution of assets based on the Machine Series.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.ReportSummary.MachineSeriesAllocation>` |   |

### setMachineSeriesAllocations

Distribution of assets based on the Machine Series.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.ReportSummary.MachineSeriesAllocation>` |

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

### getAllocatedDiskTypes

Set of disk types allocated to assets.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### setAllocatedDiskTypes

Set of disk types allocated to assets.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

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