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 page provides documentation for the \u003ccode\u003eUptimeCheckConfig.Types.ContentMatcher.Types.ContentMatcherOption\u003c/code\u003e enum within the Google Cloud Monitoring v3 API, specifically in the .NET context.\u003c/p\u003e\n"],["\u003cp\u003eThe enum defines various options for content matching during uptime checks, including substring matching, regular-expression matching, and JSONPath matching.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 3.15.0, and the page lists a comprehensive history of versions back to 2.3.0, with the current selected version being 3.10.0.\u003c/p\u003e\n"],["\u003cp\u003eContent matching options vary, providing the ability to check for the presence or absence of substrings, matching JSON paths, and matching regular expressions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eContainsString\u003c/code\u003e is the default content matcher if no specific option is defined, and \u003ccode\u003eUnspecified\u003c/code\u003e is treated as \u003ccode\u003eContainsString\u003c/code\u003e for backward compatibility.\u003c/p\u003e\n"]]],[],null,[]]