# Discovery Engine v1beta API - Class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata (1.0.0-beta23)

1.0.0-beta23 (latest) 1.0.0-beta22

    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 v1beta API class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.

The metadata of a \[Document\]\[google.cloud.discoveryengine.v1beta.Document\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> BatchGetDocumentsMetadataResponse.Types.DocumentMetadata

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchGetDocumentsMetadataResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types)[DocumentMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchGetDocumentsMetadataResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types)[DocumentMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BatchGetDocumentsMetadataResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types)[DocumentMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### DocumentMetadata()

    public DocumentMetadata()

### DocumentMetadata(DocumentMetadata)

    public DocumentMetadata(BatchGetDocumentsMetadataResponse.Types.DocumentMetadata other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata` |

## Properties

### DataIngestionSource

    public string DataIngestionSource { get; set; }

The data ingestion source of the
\[Document\]\[google.cloud.discoveryengine.v1beta.Document\].

Allowed values are:

- `batch`: Data ingested via Batch API, e.g., ImportDocuments.
- `streaming` Data ingested via Streaming API, e.g., FHIR streaming.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### LastRefreshedTime

    public Timestamp LastRefreshedTime { get; set; }

The timestamp of the last time the
\[Document\]\[google.cloud.discoveryengine.v1beta.Document\] was last
indexed.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### MatcherValue

    public BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue MatcherValue { get; set; }

The value of the matcher that was used to match the
\[Document\]\[google.cloud.discoveryengine.v1beta.Document\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadatahttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue` |   |

### State

    public BatchGetDocumentsMetadataResponse.Types.State State { get; set; }

The state of the document.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.State` |   |