# Google Cloud Gke Backup V1 Client - Class ListRestoreChannelsResponse (1.3.3)

1.3.3 (latest) 1.3.2 1.2.1 1.0.3 0.8.1 0.7.2 0.6.0 0.5.3 0.4.0 0.3.1 0.2.0 0.1.7 Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class ListRestoreChannelsResponse.

Response message for ListRestoreChannels.

Generated from protobuf message `google.cloud.gkebackup.v1.ListRestoreChannelsResponse`

## Namespace

Google \\ Cloud \\ GkeBackup \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ restore_channels` | `array<RestoreChannel>` The list of RestoreChannels matching the given criteria. |
| `↳ next_page_token` | `string` A token which may be sent as page_token in a subsequent `ListRestoreChannels` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return. |
| `↳ unreachable` | `string[]` Locations that could not be reached. |

### getRestoreChannels

The list of RestoreChannels matching the given criteria.

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

### setRestoreChannels

The list of RestoreChannels matching the given criteria.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<RestoreChannel>` |

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

### getNextPageToken

A token which may be sent as
page_token
in a subsequent `ListRestoreChannels` call to retrieve the next page of
results. If this field is omitted or empty, then there are no more results
to return.

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

### setNextPageToken

A token which may be sent as
page_token
in a subsequent `ListRestoreChannels` call to retrieve the next page of
results. If this field is omitted or empty, then there are no more results
to return.

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

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

### getUnreachable

Locations that could not be reached.

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

### setUnreachable

Locations that could not be reached.

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

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