google-apis-monitoring_v1 0.53.0 → 0.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a55a1bf85b1556804d8eae58625c4f9f5c37e74a95fd790502db46c59d23e952
4
- data.tar.gz: c211a24705d250be315e13bfbe81f619e048379dcb122228af808be19f3ecc90
3
+ metadata.gz: 5aa5f141a93a45f59a8c7aed11b10b398c04bc148248ad57d78f23a70546cee4
4
+ data.tar.gz: 6f12f3af16a7a72f60761712b76d6199f65a99beb2e427d23b9391471094825b
5
5
  SHA512:
6
- metadata.gz: bf420f2a291d1ace73bc4a25845b8f9fdf31ca1b64baf1c8d9a1328842ef7d6d46b92410333f47d40412f85f4a909182de1021e8f55ce68c0b4c81dc916f7e60
7
- data.tar.gz: f4c4b3891d142de75a4fe0aead794b37ee0c4674c6a1c8d492b042bf398ccfeb4dc4f7f18b31220b8177052615128a6a3838dc77a1d35173726354e28d8c0c48
6
+ metadata.gz: 64b725f8b0e4263a9342d409e1fe8f8861bf57e03419c411c96e59d5e8a085e4637a581927c0342ff3e7a54587fecd74e73dbf5f7074ccf1ccdea537367097bf
7
+ data.tar.gz: e773b9a57e0c10622f34f68192d97e5cfebce351b7cc4eae72f1e214fca8cf8804eacee75596a95e9a76c650839bb6a7623b5c21132d9b8e3e987c7dc8b4a05b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.54.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250130
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.53.0 (2024-12-22)
4
9
 
5
10
  * Regenerated from discovery document revision 20241212
@@ -1963,6 +1963,13 @@ module Google
1963
1963
  # @return [Google::Apis::MonitoringV1::Empty]
1964
1964
  attr_accessor :blank_view
1965
1965
 
1966
+ # Optional. The collection of breakdowns to be applied to the dataset. A
1967
+ # breakdown is a way to slice the data. For example, you can break down the data
1968
+ # by region.
1969
+ # Corresponds to the JSON property `breakdowns`
1970
+ # @return [Array<Google::Apis::MonitoringV1::Breakdown>]
1971
+ attr_accessor :breakdowns
1972
+
1966
1973
  # Optional. A dimension is a structured label, class, or category for a set of
1967
1974
  # measurements in your data.
1968
1975
  # Corresponds to the JSON property `dimensions`
@@ -2021,6 +2028,7 @@ module Google
2021
2028
  # Update properties of this object
2022
2029
  def update!(**args)
2023
2030
  @blank_view = args[:blank_view] if args.key?(:blank_view)
2031
+ @breakdowns = args[:breakdowns] if args.key?(:breakdowns)
2024
2032
  @dimensions = args[:dimensions] if args.key?(:dimensions)
2025
2033
  @gauge_view = args[:gauge_view] if args.key?(:gauge_view)
2026
2034
  @measures = args[:measures] if args.key?(:measures)
@@ -2301,6 +2309,41 @@ module Google
2301
2309
  end
2302
2310
  end
2303
2311
 
2312
+ # A condition whose evaluation is based on the value of a template variable.
2313
+ class TemplateVariableCondition
2314
+ include Google::Apis::Core::Hashable
2315
+
2316
+ # Comparator to use to evaluate whether the value of the template variable
2317
+ # matches the template_variable_value. For example, if the comparator is
2318
+ # REGEX_FULL_MATCH, template_variable_value would contain a regex that is
2319
+ # matched against the value of the template variable.
2320
+ # Corresponds to the JSON property `comparator`
2321
+ # @return [String]
2322
+ attr_accessor :comparator
2323
+
2324
+ # The template variable whose value is evaluated.
2325
+ # Corresponds to the JSON property `templateVariable`
2326
+ # @return [String]
2327
+ attr_accessor :template_variable
2328
+
2329
+ # The value to compare the template variable to. For example, if the comparator
2330
+ # is REGEX_FULL_MATCH, this field should contain a regex.
2331
+ # Corresponds to the JSON property `templateVariableValue`
2332
+ # @return [String]
2333
+ attr_accessor :template_variable_value
2334
+
2335
+ def initialize(**args)
2336
+ update!(**args)
2337
+ end
2338
+
2339
+ # Update properties of this object
2340
+ def update!(**args)
2341
+ @comparator = args[:comparator] if args.key?(:comparator)
2342
+ @template_variable = args[:template_variable] if args.key?(:template_variable)
2343
+ @template_variable_value = args[:template_variable_value] if args.key?(:template_variable_value)
2344
+ end
2345
+ end
2346
+
2304
2347
  # A widget that displays textual content.
2305
2348
  class Text
2306
2349
  include Google::Apis::Core::Hashable
@@ -2805,6 +2848,25 @@ module Google
2805
2848
  end
2806
2849
  end
2807
2850
 
