public sealed class CreateDocumentRequest : IMessage<CreateDocumentRequest>, IEquatable<CreateDocumentRequest>, IDeepCloneable<CreateDocumentRequest>, IBufferMessage, IMessage
Request message for [Documents.CreateDocument][google.cloud.dialogflow.v2.Documents.CreateDocument].
[[["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 page details the \u003ccode\u003eCreateDocumentRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, specifically for version 3.8.0 and later, which is used to send requests to create new documents.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 4.26.0, with a history of previous versions listed from 4.25.0 down to 3.2.0, allowing access to prior releases of the class and its documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateDocumentRequest\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and 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, for message handling, equality comparison, deep cloning, and buffered messages.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors and two main properties, \u003ccode\u003eDocument\u003c/code\u003e (the document to be created) and \u003ccode\u003eParent\u003c/code\u003e (the knowledge base where the document will reside), with an additional property, \u003ccode\u003eParentAsKnowledgeBaseName\u003c/code\u003e being a typed view over \u003ccode\u003eParent\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document's parent property requires a specific format that includes a project ID, location ID, and a knowledge base ID, used to specify the location where the document should be placed.\u003c/p\u003e\n"]]],[],null,[]]