public sealed class GetDocumentRequest : IMessage<GetDocumentRequest>, IEquatable<GetDocumentRequest>, IDeepCloneable<GetDocumentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class GetDocumentRequest.
Request message for
[DocumentService.GetDocument][google.cloud.discoveryengine.v1beta.DocumentService.GetDocument]
method.
Required. Full resource name of
[Document][google.cloud.discoveryengine.v1beta.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.v1beta.Document], regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the requested [Document][google.cloud.discoveryengine.v1beta.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\u003e\u003ccode\u003eGetDocumentRequest\u003c/code\u003e is a class in the Google Cloud Discovery Engine v1beta API, designed for retrieving a specific document.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace and is found within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetDocumentRequest\u003c/code\u003e class implements 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\u003eIt includes a \u003ccode\u003eName\u003c/code\u003e property to specify the full resource name of the document to retrieve, and a corresponding \u003ccode\u003eDocumentName\u003c/code\u003e property for a typed view of it.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor methods for the class, one default constructor and another to initiate the request by copying an existing request.\u003c/p\u003e\n"]]],[],null,[]]