# Google Cloud Network Services V1 Client - Class ListGrpcRoutesResponse (0.8.2)

0.8.2 (latest) 0.8.1 0.7.1 0.6.1 0.5.0 0.4.0 0.3.0 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Network Services V1 Client class ListGrpcRoutesResponse.

Response returned by the ListGrpcRoutes method.

Generated from protobuf message `google.cloud.networkservices.v1.ListGrpcRoutesResponse`

## Namespace

Google \\ Cloud \\ NetworkServices \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ grpc_routes` | `array<GrpcRoute>` List of GrpcRoute resources. |
| `↳ next_page_token` | `string` If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`. |
| `↳ unreachable` | `string[]` Unreachable resources. Populated when the request opts into [return_partial_success](https://docs.cloud.google.com/php/docs/reference/cloud-networkservices/latest/V1.ListGrpcRoutesRequest#_Google_Cloud_NetworkServices_V1_ListGrpcRoutesRequest__getReturnPartialSuccess__) and reading across collections e.g. when attempting to list all resources across all supported locations. |

### getGrpcRoutes

List of GrpcRoute resources.

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

### setGrpcRoutes

List of GrpcRoute resources.

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

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

### getNextPageToken

If there might be more results than those appearing in this response, then
`next_page_token` is included. To get the next set of results, call this
method again using the value of `next_page_token` as `page_token`.

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

### setNextPageToken

If there might be more results than those appearing in this response, then
`next_page_token` is included. To get the next set of results, call this
method again using the value of `next_page_token` as `page_token`.

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

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

### getUnreachable

Unreachable resources. Populated when the request opts into
[return_partial_success](https://docs.cloud.google.com/php/docs/reference/cloud-networkservices/latest/V1.ListGrpcRoutesRequest#_Google_Cloud_NetworkServices_V1_ListGrpcRoutesRequest__getReturnPartialSuccess__)
and reading across collections e.g. when attempting to list all resources
across all supported locations.

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

### setUnreachable

Unreachable resources. Populated when the request opts into
[return_partial_success](https://docs.cloud.google.com/php/docs/reference/cloud-networkservices/latest/V1.ListGrpcRoutesRequest#_Google_Cloud_NetworkServices_V1_ListGrpcRoutesRequest__getReturnPartialSuccess__)
and reading across collections e.g. when attempting to list all resources
across all supported locations.

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

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