Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class TestCaseResult.
Represents a result from running a test case in an agent environment.
Generated from protobuf message google.cloud.dialogflow.cx.v3.TestCaseResult
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The resource name for the test case result. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>
.
↳ environment
string
Environment where the test was run. If not set, it indicates the draft environment.
↳ conversation_turns
array< ConversationTurn
>
The conversation turns uttered during the test case replay in chronological order.
↳ test_result
int
Whether the test case passed in the agent environment.
↳ test_time
getName
The resource name for the test case result. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>
.
string
setName
The resource name for the test case result. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>
.
var
string
$this
getEnvironment
Environment where the test was run. If not set, it indicates the draft environment.
string
setEnvironment
Environment where the test was run. If not set, it indicates the draft environment.
var
string
$this
getConversationTurns
The conversation turns uttered during the test case replay in chronological order.
setConversationTurns
The conversation turns uttered during the test case replay in chronological order.
$this
getTestResult
Whether the test case passed in the agent environment.
int
setTestResult
Whether the test case passed in the agent environment.
var
int
$this
getTestTime
The time that the test was run.
hasTestTime
clearTestTime
setTestTime
The time that the test was run.
$this