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

Represents a result from running a test case in an agent environment.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` The resource name for the continuous test result. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/continuousTestResults/<ContinuousTestResultID>`. |
| `↳ result` | `int` The result of this continuous test run, i.e. whether all the tests in this continuous test run pass or not. |
| `↳ test_case_results` | `string[]` A list of individual test case results names in this continuous test run. |
| `↳ run_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Time when the continuous testing run starts. |

### getName

The resource name for the continuous test result. Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/continuousTestResults/<ContinuousTestResultID>`.

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

### setName

The resource name for the continuous test result. Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/continuousTestResults/<ContinuousTestResultID>`.

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

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

### getResult

The result of this continuous test run, i.e. whether all the tests in this
continuous test run pass or not.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [AggregatedTestResult](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.ContinuousTestResult.AggregatedTestResult). |

### setResult

The result of this continuous test run, i.e. whether all the tests in this
continuous test run pass or not.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [AggregatedTestResult](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.ContinuousTestResult.AggregatedTestResult). |

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

### getTestCaseResults

A list of individual test case results names in this continuous test run.

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

### setTestCaseResults

A list of individual test case results names in this continuous test run.

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

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

### getRunTime

Time when the continuous testing run starts.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasRunTime

### clearRunTime

### setRunTime

Time when the continuous testing run starts.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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