Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class TestConfig.
Represents configurations for a test case.
Generated from protobuf messagegoogle.cloud.dialogflow.cx.v3.TestConfig
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3
Methods
__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:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>. Only one offlowandpageshould 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.
↳ page
string
Thepageto start the test case with. Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>. Only one offlowandpageshould 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.
getTrackingParameters
Session parameters to be compared when calculating differences.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.
Only one offlowandpageshould 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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.
Only one offlowandpageshould 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.
Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>.
Only one offlowandpageshould 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.
Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>.
Only one offlowandpageshould 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow Cx V3 Client - Class TestConfig (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.TestConfig)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.TestConfig)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.TestConfig)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.TestConfig)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.TestConfig)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.TestConfig)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.TestConfig)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.TestConfig)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.TestConfig) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class TestConfig.\n\nRepresents configurations for a test case.\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.TestConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getTrackingParameters\n\nSession parameters to be compared when calculating differences.\n\n### setTrackingParameters\n\nSession parameters to be compared when calculating differences.\n\n### getFlow\n\nFlow name to start the test case with.\n\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/flows/\u003cFlowID\u003e`.\nOnly one of `flow` and `page` should be set to indicate the starting point\nof the test case. If neither is set, the test case will start with start\npage on the default start flow.\n\n### setFlow\n\nFlow name to start the test case with.\n\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/flows/\u003cFlowID\u003e`.\nOnly one of `flow` and `page` should be set to indicate the starting point\nof the test case. If neither is set, the test case will start with start\npage on the default start flow.\n\n### getPage\n\nThe [page](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Page) to start the test case with.\n\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/flows/\u003cFlowID\u003e/pages/\u003cPageID\u003e`.\nOnly one of `flow` and `page` should be set to indicate the starting point\nof the test case. If neither is set, the test case will start with start\npage on the default start flow.\n\n### setPage\n\nThe [page](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Page) to start the test case with.\n\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/flows/\u003cFlowID\u003e/pages/\u003cPageID\u003e`.\nOnly one of `flow` and `page` should be set to indicate the starting point\nof the test case. If neither is set, the test case will start with start\npage on the default start flow."]]