# Google Cloud Network Connectivity V1 Client - Class ListRouteTablesResponse (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.0 2.2.2 2.1.2 2.0.2 1.5.5 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class ListRouteTablesResponse.

Response for
[HubService.ListRouteTables](https://docs.cloud.google.com/php/docs/reference/cloud-network-connectivity/latest/V1.Client.HubServiceClient#_Google_Cloud_NetworkConnectivity_V1_Client_HubServiceClient__listRouteTables__)
method.

Generated from protobuf message `google.cloud.networkconnectivity.v1.ListRouteTablesResponse`

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ route_tables` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-network-connectivity/latest/V1.RouteTable>` The requested route tables. |
| `↳ next_page_token` | `string` The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results. |
| `↳ unreachable` | `string[]` Hubs that could not be reached. |

### getRouteTables

The requested route tables.

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

### setRouteTables

The requested route tables.

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

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

### getNextPageToken

The token for the next page of the response. To see more results,
use this value as the page_token for your next request. If this value
is empty, there are no more results.

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

### setNextPageToken

The token for the next page of the response. To see more results,
use this value as the page_token for your next request. If this value
is empty, there are no more results.

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

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

### getUnreachable

Hubs that could not be reached.

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

### setUnreachable

Hubs that could not be reached.

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

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