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 webpage provides reference documentation for the \u003ccode\u003eCreateDocumentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for version 4.19.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 is an implementation of multiple 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 documentation lists previous versions of the API from 4.26.0 down to 3.2.0, showing that this class has existed in all of them.\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, with the parent properties allowing users to specify the knowledge base the document will reside in, and the \u003ccode\u003eDocument\u003c/code\u003e property as the document to be created.\u003c/p\u003e\n"],["\u003cp\u003eThe page highlights that this class inherits from the \u003ccode\u003eobject\u003c/code\u003e class, and provides methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]