# Google Cloud Dialogflow Cx V3 Client - Class ListExperimentsResponse (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ListExperimentsResponse.

The response message for
[Experiments.ListExperiments](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.ExperimentsClient#_Google_Cloud_Dialogflow_Cx_V3_Client_ExperimentsClient__listExperiments__).

Generated from protobuf message `google.cloud.dialogflow.cx.v3.ListExperimentsResponse`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ experiments` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Experiment>` The list of experiments. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page. |
| `↳ next_page_token` | `string` Token to retrieve the next page of results, or empty if there are no more results in the list. |

### getExperiments

The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.

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

### setExperiments

The list of experiments. There will be a maximum number of items
returned based on the page_size field in the request. The list may in some
cases be empty or contain fewer entries than page_size even if this isn't
the last page.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Experiment>` |

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

### getNextPageToken

Token to retrieve the next page of results, or empty if there are no more
results in the list.

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

### setNextPageToken

Token to retrieve the next page of results, or empty if there are no more
results in the list.

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

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