The unique identifier of the test case.
[TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase]
will populate the name automatically. Otherwise use format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>.
Tags are short descriptions that users may apply to test cases for
organizational and filtering purposes. Each tag should start with "#" and
has a limit of 30 characters.
public RepeatedField<ConversationTurn> TestCaseConversationTurns { get; }
The conversation turns uttered when the test case was created, in
chronological order. These include the canonical set of agent utterances
that should occur when the agent is working properly.
[[["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-28 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eTestCase\u003c/code\u003e class within the Google Cloud Dialogflow CX v3 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTestCase\u003c/code\u003e class represents a test case within the Dialogflow CX framework, and the documentation outlines its properties, constructors, and implemented interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e2.23.0\u003c/code\u003e, but a comprehensive list of versions going all the way back to \u003ccode\u003e1.0.0\u003c/code\u003e is provided, each linking to its corresponding documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes details about the properties of a \u003ccode\u003eTestCase\u003c/code\u003e, such as \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eCreationTime\u003c/code\u003e, \u003ccode\u003eLastTestResult\u003c/code\u003e, \u003ccode\u003eNotes\u003c/code\u003e, \u003ccode\u003eTags\u003c/code\u003e, \u003ccode\u003eTestCaseConversationTurns\u003c/code\u003e, \u003ccode\u003eTestCaseName\u003c/code\u003e, and \u003ccode\u003eTestConfig\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage also details the inheritance hierarchy and implemented interfaces of the \u003ccode\u003eTestCase\u003c/code\u003e class, providing a clear understanding of its structure and capabilities.\u003c/p\u003e\n"]]],[],null,["# Dialogflow v3 API - Class TestCase (2.24.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.24.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.23.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.23.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.22.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.22.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.21.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.21.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.20.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.20.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.19.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.19.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.18.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.18.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.17.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.16.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.15.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.14.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.13.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.12.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.11.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.10.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.9.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.8.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.7.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.6.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.5.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.4.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.3.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.2.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.1.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.0.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.13.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.12.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.11.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.10.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.9.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.8.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.7.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.6.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.5.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.4.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.3.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.2.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.1.0/Google.Cloud.Dialogflow.Cx.V3.TestCase)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.0.0/Google.Cloud.Dialogflow.Cx.V3.TestCase) \n\n public sealed class TestCase : IMessage\u003cTestCase\u003e, IEquatable\u003cTestCase\u003e, IDeepCloneable\u003cTestCase\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dialogflow v3 API class TestCase.\n\nRepresents a test case. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TestCase \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TestCase](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.TestCase), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TestCase](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.TestCase), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TestCase](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.TestCase), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dialogflow.Cx.V3](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3)\n\nAssembly\n--------\n\nGoogle.Cloud.Dialogflow.Cx.V3.dll\n\nConstructors\n------------\n\n### TestCase()\n\n public TestCase()\n\n### TestCase(TestCase)\n\n public TestCase(TestCase other)\n\nProperties\n----------\n\n### CreationTime\n\n public Timestamp CreationTime { get; set; }\n\nOutput only. When the test was created.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nRequired. The human-readable name of the test case, unique within the\nagent. Limit of 200 characters.\n\n### LastTestResult\n\n public TestCaseResult LastTestResult { get; set; }\n\nThe latest test result.\n\n### Name\n\n public string Name { get; set; }\n\nThe unique identifier of the test case.\n\\[TestCases.CreateTestCase\\]\\[google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase\\]\nwill populate the name automatically. Otherwise use format:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/testCases/\u003cTestCaseID\u003e`.\n\n### Notes\n\n public string Notes { get; set; }\n\nAdditional freeform notes about the test case. Limit of 400 characters.\n\n### Tags\n\n public RepeatedField\u003cstring\u003e Tags { get; }\n\nTags are short descriptions that users may apply to test cases for\norganizational and filtering purposes. Each tag should start with \"#\" and\nhas a limit of 30 characters.\n\n### TestCaseConversationTurns\n\n public RepeatedField\u003cConversationTurn\u003e TestCaseConversationTurns { get; }\n\nThe conversation turns uttered when the test case was created, in\nchronological order. These include the canonical set of agent utterances\nthat should occur when the agent is working properly.\n\n### TestCaseName\n\n public TestCaseName TestCaseName { get; set; }\n\n[TestCaseName](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.TestCaseName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.TestCase#Google_Cloud_Dialogflow_Cx_V3_TestCase_Name) resource name property.\n\n### TestConfig\n\n public TestConfig TestConfig { get; set; }\n\nConfig for the test case."]]