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

Represents assets allocated to a specific VMWare Node type.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ vmware_node` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.ReportSummary.VmwareNode` VMWare node type, e.g. "ve1-standard-72" |
| `↳ node_count` | `int|string` Count of this node type to be provisioned |
| `↳ allocated_asset_count` | `int|string` Count of assets allocated to these nodes |

### getVmwareNode

VMWare node type, e.g. "ve1-standard-72"

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

### hasVmwareNode

### clearVmwareNode

### setVmwareNode

VMWare node type, e.g. "ve1-standard-72"

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

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

### getNodeCount

Count of this node type to be provisioned

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

### setNodeCount

Count of this node type to be provisioned

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

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

### getAllocatedAssetCount

Count of assets allocated to these nodes

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

### setAllocatedAssetCount

Count of assets allocated to these nodes

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

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