Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class TestCase.
Represents a test case.
Generated from protobuf message google.cloud.dialogflow.cx.v3.TestCase
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The unique identifier of the test case. TestCases.CreateTestCase
will populate the name automatically. Otherwise use format: projects/<Project ID>/locations/<LocationID>/agents/ <AgentID>/testCases/<TestCase ID>
.
↳ tags
array
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with "#" and has a limit of 30 characters.
↳ display_name
string
Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.
↳ notes
string
Additional freeform notes about the test case. Limit of 400 characters.
↳ test_config
↳ test_case_conversation_turns
array< Google\Cloud\Dialogflow\Cx\V3\ConversationTurn
>
The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.
↳ creation_time
↳ last_test_result
getName
The unique identifier of the test case.
TestCases.CreateTestCase
will populate the name automatically. Otherwise use format: projects/<Project ID>/locations/<LocationID>/agents/
<AgentID>/testCases/<TestCase ID>
.
string
setName
The unique identifier of the test case.
TestCases.CreateTestCase
will populate the name automatically. Otherwise use format: projects/<Project ID>/locations/<LocationID>/agents/
<AgentID>/testCases/<TestCase ID>
.
var
string
$this
getTags
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with "#" and has a limit of 30 characters.
setTags
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with "#" and has a limit of 30 characters.
var
string[]
$this
getDisplayName
Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.
string
setDisplayName
Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.
var
string
$this
getNotes
Additional freeform notes about the test case. Limit of 400 characters.
string
setNotes
Additional freeform notes about the test case. Limit of 400 characters.
var
string
$this
getTestConfig
Config for the test case.
hasTestConfig
clearTestConfig
setTestConfig
Config for the test case.
$this
getTestCaseConversationTurns
The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.
setTestCaseConversationTurns
The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.
$this
getCreationTime
Output only. When the test was created.
hasCreationTime
clearCreationTime
setCreationTime
Output only. When the test was created.
$this
getLastTestResult
The latest test result.
hasLastTestResult
clearLastTestResult
setLastTestResult
The latest test result.
$this