public sealed class CreateDocumentRequest : IMessage<CreateDocumentRequest>, IEquatable<CreateDocumentRequest>, IDeepCloneable<CreateDocumentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class CreateDocumentRequest.
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 provides reference documentation for the \u003ccode\u003eCreateDocumentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for version 4.23.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateDocumentRequest\u003c/code\u003e class is used to send a request to create a document in Dialogflow and it inherits from \u003ccode\u003eobject\u003c/code\u003e while implementing \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 page lists a range of versions of the \u003ccode\u003eCreateDocumentRequest\u003c/code\u003e class, from the latest version 4.26.0 down to 3.2.0, showing the different iterations of this class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eDocument\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsKnowledgeBaseName\u003c/code\u003e, which are essential for defining the document and its location in the knowledge base.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateDocumentRequest\u003c/code\u003e class includes two constructors: a default one, and another which clones an existing \u003ccode\u003eCreateDocumentRequest\u003c/code\u003e object, providing an easy way to copy pre-existing \u003ccode\u003eCreateDocumentRequest\u003c/code\u003e objects.\u003c/p\u003e\n"]]],[],null,[]]