google-apis-monitoring_v1 0.52.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: 267cd4030c3e635408ea1cc4074348e9ae06f0e8d6468efff7671108f8d6313e
4
- data.tar.gz: 69d2cd95fc186f894b290d0cffceae2acd843de276b05fd813e81b6b4e2a694e
3
+ metadata.gz: 5aa5f141a93a45f59a8c7aed11b10b398c04bc148248ad57d78f23a70546cee4
4
+ data.tar.gz: 6f12f3af16a7a72f60761712b76d6199f65a99beb2e427d23b9391471094825b
5
5
  SHA512:
6
- metadata.gz: 778af8e1fb5dabde730753c326552800714be91aeb5d89e7789c892d2e85c6bd0138cd7b52a82be8e7ecb65465b3087ed60abf14fe067ee1b2978dd5e0676068
7
- data.tar.gz: '09c74fd5f8575a9db9b31e10a8ba84c5711e9adb91c640e2205ccf1c5cb3faa3eac4142b9c09d2d714cbe4e4f1643491520968867122820f2b96515495705675'
6
+ metadata.gz: 64b725f8b0e4263a9342d409e1fe8f8861bf57e03419c411c96e59d5e8a085e4637a581927c0342ff3e7a54587fecd74e73dbf5f7074ccf1ccdea537367097bf
7
+ data.tar.gz: e773b9a57e0c10622f34f68192d97e5cfebce351b7cc4eae72f1e214fca8cf8804eacee75596a95e9a76c650839bb6a7623b5c21132d9b8e3e987c7dc8b4a05b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.53.0 (2024-12-22)
9
+
10
+ * Regenerated from discovery document revision 20241212
11
+
3
12
  ### v0.52.0 (2024-12-02)
4
13
 
5
14
  * Regenerated from discovery document revision 20241003
@@ -382,6 +382,32 @@ module Google
382
382
  end
383
383
  end
384
384
 
385
+ # Data structure to storing column's sort strategy
386
+ class ColumnSortingOptions
387
+ include Google::Apis::Core::Hashable
388
+
389
+ # Optional. Column name to sort data by
390
+ # Corresponds to the JSON property `column`
391
+ # @return [String]
392
+ attr_accessor :column
393
+
394
+ # Optional. A sorting direction that determines ascending or descending order.
395
+ # This is a legacy field kept for backwards compatibility with table.
396
+ # Corresponds to the JSON property `direction`
397
+ # @return [String]
398
+ attr_accessor :direction
399
+
400
+ def initialize(**args)
401
+ update!(**args)
402
+ end
403
+
404
+ # Update properties of this object
405
+ def update!(**args)
406
+ @column = args[:column] if args.key?(:column)
407
+ @direction = args[:direction] if args.key?(:direction)
408
+ end
409
+ end
410
+
385
411
  # A Google Stackdriver dashboard. Dashboards define the content and layout of
386
412
  # pages in the Stackdriver web application.
387
413
  class Dashboard
@@ -604,6 +630,12 @@ module Google
604
630
  # @return [String]
605
631
  attr_accessor :plot_type
606
632
 
633
+ # Optional. A collection of sort options, affects the order of the data and
634
+ # legend.
635
+ # Corresponds to the JSON property `sort`
636
+ # @return [Array<Google::Apis::MonitoringV1::ColumnSortingOptions>]
637
+ attr_accessor :sort
638
+
607
639
  # Optional. The target axis to use for plotting the metric.
608
640
  # Corresponds to the JSON property `targetAxis`
609
641
  # @return [String]
@@ -627,6 +659,7 @@ module Google
627
659
  @measures = args[:measures] if args.key?(:measures)
628
660
  @min_alignment_period = args[:min_alignment_period] if args.key?(:min_alignment_period)
629
661
  @plot_type = args[:plot_type] if args.key?(:plot_type)
662
+ @sort = args[:sort] if args.key?(:sort)
630
663
  @target_axis = args[:target_axis] if args.key?(:target_axis)
631
664
  @time_series_query = args[:time_series_query] if args.key?(:time_series_query)
632
665
  end
@@ -1930,6 +1963,13 @@ module Google
1930
1963
  # @return [Google::Apis::MonitoringV1::Empty]
1931
1964
  attr_accessor :blank_view
1932
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
+
1933
1973
  # Optional. A dimension is a structured label, class, or category for a set of
1934
1974
  # measurements in your data.
1935
1975
  # Corresponds to the JSON property `dimensions`
@@ -1988,6 +2028,7 @@ module Google
1988
2028
  # Update properties of this object
1989
2029
  def update!(**args)
1990
2030
  @blank_view = args[:blank_view] if args.key?(:blank_view)
2031
+ @breakdowns = args[:breakdowns] if args.key?(:breakdowns)
1991
2032
  @dimensions = args[:dimensions] if args.key?(:dimensions)
1992
2033
  @gauge_view = args[:gauge_view] if args.key?(:gauge_view)
1993
2034
  @measures = args[:measures] if args.key?(:measures)
@@ -2268,6 +2309,41 @@ module Google
2268
2309
  end
