# ValueMatcher

- [JSON representation](https://docs.cloud.google.com/recommender/docs/reference/rest/Shared.Types/ValueMatcher#SCHEMA_REPRESENTATION)

Contains various matching options for values for a GCP resource field.

| JSON representation |
|---|
| ``` { // Union field `match_variant` can be only one of the following: "matchesPattern": string // End of list of possible types for union field `match_variant`. } ``` |

| Fields ||
|---|---|
| Union field `match_variant`. `match_variant` can be only one of the following: ||
| `matchesPattern` | `string` 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 |