public sealed class CreateTestCaseRequest : IMessage<CreateTestCaseRequest>, IEquatable<CreateTestCaseRequest>, IDeepCloneable<CreateTestCaseRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class CreateTestCaseRequest.
The request message for
[TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eCreateTestCaseRequest\u003c/code\u003e class within the Google.Cloud.Dialogflow.Cx.V3 namespace, spanning versions from 1.0.0 to the latest 2.23.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateTestCaseRequest\u003c/code\u003e class is used to create test cases for Dialogflow agents and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that accepts another \u003ccode\u003eCreateTestCaseRequest\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eParent\u003c/code\u003e, which specifies the agent to create the test case for in a specific format, and \u003ccode\u003eTestCase\u003c/code\u003e, which defines the test case to be created.\u003c/p\u003e\n"],["\u003cp\u003eThere is also the \u003ccode\u003eParentAsAgentName\u003c/code\u003e property, which is an \u003ccode\u003eAgentName\u003c/code\u003e-typed view over the \u003ccode\u003eParent\u003c/code\u003e resource name.\u003c/p\u003e\n"]]],[],null,[]]