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

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 .

Returns
Type
Description
$this

getTestCaseResults

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

Returns
Type
Description

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

hasRunTime

clearRunTime

setRunTime

Time when the continuous testing run starts.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: