google-apis-monitoring_v1 0.55.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: 58de085cee01e73ad3f475e40d1af03cbae2c3116576326e758ee98394b41ee2
4
- data.tar.gz: 34bd7bd06251a683b9750fe77b524b3f290cbcd3b49e48d6aa15cac9813c6751
3
+ metadata.gz: ce5ad1e538cd5e08c455d60074f34a3c6cc7fa69c4b674db6ffb74510ff36aaa
4
+ data.tar.gz: b02fce74ca0e2975edd4c1155925bf9300038280ab3d230536d3e2c7a1f38351
5
5
  SHA512:
6
- metadata.gz: bcb02b61e1f640ca7fb303567d0e8c47048d3e4c94b1951ae01443751730de14d2a5a12c40af743aab39238a73c82e6b1fe06cd110792501d99cc7b7cc652f2b
7
- data.tar.gz: a41343226df1b1d56b948fd5fc6189e9beeef364ec52cf5a859fe70d4e5ab558d073a676bbe7c4618e6add5b0799a39bd5008194653415f9675b969ce1332549
6
+ metadata.gz: f3cccf96da8bec83c631329157f4d1d9b5a92b97c798d916afeca865a18b58d6c493ccc97d7f49970d6a08a06252456e3c686c1d42b0b2843eeb75f5d25aee06
7
+ data.tar.gz: d51d207c2430489bdce529a58dc7a060d1c36b86b94afebbc426967897f7e68f25f61f134008de94a3d3254bb4727c90ba851b2f9a2faf4fb58092fc069e2b71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
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
+
8
+ ### v0.56.0 (2025-05-04)
9
+
10
+ * Regenerated from discovery document revision 20250424
11
+ * Regenerated using generator version 0.17.0
12
+
3
13
  ### v0.55.0 (2025-03-09)
4
14
 
5
15
  * Regenerated from discovery document revision 20250227
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/monitoring/api/) may provid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -1273,6 +1273,12 @@ module Google
1273
1273
  # @return [String]
1274
1274
  attr_accessor :create_time
1275
1275
 
1276
+ # Output only. Set if the project has been tombstoned by the user.
1277
+ # Corresponds to the JSON property `isTombstoned`
1278
+ # @return [Boolean]
1279
+ attr_accessor :is_tombstoned
1280
+ alias_method :is_tombstoned?, :is_tombstoned
1281
+
1276
1282
  # Immutable. The resource name of the MonitoredProject. On input, the resource
1277
1283
  # name includes the scoping project ID and monitored project ID. On output, it
1278
1284
  # contains the equivalent project numbers. Example: locations/global/
@@ -1289,6 +1295,7 @@ module Google
1289
1295
  # Update properties of this object
1290
1296
  def update!(**args)
1291
1297
  @create_time = args[:create_time] if args.key?(:create_time)
1298
+ @is_tombstoned = args[:is_tombstoned] if args.key?(:is_tombstoned)
1292
1299
  @name = args[:name] if args.key?(:name)
1293
1300
  end
1294
1301
  end
@@ -2798,6 +2805,71 @@ module Google
2798
2805
  end
2799
2806
  end
2800
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
+
2801
2873
  # A protocol buffer message type.
2802
2874
  class Type
2803
2875
  include Google::Apis::Core::Hashable
@@ -2957,6 +3029,11 @@ module Google
2957
3029
  # @return [String]
2958
3030
  attr_accessor :title
2959
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
+
2960
3037
  # Condition that determines whether the widget should be displayed.
2961
3038
  # Corresponds to the JSON property `visibilityCondition`
2962
3039
  # @return [Google::Apis::MonitoringV1::VisibilityCondition]
@@ -2987,6 +3064,7 @@ module Google
2987
3064
  @text = args[:text] if args.key?(:text)
2988
3065
  @time_series_table = args[:time_series_table] if args.key?(:time_series_table)
2989
3066
  @title = args[:title] if args.key?(:title)
3067
+ @treemap = args[:treemap] if args.key?(:treemap)
2990
3068
  @visibility_condition = args[:visibility_condition] if args.key?(:visibility_condition)
2991
3069
  @xy_chart = args[:xy_chart] if args.key?(:xy_chart)
2992
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.55.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.16.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250227"
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
 
@@ -787,6 +799,7 @@ module Google
787
799
  # @private
788
800
  class Representation < Google::Apis::Core::JsonRepresentation
789
801
  property :create_time, as: 'createTime'
802
+ property :is_tombstoned, as: 'isTombstoned'
790
803
  property :name, as: 'name'
791
804
  end
792
805
  end
@@ -1174,6 +1187,27 @@ module Google
1174
1187
  end
1175
1188
  end
1176
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
+
1177
1211
  class Type
1178
1212
  # @private
1179
1213
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1227,6 +1261,8 @@ module Google
1227
1261
  property :time_series_table, as: 'timeSeriesTable', class: Google::Apis::MonitoringV1::TimeSeriesTable, decorator: Google::Apis::MonitoringV1::TimeSeriesTable::Representation
1228
1262
 
1229
1263
  property :title, as: 'title'
1264
+ property :treemap, as: 'treemap', class: Google::Apis::MonitoringV1::Treemap, decorator: Google::Apis::MonitoringV1::Treemap::Representation
1265
+
1230
1266
  property :visibility_condition, as: 'visibilityCondition', class: Google::Apis::MonitoringV1::VisibilityCondition, decorator: Google::Apis::MonitoringV1::VisibilityCondition::Representation
1231
1267
 
1232
1268
  property :xy_chart, as: 'xyChart', class: Google::Apis::MonitoringV1::XyChart, decorator: Google::Apis::MonitoringV1::XyChart::Representation
metadata CHANGED
@@ -1,13 +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.55.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-09 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.55.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
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: []