# Google Cloud Resource Manager V3 Client - Class ListFoldersResponse (1.1.3)

1.1.3 (latest) 1.1.2 1.0.4 0.8.5 0.7.2 0.6.1 0.5.0 0.4.1 0.3.9 Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class ListFoldersResponse.

The ListFolders response message.

Generated from protobuf message `google.cloud.resourcemanager.v3.ListFoldersResponse`

## Namespace

Google \\ Cloud \\ ResourceManager \\ V3

## 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-resource-manager/latest/V3.Folder>` A possibly paginated list of folders that are direct descendants of the specified parent resource. |
| `↳ next_page_token` | `string` A pagination token returned from a previous call to `ListFolders` that indicates from where listing should continue. |

### getFolders

A possibly paginated list of folders that are direct descendants of
the specified parent resource.

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

### setFolders

A possibly paginated list of folders that are direct descendants of
the specified parent resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-resource-manager/latest/V3.Folder>` |

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

### getNextPageToken

A pagination token returned from a previous call to `ListFolders`
that indicates from where listing should continue.

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

### setNextPageToken

A pagination token returned from a previous call to `ListFolders`
that indicates from where listing should continue.

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

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