Enum UptimeCheckConfig.Types.ContentMatcher.Types.ContentMatcherOption (3.1.0)

Stay organized with collections Save and categorize content based on your preferences.
public enum 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.