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"]],[["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 document provides reference documentation for the `UptimeCheckConfig.Types.ContentMatcher.Types.ContentMatcherOption` enum within the Google Cloud Monitoring v3 API."],["The latest version of this API documented is 3.15.0, with the user currently viewing version 3.11.0 and other previous versions available as well."],["The `ContentMatcherOption` enum defines various methods for matching content in uptime checks, including substring, JSONPath, and regular-expression matching, and their negations."],["Different matching options are supported for HTTP/HTTPS checks, where JSONPath and Regex are only supported on these types of checks."],["The `ContainsString` is the default option when no matcher is specified, or the value is unspecified."]]],[]]