Some products and features are in the process of being renamed. Generative playbook and flow features are also being migrated to a single consolidated console. See the details.
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.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
TestResult
The test result for a test case and an agent environment.
[[["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-08-21 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eTestCaseResult\u003c/code\u003e resource, which represents the outcome of a test case execution within an agent environment.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTestCaseResult\u003c/code\u003e contains information such as the test's name, the environment in which it was run, the conversation turns, the test result (\u003ccode\u003ePASSED\u003c/code\u003e or \u003ccode\u003eFAILED\u003c/code\u003e), and the timestamp of the test.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of \u003ccode\u003eTestCaseResult\u003c/code\u003e includes fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003eenvironment\u003c/code\u003e, \u003ccode\u003econversationTurns\u003c/code\u003e, \u003ccode\u003etestResult\u003c/code\u003e, and \u003ccode\u003etestTime\u003c/code\u003e, with specific formats and data types for each.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTestResult\u003c/code\u003e enum defines the possible outcomes of a test case: \u003ccode\u003eTEST_RESULT_UNSPECIFIED\u003c/code\u003e, \u003ccode\u003ePASSED\u003c/code\u003e, and \u003ccode\u003eFAILED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are two methods that can be used to interact with the test case results, \u003ccode\u003eget\u003c/code\u003e to retrieve a specific result and \u003ccode\u003elist\u003c/code\u003e to get all the results for a given test case.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.locations.agents.testCases.results\n\n- [Resource: TestCaseResult](#TestCaseResult)\n - [JSON representation](#TestCaseResult.SCHEMA_REPRESENTATION)\n - [TestResult](#TestCaseResult.TestResult)\n- [Methods](#METHODS_SUMMARY)\n\nResource: TestCaseResult\n------------------------\n\nRepresents a result from running a test case in an agent environment.\n\n### TestResult\n\nThe test result for a test case and an agent environment."]]