2851
+ # Condition that determines whether the widget should be displayed.
2852
+ class VisibilityCondition
2853
+ include Google::Apis::Core::Hashable
2854
+
2855
+ # A condition whose evaluation is based on the value of a template variable.
2856
+ # Corresponds to the JSON property `templateVariableCondition`
2857
+ # @return [Google::Apis::MonitoringV1::TemplateVariableCondition]
2858
+ attr_accessor :template_variable_condition
2859
+
2860
+ def initialize(**args)
2861
+ update!(**args)
2862
+ end
2863
+
2864
+ # Update properties of this object
2865
+ def update!(**args)
2866
+ @template_variable_condition = args[:template_variable_condition] if args.key?(:template_variable_condition)
2867
+ end
2868
+ end
2869
+
2808
2870
  # Widget contains a single dashboard component and configuration of how to
2809
2871
  # present the component in the dashboard.
2810
2872
  class Widget
@@ -2889,6 +2951,11 @@ module Google
2889
2951
  # @return [String]
2890
2952
  attr_accessor :title
2891
2953
 
2954
+ # Condition that determines whether the widget should be displayed.
2955
+ # Corresponds to the JSON property `visibilityCondition`
2956
+ # @return [Google::Apis::MonitoringV1::VisibilityCondition]
2957
+ attr_accessor :visibility_condition
2958
+
2892
2959
  # A chart that displays data on a 2D (X and Y axes) plane.
2893
2960
  # Corresponds to the JSON property `xyChart`
2894
2961
  # @return [Google::Apis::MonitoringV1::XyChart]
@@ -2914,6 +2981,7 @@ module Google
2914
2981
  @text = args[:text] if args.key?(:text)
2915
2982
  @time_series_table = args[:time_series_table] if args.key?(:time_series_table)
2916
2983
  @title = args[:title] if args.key?(:title)
2984
+ @visibility_condition = args[:visibility_condition] if args.key?(:visibility_condition)
2917
2985
  @xy_chart = args[:xy_chart] if args.key?(:xy_chart)
2918
2986
  end
2919
2987
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MonitoringV1
18
18
  # Version of the google-apis-monitoring_v1 gem
19
- GEM_VERSION = "0.53.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241212"
25
+ REVISION = "20250130"
26
26
  end
27
27
  end
28
28
  end
@@ -388,6 +388,12 @@ module Google
388
388
  include Google::Apis::Core::JsonObjectSupport
389
389
  end
390
390
 
391
+ class TemplateVariableCondition
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
391
397
  class Text
392
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
399
 
@@ -442,6 +448,12 @@ module Google
442
448
  include Google::Apis::Core::JsonObjectSupport
443
449
  end
444
450
 
451
+ class VisibilityCondition
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
445
457
  class Widget
446
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
459
 
@@ -952,6 +964,8 @@ module Google
952
964
  class Representation < Google::Apis::Core::JsonRepresentation
953
965
  property :blank_view, as: 'blankView', class: Google::Apis::MonitoringV1::Empty, decorator: Google::Apis::MonitoringV1::Empty::Representation
954
966
 
967
+ collection :breakdowns, as: 'breakdowns', class: Google::Apis::MonitoringV1::Breakdown, decorator: Google::Apis::MonitoringV1::Breakdown::Representation
968
+
955
969
  collection :dimensions, as: 'dimensions', class: Google::Apis::MonitoringV1::Dimension, decorator: Google::Apis::MonitoringV1::Dimension::Representation
956
970
 
957
971
  property :gauge_view, as: 'gaugeView', class: Google::Apis::MonitoringV1::GaugeView, decorator: Google::Apis::MonitoringV1::GaugeView::Representation
@@ -1046,6 +1060,15 @@ module Google
1046
1060
  end
1047
1061
  end
1048
1062
 
1063
+ class TemplateVariableCondition
1064
+ # @private
1065
+ class Representation < Google::Apis::Core::JsonRepresentation
1066
+ property :comparator, as: 'comparator'
1067
+ property :template_variable, as: 'templateVariable'
1068
+ property :template_variable_value, as: 'templateVariableValue'
1069
+ end
1070
+ end
1071
+
1049
1072
  class Text
1050
1073
  # @private
1051
1074
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1166,6 +1189,14 @@ module Google
1166
1189
  end
1167
1190
  end
1168
1191
 
1192
+ class VisibilityCondition
1193
+ # @private
1194
+ class Representation < Google::Apis::Core::JsonRepresentation
1195
+ property :template_variable_condition, as: 'templateVariableCondition', class: Google::Apis::MonitoringV1::TemplateVariableCondition, decorator: Google::Apis::MonitoringV1::TemplateVariableCondition::Representation
1196
+
1197
+ end
1198
+ end
1199
+
1169
1200
  class Widget
1170
1201
  # @private
1171
1202
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1195,6 +1226,8 @@ module Google
1195
1226
  property :time_series_table, as: 'timeSeriesTable', class: Google::Apis::MonitoringV1::TimeSeriesTable, decorator: Google::Apis::MonitoringV1::TimeSeriesTable::Representation
1196
1227
 
1197
1228
  property :title, as: 'title'
1229
+ property :visibility_condition, as: 'visibilityCondition', class: Google::Apis::MonitoringV1::VisibilityCondition, decorator: Google::Apis::MonitoringV1::VisibilityCondition::Representation
1230
+
1198
1231
  property :xy_chart, as: 'xyChart', class: Google::Apis::MonitoringV1::XyChart, decorator: Google::Apis::MonitoringV1::XyChart::Representation
1199
1232
 
1200
1233
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-monitoring_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-05 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.53.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.54.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Monitoring API V1
82
79
  test_files: []