The timestamp of the last time the Document was last indexed.
↳ data_ingestion_source
string
The data ingestion source of the Document. Allowed values are: * * batch: Data ingested via Batch API, e.g., ImportDocuments. * * streaming Data ingested via Streaming API, e.g., FHIR streaming.
getMatcherValue
The value of the matcher that was used to match the
Document.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Discovery Engine V1 Client - Class DocumentMetadata (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.BatchGetDocumentsMetadataResponse.DocumentMetadata) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class DocumentMetadata.\n\nThe metadata of a [Document](/php/docs/reference/cloud-discoveryengine/latest/V1.Document).\n\nGenerated from protobuf message `google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1 \\\\ BatchGetDocumentsMetadataResponse\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMatcherValue\n\nThe value of the matcher that was used to match the\n[Document](/php/docs/reference/cloud-discoveryengine/latest/V1.Document).\n\n### hasMatcherValue\n\n### clearMatcherValue\n\n### setMatcherValue\n\nThe value of the matcher that was used to match the\n[Document](/php/docs/reference/cloud-discoveryengine/latest/V1.Document).\n\n### getState\n\nThe state of the document.\n\n### setState\n\nThe state of the document.\n\n### getLastRefreshedTime\n\nThe timestamp of the last time the\n[Document](/php/docs/reference/cloud-discoveryengine/latest/V1.Document) was last indexed.\n\n### hasLastRefreshedTime\n\n### clearLastRefreshedTime\n\n### setLastRefreshedTime\n\nThe timestamp of the last time the\n[Document](/php/docs/reference/cloud-discoveryengine/latest/V1.Document) was last indexed.\n\n### getDataIngestionSource\n\nThe data ingestion source of the\n[Document](/php/docs/reference/cloud-discoveryengine/latest/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### setDataIngestionSource\n\nThe data ingestion source of the\n[Document](/php/docs/reference/cloud-discoveryengine/latest/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."]]