2269
2310
  end
2270
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
+
2271
2347
  # A widget that displays textual content.
2272
2348
  class Text
2273
2349
  include Google::Apis::Core::Hashable
@@ -2772,6 +2848,25 @@ module Google
2772
2848
  end
2773
2849
  end
2774
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
+
2775
2870
  # Widget contains a single dashboard component and configuration of how to
2776
2871
  # present the component in the dashboard.
2777
2872
  class Widget
@@ -2856,6 +2951,11 @@ module Google
2856
2951
  # @return [String]
2857
2952
  attr_accessor :title
2858
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
+
2859
2959
  # A chart that displays data on a 2D (X and Y axes) plane.
2860
2960
  # Corresponds to the JSON property `xyChart`
2861
2961
  # @return [Google::Apis::MonitoringV1::XyChart]
@@ -2881,6 +2981,7 @@ module Google
2881
2981
  @text = args[:text] if args.key?(:text)
2882
2982
  @time_series_table = args[:time_series_table] if args.key?(:time_series_table)
2883
2983
  @title = args[:title] if args.key?(:title)
2984
+ @visibility_condition = args[:visibility_condition] if args.key?(:visibility_condition)
2884
2985
  @xy_chart = args[:xy_chart] if args.key?(:xy_chart)
2885
2986
  end
2886
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.52.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 = "20241003"
25
+ REVISION = "20250130"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class ColumnSortingOptions
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class Dashboard
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -382,6 +388,12 @@ module Google
382
388
  include Google::Apis::Core::JsonObjectSupport
383
389
  end
384
390
 
391
+ class TemplateVariableCondition
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
385
397
  class Text
386
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
399
 
@@ -436,6 +448,12 @@ module Google
436
448
  include Google::Apis::Core::JsonObjectSupport
437
449
  end
438
450
 
451
+ class VisibilityCondition
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
439
457
  class Widget
440
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
459
 
@@ -537,6 +555,14 @@ module Google
537
555
  end
538
556
  end
539
557
 
558
+ class ColumnSortingOptions
559
+ # @private
560
+ class Representation < Google::Apis::Core::JsonRepresentation
561
+ property :column, as: 'column'
562
+ property :direction, as: 'direction'
563
+ end
564
+ end
565
+
540
566
  class Dashboard
541
567
  # @private
542
568
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -597,6 +623,8 @@ module Google
597
623
 
598
624
  property :min_alignment_period, as: 'minAlignmentPeriod'
599
625
  property :plot_type, as: 'plotType'
626
+ collection :sort, as: 'sort', class: Google::Apis::MonitoringV1::ColumnSortingOptions, decorator: Google::Apis::MonitoringV1::ColumnSortingOptions::Representation
627
+
600
628
  property :target_axis, as: 'targetAxis'
601
629
  property :time_series_query, as: 'timeSeriesQuery', class: Google::Apis::MonitoringV1::TimeSeriesQuery, decorator: Google::Apis::MonitoringV1::TimeSeriesQuery::Representation
602
630
 
@@ -936,6 +964,8 @@ module Google
936
964
  class Representation < Google::Apis::Core::JsonRepresentation
937
965
  property :blank_view, as: 'blankView', class: Google::Apis::MonitoringV1::Empty, decorator: Google::Apis::MonitoringV1::Empty::Representation
938
966
 
967
+ collection :breakdowns, as: 'breakdowns', class: Google::Apis::MonitoringV1::Breakdown, decorator: Google::Apis::MonitoringV1::Breakdown::Representation
968
+
939
969
  collection :dimensions, as: 'dimensions', class: Google::Apis::MonitoringV1::Dimension, decorator: Google::Apis::MonitoringV1::Dimension::Representation
940
970
 
941
971
  property :gauge_view, as: 'gaugeView', class: Google::Apis::MonitoringV1::GaugeView, decorator: Google::Apis::MonitoringV1::GaugeView::Representation
@@ -1030,6 +1060,15 @@ module Google
1030
1060
  end
1031
1061
  end
1032
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
+
1033
1072
  class Text
1034
1073
  # @private
1035
1074
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1150,6 +1189,14 @@ module Google
1150
1189
  end
1151
1190
  end
1152
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
+
1153
1200
  class Widget
1154
1201
  # @private
1155
1202
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1179,6 +1226,8 @@ module Google
1179
1226
  property :time_series_table, as: 'timeSeriesTable', class: Google::Apis::MonitoringV1::TimeSeriesTable, decorator: Google::Apis::MonitoringV1::TimeSeriesTable::Representation
1180
1227
 
1181
1228
  property :title, as: 'title'
1229
+ property :visibility_condition, as: 'visibilityCondition', class: Google::Apis::MonitoringV1::VisibilityCondition, decorator: Google::Apis::MonitoringV1::VisibilityCondition::Representation
1230
+
1182
1231
  property :xy_chart, as: 'xyChart', class: Google::Apis::MonitoringV1::XyChart, decorator: Google::Apis::MonitoringV1::XyChart::Representation
1183
1232
 
1184
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.52.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: 2024-12-04 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.52.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.22
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: []