public sealed class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata : IMessage<BatchGetDocumentsMetadataResponse.Types.DocumentMetadata>, IEquatable<BatchGetDocumentsMetadataResponse.Types.DocumentMetadata>, IDeepCloneable<BatchGetDocumentsMetadataResponse.Types.DocumentMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.
The metadata of a [Document][google.cloud.discoveryengine.v1.Document].
[[["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 page provides reference documentation for the \u003ccode\u003eBatchGetDocumentsMetadataResponse.Types.DocumentMetadata\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentMetadata\u003c/code\u003e class represents the metadata associated with a specific document, offering details about its data ingestion source, last refreshed time, matcher value, and current state.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 1.6.0, with earlier versions back to 1.0.0-beta06 also documented.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentMetadata\u003c/code\u003e 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, and inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe metadata ingestion source can be either 'batch' or 'streaming' and is held in a string type.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class BatchGetDocumentsMetadataResponse.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.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata) \n\n public sealed class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata : IMessage\u003cBatchGetDocumentsMetadataResponse.Types.DocumentMetadata\u003e, IEquatable\u003cBatchGetDocumentsMetadataResponse.Types.DocumentMetadata\u003e, IDeepCloneable\u003cBatchGetDocumentsMetadataResponse.Types.DocumentMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.\n\nThe metadata of a \\[Document\\]\\[google.cloud.discoveryengine.v1.Document\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BatchGetDocumentsMetadataResponse.Types.DocumentMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchGetDocumentsMetadataResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchGetDocumentsMetadataResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BatchGetDocumentsMetadataResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.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(BatchGetDocumentsMetadataResponse.Types.DocumentMetadata other)\n\nProperties\n----------\n\n### DataIngestionSource\n\n public string DataIngestionSource { get; set; }\n\nThe data ingestion source of the\n\\[Document\\]\\[google.cloud.discoveryengine.v1.Document\\].\n\nAllowed values are:\n\n- `batch`: Data ingested via Batch API, e.g., ImportDocuments.\n- `streaming` Data ingested via Streaming API, e.g., FHIR streaming.\n\n### LastRefreshedTime\n\n public Timestamp LastRefreshedTime { get; set; }\n\nThe timestamp of the last time the\n\\[Document\\]\\[google.cloud.discoveryengine.v1.Document\\] was last indexed.\n\n### MatcherValue\n\n public BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue MatcherValue { get; set; }\n\nThe value of the matcher that was used to match the\n\\[Document\\]\\[google.cloud.discoveryengine.v1.Document\\].\n\n### State\n\n public BatchGetDocumentsMetadataResponse.Types.State State { get; set; }\n\nThe state of the document."]]