# Google Cloud Lustre V1 Client - Class ListInstancesResponse (0.4.0)

0.4.0 (latest) 0.3.2 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Lustre V1 Client class ListInstancesResponse.

Message for response to listing Instances

Generated from protobuf message `google.cloud.lustre.v1.ListInstancesResponse`

## Namespace

Google \\ Cloud \\ Lustre \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ instances` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-lustre/latest/V1.Instance>` Response from [ListInstances](https://docs.cloud.google.com/php/docs/reference/cloud-lustre/latest/V1.Client.LustreClient#_Google_Cloud_Lustre_V1_Client_LustreClient__listInstances__). |
| `↳ next_page_token` | `string` A token identifying a page of results the server should return. |
| `↳ unreachable` | `string[]` Unordered list. Locations that could not be reached. |

### getInstances

Response from [ListInstances](https://docs.cloud.google.com/php/docs/reference/cloud-lustre/latest/V1.Client.LustreClient#_Google_Cloud_Lustre_V1_Client_LustreClient__listInstances__).

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

### setInstances

Response from [ListInstances](https://docs.cloud.google.com/php/docs/reference/cloud-lustre/latest/V1.Client.LustreClient#_Google_Cloud_Lustre_V1_Client_LustreClient__listInstances__).

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

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

### getNextPageToken

A token identifying a page of results the server should return.

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

### setNextPageToken

A token identifying a page of results the server should return.

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

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

### getUnreachable

Unordered list. Locations that could not be reached.

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

### setUnreachable

Unordered list. Locations that could not be reached.

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

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