google-apis-monitoring_v1 0.56.0 → 0.57.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: 25a18ddce0a4c1a50c5c156ec28b2067d989fc01b3a0eea7f92aedf9d711df2d
4
- data.tar.gz: 7d91087ac8e9730818f383de500ef00204fc17a5732807603c1d4a0196a56a87
3
+ metadata.gz: ce5ad1e538cd5e08c455d60074f34a3c6cc7fa69c4b674db6ffb74510ff36aaa
4
+ data.tar.gz: b02fce74ca0e2975edd4c1155925bf9300038280ab3d230536d3e2c7a1f38351
5
5
  SHA512:
6
- metadata.gz: d1c87ce343bdacb7cc9c4f26345a6e00382d8b1c8a95ebd8f23400e5570b179c88545f2c46ec293d91e3aada4d7d88cdb8e3d46e22d8717cd4b3046a1db49ab6
7
- data.tar.gz: ec9faf7f12520812f661ad9c3a2181398b68e53290e7cf62cd16489beb406590953b27aa433438d79ff905bfbee14f721f9445c889fb24082d66b72f71e5fb20
6
+ metadata.gz: f3cccf96da8bec83c631329157f4d1d9b5a92b97c798d916afeca865a18b58d6c493ccc97d7f49970d6a08a06252456e3c686c1d42b0b2843eeb75f5d25aee06
7
+ data.tar.gz: d51d207c2430489bdce529a58dc7a060d1c36b86b94afebbc426967897f7e68f25f61f134008de94a3d3254bb4727c90ba851b2f9a2faf4fb58092fc069e2b71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.57.0 (2025-06-08)
4
+
5
+ * Regenerated from discovery document revision 20250529
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.56.0 (2025-05-04)
4
9
 
5
10
  * Regenerated from discovery document revision 20250424
@@ -2805,6 +2805,71 @@ module Google
2805
2805
  end
2806
2806
  end
2807
2807
 
2808
+ # A widget that displays hierarchical data as a treemap.
2809
+ class Treemap
2810
+ include Google::Apis::Core::Hashable
2811
+
2812
+ # Required. The collection of datasets used to construct and populate the
2813
+ # treemap. For the rendered treemap rectangles: Color is determined by the
2814
+ # aggregated value for each grouping. Size is proportional to the count of time
2815
+ # series aggregated within that rectangle's segment.
2816
+ # Corresponds to the JSON property `dataSets`
2817
+ # @return [Array<Google::Apis::MonitoringV1::TreemapDataSet>]
2818
+ attr_accessor :data_sets
2819
+
2820
+ # Required. Ordered labels representing the hierarchical treemap structure.
2821
+ # Corresponds to the JSON property `treemapHierarchy`
2822
+ # @return [Array<String>]
2823
+ attr_accessor :treemap_hierarchy
2824
+
2825
+ def initialize(**args)
2826
+ update!(**args)
2827
+ end
2828
+
2829
+ # Update properties of this object
2830
+ def update!(**args)
2831
+ @data_sets = args[:data_sets] if args.key?(:data_sets)
2832
+ @treemap_hierarchy = args[:treemap_hierarchy] if args.key?(:treemap_hierarchy)
2833
+ end
2834
+ end
2835
+
2836
+ # The data represented by the treemap. Needs to include the data itself, plus
2837
+ # rules on how to organize it hierarchically.
2838
+ class TreemapDataSet
2839
+ include Google::Apis::Core::Hashable
2840
+
2841
+ # Optional. The collection of breakdowns to be applied to the dataset. A
2842
+ # breakdown is a way to slice the data. For example, you can break down the data
2843
+ # by region.
2844
+ # Corresponds to the JSON property `breakdowns`
2845
+ # @return [Array<Google::Apis::MonitoringV1::Breakdown>]
2846
+ attr_accessor :breakdowns
2847
+
2848
+ # Optional. A collection of measures. A measure is a measured value of a
2849
+ # property in your data. For example, rainfall in inches, number of units sold,
2850
+ # revenue gained, etc.
2851
+ # Corresponds to the JSON property `measures`
2852
+ # @return [Array<Google::Apis::MonitoringV1::Measure>]
2853
+ attr_accessor :measures
2854
+
2855
+ # TimeSeriesQuery collects the set of supported methods for querying time series
2856
+ # data from the Stackdriver metrics API.
2857
+ # Corresponds to the JSON property `timeSeriesQuery`
2858
+ # @return [Google::Apis::MonitoringV1::TimeSeriesQuery]
2859
+ attr_accessor :time_series_query
2860
+
2861
+ def initialize(**args)
2862
+ update!(**args)
2863
+ end
2864
+
2865
+ # Update properties of this object
2866
+ def update!(**args)
2867
+ @breakdowns = args[:breakdowns] if args.key?(:breakdowns)
2868
+ @measures = args[:measures] if args.key?(:measures)
2869
+ @time_series_query = args[:time_series_query] if args.key?(:time_series_query)
2870
+ end
2871
+ end
2872
+
2808
2873
  # A protocol buffer message type.
