google-apis-monitoring_v3 0.25.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa0c91ffdd3ca73974a4e88bb7615cb007e91e25d31be77e01896dab225ce21b
4
- data.tar.gz: 7980e541b104f08f54805540925753baf35d5e1bd7dead21aa2e55544f465ebb
3
+ metadata.gz: ae51723c0f5e9c77a61b617679f4cfa806c8ba0c6a63b9f5ff55fec622e7d0ab
4
+ data.tar.gz: 3e47f020bc70d481d8bccd172e3955d0d9ea08a6451f9bec29188bf25e2322ef
5
5
  SHA512:
6
- metadata.gz: 579419f90d234e3742c520bde1c5a46d0fb4da958e746c6957753effb2ef16dddb5795f1137c625a9899f6973278eb344e346dd9c980936e43ab0f0ab1537884
7
- data.tar.gz: d1ea9892bfde7a6630ba7760a3790d444512a6e20e1994b5b4f9638219de7882b861120d7a901982d2c485fed7fe7c736f500c0f55d26794c2c395202946759e
6
+ metadata.gz: 0a38eb7bec26b9d44bcdb7b56a57f5b2c0084b301fdb867f09c5c70652d264fabcdb5ab0704b2f920014f6502831d79c6bbc7fc556479ffff408e6d895999430
7
+ data.tar.gz: e9aee504e8ba10ae2814ebd9b9560902ba3d7c1c77592ed6286e6453a1139a81080f0974188354d48aca088077822bc41b89fecec5b609744e6f5cdb510a3faf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.26.0 (2022-05-20)
4
+
5
+ * Regenerated from discovery document revision 20220513
6
+
3
7
  ### v0.25.0 (2022-05-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20220507
@@ -781,6 +781,13 @@ module Google
781
781
  # @return [String]
782
782
  attr_accessor :content
783
783
 
784
+ # Information needed to perform a JSONPath content match. Used for
785
+ # ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::
786
+ # NOT_MATCHES_JSON_PATH.
787
+ # Corresponds to the JSON property `jsonPathMatcher`
788
+ # @return [Google::Apis::MonitoringV3::JsonPathMatcher]
789
+ attr_accessor :json_path_matcher
790
+
784
791
  # The type of content matcher that will be applied to the server output,
785
792
  # compared to the content string when the check is run.
786
793
  # Corresponds to the JSON property `matcher`
@@ -794,6 +801,7 @@ module Google
794
801
  # Update properties of this object
795
802
  def update!(**args)
796
803
  @content = args[:content] if args.key?(:content)
804
+ @json_path_matcher = args[:json_path_matcher] if args.key?(:json_path_matcher)
797
805
  @matcher = args[:matcher] if args.key?(:matcher)
798
806
  end
799
807
  end
@@ -1840,6 +1848,35 @@ module Google
1840
1848
  end
1841
1849
  end
1842
1850
 
1851
+ # Information needed to perform a JSONPath content match. Used for
1852
+ # ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::
1853
+ # NOT_MATCHES_JSON_PATH.
1854
+ class JsonPathMatcher
1855
+ include Google::Apis::Core::Hashable
1856
+
1857
+ # The type of JSONPath match that will be applied to the JSON output (
1858
+ # ContentMatcher.content)
1859
+ # Corresponds to the JSON property `jsonMatcher`
1860
+ # @return [String]
1861
+ attr_accessor :json_matcher
1862
+
1863
+ # JSONPath within the response output pointing to the expected ContentMatcher::
1864
+ # content to match against.
1865
+ # Corresponds to the JSON property `jsonPath`
1866
+ # @return [String]
1867
+ attr_accessor :json_path
1868
+
1869
+ def initialize(**args)
1870
+ update!(**args)
1871
+ end
1872
+
1873
+ # Update properties of this object
1874
+ def update!(**args)
1875
+ @json_matcher = args[:json_matcher] if args.key?(:json_matcher)
1876
+ @json_path = args[:json_path] if args.key?(:json_path)
1877
+ end
1878
+ end
1879
+
1843
1880
  # A description of a label.
1844
1881
  class LabelDescriptor
1845
1882
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MonitoringV3
18
18
  # Version of the google-apis-monitoring_v3 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220507"
25
+ REVISION = "20220513"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class JsonPathMatcher
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class LabelDescriptor
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -838,6 +844,8 @@ module Google
838
844
  # @private
839
845
  class Representation < Google::Apis::Core::JsonRepresentation
840
846
  property :content, as: 'content'
847
+ property :json_path_matcher, as: 'jsonPathMatcher', class: Google::Apis::MonitoringV3::JsonPathMatcher, decorator: Google::Apis::MonitoringV3::JsonPathMatcher::Representation
848
+
841
849
  property :matcher, as: 'matcher'
842
850
  end
843
851
  end
@@ -1089,6 +1097,14 @@ module Google
1089
1097
  end
1090
1098
  end
1091
1099
 
1100
+ class JsonPathMatcher
1101
+ # @private
1102
+ class Representation < Google::Apis::Core::JsonRepresentation
1103
+ property :json_matcher, as: 'jsonMatcher'
1104
+ property :json_path, as: 'jsonPath'
1105
+ end
1106
+ end
1107
+
1092
1108
  class LabelDescriptor
1093
1109
  # @private
1094
1110
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-monitoring_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-16 00:00:00.000000000 Z
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v3
63
63
  post_install_message:
64
64
  rdoc_options: []