Selects substring matching. The match succeeds if the output contains
the content string. This is the default value for checks without
a matcher option, or where the value of matcher is
CONTENT_MATCHER_OPTION_UNSPECIFIED.
MatchesRegex
Selects regular-expression matching. The match succeeds of the output
matches the regular expression specified in the content string.
Regex matching is only supported for HTTP/HTTPS checks.
NotContainsString
Selects negation of substring matching. The match succeeds if the
output does NOT contain the content string.
NotMatchesRegex
Selects negation of regular-expression matching. The match succeeds if
the output does NOT match the regular expression specified in the
content string. Regex matching is only supported for HTTP/HTTPS
checks.
Unspecified
No content matcher type specified (maintained for backward
compatibility, but deprecated for future use).
Treated as CONTAINS_STRING.
[[["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-03-21 UTC."],[[["This webpage details different versions of the `ContentMatcherOption` enum within the `Google.Cloud.Monitoring.V3` namespace, starting from version 2.3.0 up to the latest version, 3.15.0."],["The `ContentMatcherOption` enum provides various options for matching content during monitoring, including substring matching, regular-expression matching, and their negations."],["The available fields within the `ContentMatcherOption` are `ContainsString`, `MatchesRegex`, `NotContainsString`, `NotMatchesRegex`, and `Unspecified`, each with specific functionalities in content matching."],["The `Unspecified` field is maintained for backward compatibility but is deprecated for future use and defaults to the functionality of `ContainsString`."],["Regex matching, using the `MatchesRegex` and `NotMatchesRegex` fields, is restricted to HTTP/HTTPS checks."]]],[]]