Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::UptimeCheckConfig::ContentMatcher::JsonPathMatcher.
Information needed to perform a JSONPath content match.
Used for ContentMatcherOption::MATCHES_JSON_PATH
and
ContentMatcherOption::NOT_MATCHES_JSON_PATH
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#json_matcher
def json_matcher() -> ::Google::Cloud::Monitoring::V3::UptimeCheckConfig::ContentMatcher::JsonPathMatcher::JsonPathMatcherOption
Returns
-
(::Google::Cloud::Monitoring::V3::UptimeCheckConfig::ContentMatcher::JsonPathMatcher::JsonPathMatcherOption) — The type of JSONPath match that will be applied to the JSON output
(
ContentMatcher.content
)
#json_matcher=
def json_matcher=(value) -> ::Google::Cloud::Monitoring::V3::UptimeCheckConfig::ContentMatcher::JsonPathMatcher::JsonPathMatcherOption
Parameter
-
value (::Google::Cloud::Monitoring::V3::UptimeCheckConfig::ContentMatcher::JsonPathMatcher::JsonPathMatcherOption) — The type of JSONPath match that will be applied to the JSON output
(
ContentMatcher.content
)
Returns
-
(::Google::Cloud::Monitoring::V3::UptimeCheckConfig::ContentMatcher::JsonPathMatcher::JsonPathMatcherOption) — The type of JSONPath match that will be applied to the JSON output
(
ContentMatcher.content
)
#json_path
def json_path() -> ::String
Returns
-
(::String) — JSONPath within the response output pointing to the expected
ContentMatcher::content
to match against.
#json_path=
def json_path=(value) -> ::String
Parameter
-
value (::String) — JSONPath within the response output pointing to the expected
ContentMatcher::content
to match against.
Returns
-
(::String) — JSONPath within the response output pointing to the expected
ContentMatcher::content
to match against.