Google Cloud Dialogflow Cx V3 Client - Class TestCasesConfig (0.1.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class TestCasesConfig.

The configuration for continuous tests.

Generated from protobuf message google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ Environment

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ test_cases array

A list of test case names to run. They should be under the same agent. Format of each test case name: projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>

↳ enable_continuous_run bool

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

↳ enable_predeployment_run bool

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

getTestCases

A list of test case names to run. They should be under the same agent.

Format of each test case name: projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTestCases

A list of test case names to run. They should be under the same agent.

Format of each test case name: projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getEnableContinuousRun

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

Returns
TypeDescription
bool

setEnableContinuousRun

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getEnablePredeploymentRun

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

Returns
TypeDescription
bool

setEnablePredeploymentRun

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this