Reference documentation and code samples for the Stackdriver Monitoring V3 Client class JsonPathMatcherOption.
Options to perform JSONPath content matching.
Protobuf type google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
JSON_PATH_MATCHER_OPTION_UNSPECIFIED
Value: 0
No JSONPath matcher type specified (not valid).
Generated from protobuf enum JSON_PATH_MATCHER_OPTION_UNSPECIFIED = 0;
EXACT_MATCH
Value: 1
Selects 'exact string' matching. The match succeeds if the content at
the json_path
within the output is exactly the same as the
content
string.
Generated from protobuf enum EXACT_MATCH = 1;
REGEX_MATCH
Value: 2
Selects regular-expression matching. The match succeeds if the
content at the json_path
within the output matches the regular
expression specified in the content
string.
Generated from protobuf enum REGEX_MATCH = 2;