Send feedback
REST Resource: projects.locations.agents.testCases.results
Stay organized with collections
Save and categorize content based on your preferences.
Resource: TestCaseResult
Represents a result from running a test case in an agent environment.
JSON representation
{
"name" : string ,
"environment" : string ,
"conversationTurns" : [
{
object (ConversationTurn
)
}
] ,
"testResult" : enum (TestResult
) ,
"testTime" : string
}
Fields
name
string
The resource name for the test case result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/
<TestCase ID>/results/<TestCaseResult ID>
.
environment
string
Environment where the test was run. If not set, it indicates the draft environment.
conversationTurns[]
object (ConversationTurn
)
The conversation turns uttered during the test case replay in chronological order.
testResult
enum (TestResult
)
Whether the test case passed in the agent environment.
testTime
string (Timestamp
format)
The time that the test was run.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z"
and "2014-10-02T15:01:23.045123456Z"
.
TestResult
The test result for a test case and an agent environment.
Enums
TEST_RESULT_UNSPECIFIED
Not specified. Should never be used.
PASSED
The test passed.
FAILED
The test did not pass.
Methods
Gets a test case result.
Fetches the list of run results for the given test case.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-03 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?