Stackdriver Monitoring V3 Client - Class JsonPathMatcherOption (1.7.1)

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

Namespace

Google \ Cloud \ Monitoring \ V3 \ UptimeCheckConfig \ ContentMatcher \ JsonPathMatcher

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
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;