class Google::Apis::MonitoringV3::JsonPathMatcher
Information needed to perform a JSONPath content match. Used for
- ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption
-
NOT_MATCHES_JSON_PATH.
Attributes
json_matcher[RW]
The type of JSONPath match that will be applied to the JSON output ( ContentMatcher.content
) Corresponds to the JSON property `jsonMatcher` @return [String]
json_path[RW]
- JSONPath within the response output pointing to the expected
ContentMatcher
-
content to match against. Corresponds to the JSON property `jsonPath` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 1919 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 1924 def update!(**args) @json_matcher = args[:json_matcher] if args.key?(:json_matcher) @json_path = args[:json_path] if args.key?(:json_path) end