Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class TestConfig.
Represents configurations for a test case.
Generated from protobuf message google.cloud.dialogflow.cx.v3.TestConfig
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ tracking_parameters |
array
Session parameters to be compared when calculating differences. |
↳ flow |
string
Flow name to start the test case with. Format: |
↳ page |
string
The page to start the test case with. Format: |
getTrackingParameters
Session parameters to be compared when calculating differences.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setTrackingParameters
Session parameters to be compared when calculating differences.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getFlow
Flow name to start the test case with.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If neither is set, the test case will start with start
page on the default start flow.
Returns | |
---|---|
Type | Description |
string |
setFlow
Flow name to start the test case with.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If neither is set, the test case will start with start
page on the default start flow.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPage
The page to start the test case with.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If neither is set, the test case will start with start
page on the default start flow.
Returns | |
---|---|
Type | Description |
string |
setPage
The page to start the test case with.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If neither is set, the test case will start with start
page on the default start flow.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |