public sealed class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue : IMessage<BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue>, IEquatable<BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue>, IDeepCloneable<BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue.
The value of the matcher that was used to match the
[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\u003eThe \u003ccode\u003eMatcherValue\u003c/code\u003e class, part of the Discovery Engine v1 API, represents the value used to match a document and is documented in detail here.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, indicating its role in data handling and manipulation within the API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatcherValue\u003c/code\u003e class has properties for both \u003ccode\u003eFhirResource\u003c/code\u003e and \u003ccode\u003eUri\u003c/code\u003e, representing different methods for document matching.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is version 1.6.0, and previous versions such as 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0-beta06 are also available.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains constructors allowing for default instantiation and copying from another \u003ccode\u003eMatcherValue\u003c/code\u003e instance, to allow different ways of creating a \u003ccode\u003eMatcherValue\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue (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.Types.MatcherValue)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue) \n\n public sealed class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue : IMessage\u003cBatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue\u003e, IEquatable\u003cBatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue\u003e, IDeepCloneable\u003cBatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue.\n\nThe value of the matcher that was used to match the\n\\[Document\\]\\[google.cloud.discoveryengine.v1.Document\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue \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)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types)[MatcherValue](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue), [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)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types)[MatcherValue](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue), [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)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types)[MatcherValue](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue), [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### MatcherValue()\n\n public MatcherValue()\n\n### MatcherValue(MatcherValue)\n\n public MatcherValue(BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue other)\n\nProperties\n----------\n\n### FhirResource\n\n public string FhirResource { get; set; }\n\nFormat:\nprojects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}\n\n### FhirResourceAsFhirResourceName\n\n public FhirResourceName FhirResourceAsFhirResourceName { get; set; }\n\n[FhirResourceName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.FhirResourceName)-typed view over the [FhirResource](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue#Google_Cloud_DiscoveryEngine_V1_BatchGetDocumentsMetadataResponse_Types_DocumentMetadata_Types_MatcherValue_FhirResource) resource name\nproperty.\n\n### HasFhirResource\n\n public bool HasFhirResource { get; }\n\nGets whether the \"fhir_resource\" field is set\n\n### HasUri\n\n public bool HasUri { get; }\n\nGets whether the \"uri\" field is set\n\n### MatcherValueCase\n\n public BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue.MatcherValueOneofCase MatcherValueCase { get; }\n\n### Uri\n\n public string Uri { get; set; }\n\nIf match by URI, the URI of the\n\\[Document\\]\\[google.cloud.discoveryengine.v1.Document\\]."]]