2809
2874
  class Type
2810
2875
  include Google::Apis::Core::Hashable
@@ -2964,6 +3029,11 @@ module Google
2964
3029
  # @return [String]
2965
3030
  attr_accessor :title
2966
3031
 
3032
+ # A widget that displays hierarchical data as a treemap.
3033
+ # Corresponds to the JSON property `treemap`
3034
+ # @return [Google::Apis::MonitoringV1::Treemap]
3035
+ attr_accessor :treemap
3036
+
2967
3037
  # Condition that determines whether the widget should be displayed.
2968
3038
  # Corresponds to the JSON property `visibilityCondition`
2969
3039
  # @return [Google::Apis::MonitoringV1::VisibilityCondition]
@@ -2994,6 +3064,7 @@ module Google
2994
3064
  @text = args[:text] if args.key?(:text)
2995
3065
  @time_series_table = args[:time_series_table] if args.key?(:time_series_table)
2996
3066
  @title = args[:title] if args.key?(:title)
3067
+ @treemap = args[:treemap] if args.key?(:treemap)
2997
3068
  @visibility_condition = args[:visibility_condition] if args.key?(:visibility_condition)
2998
3069
  @xy_chart = args[:xy_chart] if args.key?(:xy_chart)
2999
3070
  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.56.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250424"
25
+ REVISION = "20250529"
26
26
  end
27
27
  end
28
28
  end
@@ -442,6 +442,18 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
+ class Treemap
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class TreemapDataSet
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
445
457
  class Type
446
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
459
 
@@ -1175,6 +1187,27 @@ module Google
1175
1187
  end
1176
1188
  end
1177
1189
 
1190
+ class Treemap
1191
+ # @private
1192
+ class Representation < Google::Apis::Core::JsonRepresentation
1193
+ collection :data_sets, as: 'dataSets', class: Google::Apis::MonitoringV1::TreemapDataSet, decorator: Google::Apis::MonitoringV1::TreemapDataSet::Representation
1194
+
1195
+ collection :treemap_hierarchy, as: 'treemapHierarchy'
1196
+ end
1197
+ end
1198
+
1199
+ class TreemapDataSet
1200
+ # @private
1201
+ class Representation < Google::Apis::Core::JsonRepresentation
1202
+ collection :breakdowns, as: 'breakdowns', class: Google::Apis::MonitoringV1::Breakdown, decorator: Google::Apis::MonitoringV1::Breakdown::Representation
1203
+
1204
+ collection :measures, as: 'measures', class: Google::Apis::MonitoringV1::Measure, decorator: Google::Apis::MonitoringV1::Measure::Representation
1205
+
1206
+ property :time_series_query, as: 'timeSeriesQuery', class: Google::Apis::MonitoringV1::TimeSeriesQuery, decorator: Google::Apis::MonitoringV1::TimeSeriesQuery::Representation
1207
+
1208
+ end
1209
+ end
1210
+
1178
1211
  class Type
1179
1212
  # @private
1180
1213
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1228,6 +1261,8 @@ module Google
1228
1261
  property :time_series_table, as: 'timeSeriesTable', class: Google::Apis::MonitoringV1::TimeSeriesTable, decorator: Google::Apis::MonitoringV1::TimeSeriesTable::Representation
1229
1262
 
1230
1263
  property :title, as: 'title'
1264
+ property :treemap, as: 'treemap', class: Google::Apis::MonitoringV1::Treemap, decorator: Google::Apis::MonitoringV1::Treemap::Representation
1265
+
1231
1266
  property :visibility_condition, as: 'visibilityCondition', class: Google::Apis::MonitoringV1::VisibilityCondition, decorator: Google::Apis::MonitoringV1::VisibilityCondition::Representation
1232
1267
 
1233
1268
  property :xy_chart, as: 'xyChart', class: Google::Apis::MonitoringV1::XyChart, decorator: Google::Apis::MonitoringV1::XyChart::Representation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-monitoring_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.56.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.57.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Monitoring API V1
79
79
  test_files: []