# Google Cloud Vmware Engine V1 Client - Class NodeTypeConfig (1.3.0)

1.3.0 (latest) 1.2.2 1.1.4 1.0.0 0.5.6 0.4.0 0.3.3 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class NodeTypeConfig.

Information about the type and number of nodes associated with the cluster.

Generated from protobuf message `google.cloud.vmwareengine.v1.NodeTypeConfig`

## Namespace

Google \\ Cloud \\ VmwareEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ node_count` | `int` Required. The number of nodes of this type in the cluster |
| `↳ custom_core_count` | `int` Optional. Customized number of cores available to each node of the type. This number must always be one of `nodeType.availableCustomCoreCounts`. If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used. |

### getNodeCount

Required. The number of nodes of this type in the cluster

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

### setNodeCount

Required. The number of nodes of this type in the cluster

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

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

### getCustomCoreCount

Optional. Customized number of cores available to each node of the type.

This number must always be one of `nodeType.availableCustomCoreCounts`.
If zero is provided max value from `nodeType.availableCustomCoreCounts`
will be used.

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

### setCustomCoreCount

Optional. Customized number of cores available to each node of the type.

This number must always be one of `nodeType.availableCustomCoreCounts`.
If zero is provided max value from `nodeType.availableCustomCoreCounts`
will be used.

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

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