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 \ V3Methods
__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: |
↳ 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 |
array
A list of individual test case results names in this continuous test run. |
↳ run_time |
Google\Protobuf\Timestamp
Time when the continuous testing run starts. |
getName
The resource name for the continuous test result. Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment
ID>/continuousTestResults/<ContinuousTestResult ID>
.
Returns | |
---|---|
Type | Description |
string |
setName
The resource name for the continuous test result. Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment
ID>/continuousTestResults/<ContinuousTestResult ID>
.
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 |
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
|
Returns | |
---|---|
Type | Description |
$this |
getTestCaseResults
A list of individual test case results names in this continuous test run.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
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 |
Google\Protobuf\Timestamp|null |
hasRunTime
clearRunTime
setRunTime
Time when the continuous testing run starts.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |