Google Cloud Dialogflow Cx V3 Client - Class ContinuousTestResult (0.2.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The resource name for the continuous test result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/continuousTestResults/<ContinuousTestResult ID>.

↳ 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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getResult

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

Returns
TypeDescription
int

setResult

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getTestCaseResults

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTestCaseResults

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getRunTime

Time when the continuous testing run starts.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasRunTime

clearRunTime

setRunTime

Time when the continuous testing run starts.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this