No content matcher type specified (maintained for backward
compatibility, but deprecated for future use).
Treated as CONTAINS_STRING.
Generated from protobuf enum CONTENT_MATCHER_OPTION_UNSPECIFIED = 0;
CONTAINS_STRING
Value: 1
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.
Generated from protobuf enum CONTAINS_STRING = 1;
NOT_CONTAINS_STRING
Value: 2
Selects negation of substring matching. The match succeeds if the
output does NOT contain the content string.
Generated from protobuf enum NOT_CONTAINS_STRING = 2;
MATCHES_REGEX
Value: 3
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.
Generated from protobuf enum MATCHES_REGEX = 3;
NOT_MATCHES_REGEX
Value: 4
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.
Generated from protobuf enum NOT_MATCHES_REGEX = 4;
MATCHES_JSON_PATH
Value: 5
Selects JSONPath matching. See JsonPathMatcher for details on when
the match succeeds. JSONPath matching is only supported for HTTP/HTTPS
checks.
Generated from protobuf enum MATCHES_JSON_PATH = 5;
NOT_MATCHES_JSON_PATH
Value: 6
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.
Generated from protobuf enum NOT_MATCHES_JSON_PATH = 6;
[[["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-09-04 UTC."],[],[],null,["# Stackdriver Monitoring V3 Client - Class ContentMatcherOption (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-monitoring/latest/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [2.1.1](/php/docs/reference/cloud-monitoring/2.1.1/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [2.0.1](/php/docs/reference/cloud-monitoring/2.0.1/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [1.12.1](/php/docs/reference/cloud-monitoring/1.12.1/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [1.11.1](/php/docs/reference/cloud-monitoring/1.11.1/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [1.10.3](/php/docs/reference/cloud-monitoring/1.10.3/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [1.9.0](/php/docs/reference/cloud-monitoring/1.9.0/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [1.8.0](/php/docs/reference/cloud-monitoring/1.8.0/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [1.7.1](/php/docs/reference/cloud-monitoring/1.7.1/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [1.6.0](/php/docs/reference/cloud-monitoring/1.6.0/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [1.5.1](/php/docs/reference/cloud-monitoring/1.5.1/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [1.4.0](/php/docs/reference/cloud-monitoring/1.4.0/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [1.3.2](/php/docs/reference/cloud-monitoring/1.3.2/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption)\n- [1.2.2](/php/docs/reference/cloud-monitoring/1.2.2/V3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption) \nReference documentation and code samples for the Stackdriver Monitoring V3 Client class ContentMatcherOption.\n\nOptions to perform content matching.\n\nProtobuf type `google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Monitoring \\\\ V3 \\\\ UptimeCheckConfig \\\\ ContentMatcher\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### CONTENT_MATCHER_OPTION_UNSPECIFIED\n\n Value: 0\n\nNo content matcher type specified (maintained for backward\ncompatibility, but deprecated for future use).\n\nTreated as `CONTAINS_STRING`.\n\nGenerated from protobuf enum `CONTENT_MATCHER_OPTION_UNSPECIFIED = 0;`\n\n### CONTAINS_STRING\n\n Value: 1\n\nSelects substring matching. The match succeeds if the output contains\nthe `content` string. This is the default value for checks without\na `matcher` option, or where the value of `matcher` is\n`CONTENT_MATCHER_OPTION_UNSPECIFIED`.\n\nGenerated from protobuf enum `CONTAINS_STRING = 1;`\n\n### NOT_CONTAINS_STRING\n\n Value: 2\n\nSelects negation of substring matching. The match succeeds if the\noutput does *NOT* contain the `content` string.\n\nGenerated from protobuf enum `NOT_CONTAINS_STRING = 2;`\n\n### MATCHES_REGEX\n\n Value: 3\n\nSelects regular-expression matching. The match succeeds if the output\nmatches the regular expression specified in the `content` string.\n\nRegex matching is only supported for HTTP/HTTPS checks.\n\nGenerated from protobuf enum `MATCHES_REGEX = 3;`\n\n### NOT_MATCHES_REGEX\n\n Value: 4\n\nSelects negation of regular-expression matching. The match succeeds if\nthe output does *NOT* match the regular expression specified in the\n`content` string. Regex matching is only supported for HTTP/HTTPS\nchecks.\n\nGenerated from protobuf enum `NOT_MATCHES_REGEX = 4;`\n\n### MATCHES_JSON_PATH\n\n Value: 5\n\nSelects JSONPath matching. See `JsonPathMatcher` for details on when\nthe match succeeds. JSONPath matching is only supported for HTTP/HTTPS\nchecks.\n\nGenerated from protobuf enum `MATCHES_JSON_PATH = 5;`\n\n### NOT_MATCHES_JSON_PATH\n\n Value: 6\n\nSelects JSONPath matching. See `JsonPathMatcher` for details on when\nthe match succeeds. Succeeds when output does *NOT* match as specified.\n\nJSONPath is only supported for HTTP/HTTPS checks.\n\nGenerated from protobuf enum `NOT_MATCHES_JSON_PATH = 6;`"]]