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 v1beta API class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue.
The value of the matcher that was used to match the
[Document][google.cloud.discoveryengine.v1beta.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 document provides reference information for the \u003ccode\u003eMatcherValue\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API, specifically under \u003ccode\u003eBatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatcherValue\u003c/code\u003e class represents the value of the matcher used to match a Document in the Discovery Engine API, and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMatcherValue\u003c/code\u003e objects can be constructed using the default constructor or by copying another \u003ccode\u003eMatcherValue\u003c/code\u003e instance and this class inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMatcherValue\u003c/code\u003e has properties to represent either a FHIR resource (\u003ccode\u003eFhirResource\u003c/code\u003e and \u003ccode\u003eFhirResourceAsFhirResourceName\u003c/code\u003e) or a URI (\u003ccode\u003eUri\u003c/code\u003e), with \u003ccode\u003eHasFhirResource\u003c/code\u003e and \u003ccode\u003eHasUri\u003c/code\u003e properties indicating which is set, and a \u003ccode\u003eMatcherValueCase\u003c/code\u003e property used for cases.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatcherValue\u003c/code\u003e class is found in the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.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 v1beta API class BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue.\n\nThe value of the matcher that was used to match the\n\\[Document\\]\\[google.cloud.discoveryengine.v1beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types)[MatcherValue](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchGetDocumentsMetadataResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types)[MatcherValue](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types)[DocumentMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types)[MatcherValue](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.FhirResourceName)-typed view over the [FhirResource](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse.Types.DocumentMetadata.Types.MatcherValue#Google_Cloud_DiscoveryEngine_V1Beta_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.v1beta.Document\\]."]]