# Google Cloud Storage Control V2 Client - Class ListFoldersResponse (1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.3 1.5.0 1.4.1 1.3.0 1.1.0 1.0.3 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Storage Control V2 Client class ListFoldersResponse.

Response message for ListFolders.

Generated from protobuf message `google.storage.control.v2.ListFoldersResponse`

## Namespace

Google \\ Cloud \\ Storage \\ Control \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ folders` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.Folder>` The list of child folders |
| `↳ next_page_token` | `string` The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. |

### getFolders

The list of child folders

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.Folder>` |   |

### setFolders

The list of child folders

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.Folder>` |

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

### getNextPageToken

The continuation token, used to page through large result sets. Provide
this value in a subsequent request to return the next page of results.

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

### setNextPageToken

The continuation token, used to page through large result sets. Provide
this value in a subsequent request to return the next page of results.

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

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