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 resource, \u003ccode\u003eTestCaseResult\u003c/code\u003e, represents the outcome of a test case execution within an agent environment.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of \u003ccode\u003eTestCaseResult\u003c/code\u003e includes details such as the test name, environment, conversation turns, overall test result, and the test execution time.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTestCaseResult\u003c/code\u003e contains fields like \u003ccode\u003ename\u003c/code\u003e for resource identification, \u003ccode\u003eenvironment\u003c/code\u003e to specify where the test ran, \u003ccode\u003econversationTurns\u003c/code\u003e for the chronological sequence of dialogue, \u003ccode\u003etestResult\u003c/code\u003e indicating pass/fail, and \u003ccode\u003etestTime\u003c/code\u003e for the timestamp.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTestResult\u003c/code\u003e enum defines the possible outcomes of a test, which can be either \u003ccode\u003ePASSED\u003c/code\u003e, \u003ccode\u003eFAILED\u003c/code\u003e, or \u003ccode\u003eTEST_RESULT_UNSPECIFIED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe methods available for interacting with \u003ccode\u003eTestCaseResult\u003c/code\u003e resources include \u003ccode\u003eget\u003c/code\u003e for retrieving a specific test case result and \u003ccode\u003elist\u003c/code\u003e for fetching a list of test 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."]]