One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.
| JSON representation | 
|---|
| { "userInput": { object ( | 
| Fields | |
|---|---|
| userInput | 
 The user input. | 
| virtualAgentOutput | 
 The virtual agent output. | 
UserInput
The input from the human user.
| JSON representation | 
|---|
| {
  "input": {
    object ( | 
| Fields | |
|---|---|
| input | 
 Supports  | 
| injectedParameters | 
 Parameters that need to be injected into the conversation during intent detection. | 
| isWebhookEnabled | 
 If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled. | 
| enableSentimentAnalysis | 
 Whether sentiment analysis is enabled. | 
VirtualAgentOutput
The output from the virtual agent.
| JSON representation | 
|---|
| { "sessionParameters": { object }, "differences": [ { object ( | 
| Fields | |
|---|---|
| sessionParameters | 
 The session parameters available to the bot at this point. | 
| differences[] | 
 Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any. | 
| diagnosticInfo | 
 Required. Input only. The diagnostic [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] output for the turn. Required to calculate the testing coverage. | 
| triggeredIntent | 
 The  | 
| currentPage | 
 The  | 
| textResponses[] | 
 The  | 
| status | 
 Response error from the agent in the test result. If set, other output is empty. | 
TestRunDifference
The description of differences between original and replayed agent output.
| JSON representation | 
|---|
| {
  "type": enum ( | 
| Fields | |
|---|---|
| type | 
 The type of diff. | 
| description | 
 A human readable description of the diff, showing the actual output vs expected output. | 
DiffType
What part of the message replay differs from the test case.
| Enums | |
|---|---|
| DIFF_TYPE_UNSPECIFIED | Should never be used. | 
| INTENT | The intent. | 
| PAGE | The page. | 
| PARAMETERS | The parameters. | 
| UTTERANCE | The message utterance. | 
| FLOW | The flow. |