# Google Cloud Dialogflow Cx V3 Client - Class TestConfig (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 TestConfig.

Represents configurations for a test case.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tracking_parameters` | `string[]` Session parameters to be compared when calculating differences. |
| `↳ flow` | `string` Flow name to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. |
| `↳ page` | `string` The [page](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Page) to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. |

### getTrackingParameters

Session parameters to be compared when calculating differences.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setTrackingParameters

Session parameters to be compared when calculating differences.

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

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

### getFlow

Flow name to start the test case with.

Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
Only one of `flow` and `page` should be set to indicate the starting point
of the test case. If neither is set, the test case will start with start
page on the default start flow.

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

### setFlow

Flow name to start the test case with.

Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
Only one of `flow` and `page` should be set to indicate the starting point
of the test case. If neither is set, the test case will start with start
page on the default start flow.

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

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

### getPage

The [page](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Page) to start the test case with.

Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
Only one of `flow` and `page` should be set to indicate the starting point
of the test case. If neither is set, the test case will start with start
page on the default start flow.

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

### setPage

The [page](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Page) to start the test case with.

Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
Only one of `flow` and `page` should be set to indicate the starting point
of the test case. If neither is set, the test case will start with start
page on the default start flow.

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

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