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

public enum 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

NameDescription
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.

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.