Enum UptimeCheckConfig.ContentMatcher.ContentMatcherOption (3.3.6)

public enum UptimeCheckConfig.ContentMatcher.ContentMatcherOption extends Enum<UptimeCheckConfig.ContentMatcher.ContentMatcherOption> implements ProtocolMessageEnum

Options to perform content matching.

Protobuf enum google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CONTAINS_STRING

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.

CONTAINS_STRING = 1;

CONTAINS_STRING_VALUE

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.

CONTAINS_STRING = 1;

CONTENT_MATCHER_OPTION_UNSPECIFIED

No content matcher type specified (maintained for backward compatibility, but deprecated for future use). Treated as CONTAINS_STRING.

CONTENT_MATCHER_OPTION_UNSPECIFIED = 0;

CONTENT_MATCHER_OPTION_UNSPECIFIED_VALUE

No content matcher type specified (maintained for backward compatibility, but deprecated for future use). Treated as CONTAINS_STRING.

CONTENT_MATCHER_OPTION_UNSPECIFIED = 0;

MATCHES_REGEX

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.

MATCHES_REGEX = 3;

MATCHES_REGEX_VALUE

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.

MATCHES_REGEX = 3;

NOT_CONTAINS_STRING

Selects negation of substring matching. The match succeeds if the output does NOT contain the content string.

NOT_CONTAINS_STRING = 2;

NOT_CONTAINS_STRING_VALUE

Selects negation of substring matching. The match succeeds if the output does NOT contain the content string.

NOT_CONTAINS_STRING = 2;

NOT_MATCHES_REGEX

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.

NOT_MATCHES_REGEX = 4;

NOT_MATCHES_REGEX_VALUE

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.

NOT_MATCHES_REGEX = 4;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()