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 \ EnvironmentMethods
__construct
Constructor.
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>
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>
var
string[]
$this
getEnableContinuousRun
Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
bool
setEnableContinuousRun
Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
var
bool
$this
getEnablePredeploymentRun
Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
bool
setEnablePredeploymentRun
Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
var
bool
$this