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 v1 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.v1.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 documentation provides reference information for the \u003ccode\u003eChunk.Types.DocumentMetadata\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eChunk.Types.DocumentMetadata\u003c/code\u003e holds metadata about a document within a chunk, including its data, title, and URI.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eAvailable constructors allow for creating a new \u003ccode\u003eDocumentMetadata\u003c/code\u003e object, either empty or by copying another \u003ccode\u003eDocumentMetadata\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe API's \u003ccode\u003eDocumentMetadata\u003c/code\u003e properties include \u003ccode\u003eStructData\u003c/code\u003e for structured JSON data, \u003ccode\u003eTitle\u003c/code\u003e for the document title, and \u003ccode\u003eUri\u003c/code\u003e for the document's URI.\u003c/p\u003e\n"]]],[],null,[]]