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

A Sole Tenant node type.

Generated from protobuf message `google.cloud.migrationcenter.v1.SoleTenantNodeType`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ node_name` | `string` Name of the Sole Tenant node. Consult <https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes> |

### getNodeName

Name of the Sole Tenant node. Consult
<https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes>

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

### setNodeName

Name of the Sole Tenant node. Consult
<https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes>

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

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