public sealed class Chunk.Types.DocumentMetadata : IMessage<Chunk.Types.DocumentMetadata>, IEquatable<Chunk.Types.DocumentMetadata>, IDeepCloneable<Chunk.Types.DocumentMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class Chunk.Types.DocumentMetadata.
Document metadata contains the information of the document of the current
chunk.
Data representation.
The structured JSON data for the document. It should conform to the
registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an
INVALID_ARGUMENT error is thrown.
[[["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\u003eChunk.Types.DocumentMetadata\u003c/code\u003e class in the Discovery Engine v1beta API, specifically within the context of the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eChunk.Types.DocumentMetadata\u003c/code\u003e is a class that stores metadata about a document, such as a Title, Uri, and StructData and is implemented as an object within the Google.Cloud.DiscoveryEngine.V1Beta namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation available for this class is \u003ccode\u003e1.0.0-beta18\u003c/code\u003e, with a previous beta version \u003ccode\u003e1.0.0-beta17\u003c/code\u003e also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showing its integration with the Google Protobuf library and enabling several functionalities.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eChunk.Types.DocumentMetadata\u003c/code\u003e has two constructors: one default constructor, and another that enables the creation of a new object based off of a different existing \u003ccode\u003eChunk.Types.DocumentMetadata\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class Chunk.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.Chunk.Types.DocumentMetadata)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.DocumentMetadata) \n\n public sealed class Chunk.Types.DocumentMetadata : IMessage\u003cChunk.Types.DocumentMetadata\u003e, IEquatable\u003cChunk.Types.DocumentMetadata\u003e, IDeepCloneable\u003cChunk.Types.DocumentMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class Chunk.Types.DocumentMetadata.\n\nDocument metadata contains the information of the document of the current\nchunk. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Chunk.Types.DocumentMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Chunk](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Chunk)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.DocumentMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Chunk](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Chunk)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.DocumentMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Chunk](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Chunk)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Chunk.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(Chunk.Types.DocumentMetadata other)\n\nProperties\n----------\n\n### StructData\n\n public Struct StructData { get; set; }\n\nData representation.\nThe structured JSON data for the document. It should conform to the\nregistered \\[Schema\\]\\[google.cloud.discoveryengine.v1beta.Schema\\] or an\n`INVALID_ARGUMENT` error is thrown.\n\n### Title\n\n public string Title { get; set; }\n\nTitle of the document.\n\n### Uri\n\n public string Uri { get; set; }\n\nUri of the document."]]