To be used for full regex matching. The regular expression is using the
Google RE2 syntax (https://github.com/google/re2/wiki/Syntax), so to be
used with RE2::FullMatch
[[["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 webpage provides reference documentation for the \u003ccode\u003eValueMatcher\u003c/code\u003e class within the Google Cloud Recommender v1 API, with the latest version being 3.7.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValueMatcher\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.Recommender.V1\u003c/code\u003e namespace, offers various options for matching values within a GCP resource field.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValueMatcher\u003c/code\u003e class has properties such as \u003ccode\u003eHasMatchesPattern\u003c/code\u003e, \u003ccode\u003eMatchVariantCase\u003c/code\u003e, and \u003ccode\u003eMatchesPattern\u003c/code\u003e with the last one being used for regex matching with RE2 syntax.\u003c/p\u003e\n"],["\u003cp\u003eDocumentation for the \u003ccode\u003eValueMatcher\u003c/code\u003e class is provided for multiple versions, ranging from 2.5.0 to the latest version 3.7.0.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Recommender v1 API - Class ValueMatcher (3.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.ValueMatcher)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.6.0/Google.Cloud.Recommender.V1.ValueMatcher)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.5.0/Google.Cloud.Recommender.V1.ValueMatcher)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.4.0/Google.Cloud.Recommender.V1.ValueMatcher)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.3.0/Google.Cloud.Recommender.V1.ValueMatcher)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.2.0/Google.Cloud.Recommender.V1.ValueMatcher)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.1.0/Google.Cloud.Recommender.V1.ValueMatcher)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.0.0/Google.Cloud.Recommender.V1.ValueMatcher)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.8.0/Google.Cloud.Recommender.V1.ValueMatcher)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.7.0/Google.Cloud.Recommender.V1.ValueMatcher)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.6.0/Google.Cloud.Recommender.V1.ValueMatcher)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.5.0/Google.Cloud.Recommender.V1.ValueMatcher) \n\n public sealed class ValueMatcher : IMessage\u003cValueMatcher\u003e, IEquatable\u003cValueMatcher\u003e, IDeepCloneable\u003cValueMatcher\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Recommender v1 API class ValueMatcher.\n\nContains various matching options for values for a GCP resource field. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ValueMatcher \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ValueMatcher](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.ValueMatcher), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ValueMatcher](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.ValueMatcher), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ValueMatcher](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.ValueMatcher), [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.Recommender.V1](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Recommender.V1.dll\n\nConstructors\n------------\n\n### ValueMatcher()\n\n public ValueMatcher()\n\n### ValueMatcher(ValueMatcher)\n\n public ValueMatcher(ValueMatcher other)\n\nProperties\n----------\n\n### HasMatchesPattern\n\n public bool HasMatchesPattern { get; }\n\nGets whether the \"matches_pattern\" field is set\n\n### MatchVariantCase\n\n public ValueMatcher.MatchVariantOneofCase MatchVariantCase { get; }\n\n### MatchesPattern\n\n public string MatchesPattern { get; set; }\n\nTo be used for full regex matching. The regular expression is using the\nGoogle RE2 syntax (\u003chttps://github.com/google/re2/wiki/Syntax\u003e), so to be\nused with RE2::FullMatch"]]