# Google Cloud Network Services V1 Client - Class ListGatewayRouteViewsRequest (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 ListGatewayRouteViewsRequest.

Request used with the ListGatewayRouteViews method.

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

## Namespace

Google \\ Cloud \\ NetworkServices \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The Gateway to which a Route is associated. Formats: projects/{project}/locations/{location}/gateways/{gateway} |
| `↳ page_size` | `int` Maximum number of GatewayRouteViews to return per call. |
| `↳ page_token` | `string` The value returned by the last `ListGatewayRouteViewsResponse` Indicates that this is a continuation of a prior `ListGatewayRouteViews` call, and that the system should return the next page of data. |

### getParent

Required. The Gateway to which a Route is associated.

Formats:
projects/{project}/locations/{location}/gateways/{gateway}

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

### setParent

Required. The Gateway to which a Route is associated.

Formats:
projects/{project}/locations/{location}/gateways/{gateway}

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

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

### getPageSize

Maximum number of GatewayRouteViews to return per call.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

Maximum number of GatewayRouteViews to return per call.

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

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

### getPageToken

The value returned by the last `ListGatewayRouteViewsResponse`
Indicates that this is a continuation of a prior `ListGatewayRouteViews`
call, and that the system should return the next page of data.

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

### setPageToken

The value returned by the last `ListGatewayRouteViewsResponse`
Indicates that this is a continuation of a prior `ListGatewayRouteViews`
call, and that the system should return the next page of data.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The Gateway to which a Route is associated. Formats: projects/{project}/locations/{location}/gateways/{gateway} Please see NetworkServicesClient::gatewayName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-networkservices/latest/V1.ListGatewayRouteViewsRequest` |   |