# Google Cloud Notebooks V1 Client - Class ListRuntimesResponse (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.7.5 0.6.2 0.5.0 0.4.1 0.3.6 Reference documentation and code samples for the Google Cloud Notebooks V1 Client class ListRuntimesResponse.

Response for listing Managed Notebook Runtimes.

Generated from protobuf message `google.cloud.notebooks.v1.ListRuntimesResponse`

## Namespace

Google \\ Cloud \\ Notebooks \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ runtimes` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-notebooks/latest/V1.Runtime>` A list of returned Runtimes. |
| `↳ next_page_token` | `string` Page token that can be used to continue listing from the last result in the next list call. |
| `↳ unreachable` | `string[]` Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables, |

### getRuntimes

A list of returned Runtimes.

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

### setRuntimes

A list of returned Runtimes.

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

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

### getNextPageToken

Page token that can be used to continue listing from the last result in the
next list call.

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

### setNextPageToken

Page token that can be used to continue listing from the last result in the
next list call.

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

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

### getUnreachable

Locations that could not be reached. For example,
`['us-west1', 'us-central1']`.

A ListRuntimesResponse will only contain either runtimes or unreachables,

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

### setUnreachable

Locations that could not be reached. For example,
`['us-west1', 'us-central1']`.

A ListRuntimesResponse will only contain either runtimes or unreachables,

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

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