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

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 \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
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: 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 both are set, page takes precedence over flow. If neither is set, the test case will start with start page on the default start flow.

↳ page string

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 both are set, page takes precedence over flow. If neither is set, the test case will start with start page on the default start flow.

getTrackingParameters

Session parameters to be compared when calculating differences.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTrackingParameters

Session parameters to be compared when calculating differences.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$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 both are set, page takes precedence over flow. If neither is set, the test case will start with start page on the default start flow.

Returns
TypeDescription
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 both are set, page takes precedence over flow. If neither is set, the test case will start with start page on the default start flow.

Parameter
NameDescription
var string
Returns
TypeDescription
$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 both are set, page takes precedence over flow. If neither is set, the test case will start with start page on the default start flow.

Returns
TypeDescription
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 both are set, page takes precedence over flow. If neither is set, the test case will start with start page on the default start flow.

Parameter
NameDescription
var string
Returns
TypeDescription
$this