# Google Cloud Notebooks V1 Client - Class ListEnvironmentsRequest (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 ListEnvironmentsRequest.

Request for listing environments.

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

## Namespace

Google \\ Cloud \\ Notebooks \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Format: `projects/{project_id}/locations/{location}` |
| `↳ page_size` | `int` Maximum return size of the list call. |
| `↳ page_token` | `string` A previous returned page token that can be used to continue listing from the last result. |

### getParent

Required. Format: `projects/{project_id}/locations/{location}`

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

### setParent

Required. Format: `projects/{project_id}/locations/{location}`

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

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

### getPageSize

Maximum return size of the list call.

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

### setPageSize

Maximum return size of the list call.

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

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

### getPageToken

A previous returned page token that can be used to continue listing from
the last result.

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

### setPageToken

A previous returned page token that can be used to continue listing from
the last result.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Format: `projects/{project_id}/locations/{location}` |

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