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 version 1.3.0, which is part of the .NET library.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetDocumentRequest\u003c/code\u003e is a request message used by the \u003ccode\u003eDocumentService.GetDocument\u003c/code\u003e method to retrieve a document.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eGetDocumentRequest\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003eDocumentName\u003c/code\u003e property that provides a typed view over the \u003ccode\u003eName\u003c/code\u003e resource name property, and a \u003ccode\u003eName\u003c/code\u003e property used to identify the document resource, requiring a full resource name to be provided.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage gives the user the ability to view different versions of the \u003ccode\u003eGetDocumentRequest\u003c/code\u003e documentation such as 1.6.0 (latest), 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0-beta06.\u003c/p\u003e\n"]]],[],null,[]]