1.8.4 (latest) 1.7.1 1.6.3 1.5.0 1.4.1 1.3.0 1.2.0 1.1.3 1.0.0 0.10.3 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.3 Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class Node.

Details of a single node in the instance.

Nodes in an AlloyDB instance are ephemeral, they can change during
update, failover, autohealing and resize operations.

Generated from protobuf message `google.cloud.alloydb.v1.Instance.Node`

## Namespace

Google \\ Cloud \\ AlloyDb \\ V1 \\ Instance

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ zone_id` | `string` Output only. The Compute Engine zone of the VM e.g. "us-central1-b". |
| `↳ id` | `string` Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l". |
| `↳ ip` | `string` Output only. The private IP address of the VM e.g. "10.57.0.34". |
| `↳ state` | `string` Output only. Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in <https://cloud.google.com/compute/docs/instances/instance-life-cycle> and postgres-service health can have values: HEALTHY and UNHEALTHY. |

### getZoneId

Output only. The Compute Engine zone of the VM e.g. "us-central1-b".

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

### setZoneId

Output only. The Compute Engine zone of the VM e.g. "us-central1-b".

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

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

### getId

Output only. The identifier of the VM e.g.

"test-read-0601-407e52be-ms3l".

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

### setId

Output only. The identifier of the VM e.g.

"test-read-0601-407e52be-ms3l".

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

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

### getIp

Output only. The private IP address of the VM e.g. "10.57.0.34".

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

### setIp

Output only. The private IP address of the VM e.g. "10.57.0.34".

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

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

### getState

Output only. Determined by state of the compute VM and postgres-service
health. Compute VM state can have values listed in
<https://cloud.google.com/compute/docs/instances/instance-life-cycle> and
postgres-service health can have values: HEALTHY and UNHEALTHY.

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

### setState

Output only. Determined by state of the compute VM and postgres-service
health. Compute VM state can have values listed in
<https://cloud.google.com/compute/docs/instances/instance-life-cycle> and
postgres-service health can have values: HEALTHY and UNHEALTHY.

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

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