public sealed class GetDocumentRequest : IMessage<GetDocumentRequest>, IEquatable<GetDocumentRequest>, IDeepCloneable<GetDocumentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class GetDocumentRequest.
Request message for
[Documents.GetDocument][google.cloud.dialogflow.v2.Documents.GetDocument].
Required. The name of the document to retrieve.
Format projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>.
[[["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\u003eGetDocumentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for version 4.17.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetDocumentRequest\u003c/code\u003e is used to send a request for retrieving a document, as part of the \u003ccode\u003eDocuments.GetDocument\u003c/code\u003e method in the Google Cloud Dialogflow v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetDocumentRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<GetDocumentRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<GetDocumentRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and one that takes another \u003ccode\u003eGetDocumentRequest\u003c/code\u003e object, enabling the creation of a new \u003ccode\u003eGetDocumentRequest\u003c/code\u003e based on an existing one.\u003c/p\u003e\n"],["\u003cp\u003eThe key properties for \u003ccode\u003eGetDocumentRequest\u003c/code\u003e are \u003ccode\u003eDocumentName\u003c/code\u003e, which is a view over the resource name property, and \u003ccode\u003eName\u003c/code\u003e, a string that is the required document name to retrieve in a specific format.\u003c/p\u003e\n"]]],[],null,[]]