public sealed class Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata : IMessage<Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata>, IEquatable<Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata>, IDeepCloneable<Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata.
[[["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 documentation for the \u003ccode\u003eDocumentMetadata\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically under \u003ccode\u003eAnswer.Types.Reference.Types.ChunkInfo.Types\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentMetadata\u003c/code\u003e class represents metadata related to a document, and it inherits from the \u003ccode\u003eobject\u003c/code\u003e class while implementing interfaces like \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 class allows access to the document resource name, as well as properties like \u003ccode\u003ePageIdentifier\u003c/code\u003e, \u003ccode\u003eStructData\u003c/code\u003e, \u003ccode\u003eTitle\u003c/code\u003e, and \u003ccode\u003eUri\u003c/code\u003e for a detailed view of the document.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the API documented, with version 1.6.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentMetadata\u003c/code\u003e class has two public constructors: one default, and one that takes another \u003ccode\u003eDocumentMetadata\u003c/code\u003e instance, allowing for duplication of instances.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata) \n\n public sealed class Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata : IMessage\u003cAnswer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata\u003e, IEquatable\u003cAnswer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata\u003e, IDeepCloneable\u003cAnswer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata.\n\nDocument metadata. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Answer](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types)[Reference](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types)[ChunkInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Answer](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types)[Reference](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types)[ChunkInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Answer](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types)[Reference](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types)[ChunkInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### DocumentMetadata()\n\n public DocumentMetadata()\n\n### DocumentMetadata(DocumentMetadata)\n\n public DocumentMetadata(Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata other)\n\nProperties\n----------\n\n### Document\n\n public string Document { get; set; }\n\nDocument resource name.\n\n### DocumentAsDocumentName\n\n public DocumentName DocumentAsDocumentName { get; set; }\n\n[DocumentName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentName)-typed view over the [Document](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata#Google_Cloud_DiscoveryEngine_V1_Answer_Types_Reference_Types_ChunkInfo_Types_DocumentMetadata_Document) resource name\nproperty.\n\n### PageIdentifier\n\n public string PageIdentifier { get; set; }\n\nPage identifier.\n\n### StructData\n\n public Struct StructData { get; set; }\n\nThe structured JSON metadata for the document.\nIt is populated from the struct data from the Chunk in search result.\n\n### Title\n\n public string Title { get; set; }\n\nTitle.\n\n### Uri\n\n public string Uri { get; set; }\n\nURI for the document."]]