Reference documentation and code samples for the Google Cloud Monitoring v3 API enum UptimeCheckConfig.Types.ContentMatcher.Types.ContentMatcherOption.
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.
MatchesJsonPath
Selects JSONPath matching. See JsonPathMatcher for details on when
the match succeeds. JSONPath matching is only supported for HTTP/HTTPS
checks.
MatchesRegex
Selects regular-expression matching. The match succeeds if 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.
NotMatchesJsonPath
Selects JSONPath matching. See JsonPathMatcher for details on when
the match succeeds. Succeeds when output does NOT match as specified.
JSONPath is only supported for HTTP/HTTPS checks.
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"]],[["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 documentation for the \u003ccode\u003eUptimeCheckConfig.Types.ContentMatcher.Types.ContentMatcherOption\u003c/code\u003e enum within the Google Cloud Monitoring v3 API, covering versions from 2.3.0 up to the latest 3.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContentMatcherOption\u003c/code\u003e enum defines different ways to perform content matching, including substring matching, regular expression matching, and JSONPath matching, along with their negated forms.\u003c/p\u003e\n"],["\u003cp\u003eThe default content matching option is \u003ccode\u003eContainsString\u003c/code\u003e, which checks if the output contains a specific substring; for HTTP/HTTPS checks, \u003ccode\u003eMatchesRegex\u003c/code\u003e and \u003ccode\u003eMatchesJsonPath\u003c/code\u003e are also supported.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e field is deprecated for future use and it will be treated as \u003ccode\u003eCONTAINS_STRING\u003c/code\u003e for compatibility.\u003c/p\u003e\n"],["\u003cp\u003eThe assembly for this enum is \u003ccode\u003eGoogle.Cloud.Monitoring.V3.dll\u003c/code\u003e, and it is located in the \u003ccode\u003eGoogle.Cloud.Monitoring.V3\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,[]]