Google Cloud Monitoring v3 API - Enum UptimeCheckConfig.Types.ContentMatcher.Types.ContentMatcherOption (3.12.0)

public enum UptimeCheckConfig.Types.ContentMatcher.Types.ContentMatcherOption

Reference documentation and code samples for the Google Cloud Monitoring v3 API enum UptimeCheckConfig.Types.ContentMatcher.Types.ContentMatcherOption.

Options to perform content matching.

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Fields

Name Description
ContainsString

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.