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\u003eThe page provides reference documentation for the \u003ccode\u003eCreateTestCaseRequest\u003c/code\u003e class within the Dialogflow v3 API, specifically for the .NET environment, covering versions from 1.0.0 up to the latest version 2.23.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateTestCaseRequest\u003c/code\u003e is used to create a test case in the Dialogflow CX environment via the \u003ccode\u003eTestCases.CreateTestCase\u003c/code\u003e function, serving as the request message.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateTestCaseRequest\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showcasing its robust functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003eCreateTestCaseRequest()\u003c/code\u003e and \u003ccode\u003eCreateTestCaseRequest(CreateTestCaseRequest other)\u003c/code\u003e, for creating new instances and cloning existing ones, along with two properties, Parent and TestCase, which are required for the request to properly function.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property, of string type, specifies the agent for which the test case will be created, while the \u003ccode\u003eTestCase\u003c/code\u003e property, of \u003ccode\u003eTestCase\u003c/code\u003e type, represents the test case that will be added.\u003c/p\u003e\n"]]],[],null,[]]