public sealed class GetDocumentRequest : IMessage<GetDocumentRequest>, IEquatable<GetDocumentRequest>, IDeepCloneable<GetDocumentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class GetDocumentRequest.
Request message for
[DocumentService.GetDocument][google.cloud.discoveryengine.v1.DocumentService.GetDocument]
method.
Required. Full resource name of
[Document][google.cloud.discoveryengine.v1.Document], such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}.
If the caller does not have permission to access the
[Document][google.cloud.discoveryengine.v1.Document], regardless of whether
or not it exists, a PERMISSION_DENIED error is returned.
If the requested [Document][google.cloud.discoveryengine.v1.Document] does
not exist, a NOT_FOUND error is returned.
[[["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 document provides reference information for the \u003ccode\u003eGetDocumentRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically for version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetDocumentRequest\u003c/code\u003e is a class used to request a specific document through the \u003ccode\u003eDocumentService.GetDocument\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<GetDocumentRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<GetDocumentRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eGetDocumentRequest\u003c/code\u003e include \u003ccode\u003eDocumentName\u003c/code\u003e, a typed view over the resource name, and \u003ccode\u003eName\u003c/code\u003e, which is the full resource name of the document being requested.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists all versions of GetDocumentRequest, and the latest is 1.6.0.\u003c/p\u003e\n"]]],[],null,[]]