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 v1beta 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 document provides reference documentation for the \u003ccode\u003eDocumentMetadata\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API, specifically \u003ccode\u003eAnswer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentMetadata\u003c/code\u003e class represents metadata associated with a document, inheriting from \u003ccode\u003eobject\u003c/code\u003e and 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\u003eKey properties of the \u003ccode\u003eDocumentMetadata\u003c/code\u003e class include \u003ccode\u003eDocument\u003c/code\u003e (document resource name), \u003ccode\u003eDocumentAsDocumentName\u003c/code\u003e (typed view of the resource name), \u003ccode\u003ePageIdentifier\u003c/code\u003e (page identifier), \u003ccode\u003eStructData\u003c/code\u003e (structured JSON metadata), \u003ccode\u003eTitle\u003c/code\u003e, and \u003ccode\u003eUri\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes two constructors, one of which is parameterless, the other taking a \u003ccode\u003eDocumentMetadata\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThis page details the members of \u003ccode\u003eDocumentMetadata\u003c/code\u003e, including its inherited members from the base \u003ccode\u003eobject\u003c/code\u003e class, and outlines the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace that houses it.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.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 v1beta 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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types)[Reference](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types)[ChunkInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Answer](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types)[Reference](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types)[ChunkInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types)[Reference](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types)[ChunkInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentName)-typed view over the [Document](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata#Google_Cloud_DiscoveryEngine_V1Beta_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."]]