Skip to content

Commit 55421f3

Browse files
feat: Automated regeneration of monitoring v1 client (googleapis#26812)
Auto-created at 2026-06-14 11:41:09 +0000 using the toys pull request generator.
1 parent 334cab0 commit 55421f3

7 files changed

Lines changed: 63 additions & 5 deletions

File tree

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326341,6 +326341,8 @@
326341326341
"/monitoring:v1/Dimension/sortColumn": sort_column
326342326342
"/monitoring:v1/Dimension/sortOrder": sort_order
326343326343
"/monitoring:v1/Dimension/timeBinSize": time_bin_size
326344+
"/monitoring:v1/Dimension/xMax": x_max
326345+
"/monitoring:v1/Dimension/xMin": x_min
326344326346
"/monitoring:v1/DroppedLabels": dropped_labels
326345326347
"/monitoring:v1/DroppedLabels/label": label
326346326348
"/monitoring:v1/DroppedLabels/label/label": label
@@ -326598,13 +326600,15 @@
326598326600
"/monitoring:v1/TimeSeriesQuery/timeSeriesFilter": time_series_filter
326599326601
"/monitoring:v1/TimeSeriesQuery/timeSeriesFilterRatio": time_series_filter_ratio
326600326602
"/monitoring:v1/TimeSeriesQuery/timeSeriesQueryLanguage": time_series_query_language
326603+
"/monitoring:v1/TimeSeriesQuery/traceQuery": trace_query
326601326604
"/monitoring:v1/TimeSeriesQuery/unitOverride": unit_override
326602326605
"/monitoring:v1/TimeSeriesTable": time_series_table
326603326606
"/monitoring:v1/TimeSeriesTable/columnSettings": column_settings
326604326607
"/monitoring:v1/TimeSeriesTable/columnSettings/column_setting": column_setting
326605326608
"/monitoring:v1/TimeSeriesTable/dataSets": data_sets
326606326609
"/monitoring:v1/TimeSeriesTable/dataSets/data_set": data_set
326607326610
"/monitoring:v1/TimeSeriesTable/metricVisualization": metric_visualization
326611+
"/monitoring:v1/TraceQuery": trace_query
326608326612
"/monitoring:v1/Treemap": treemap
326609326613
"/monitoring:v1/Treemap/dataSets": data_sets
326610326614
"/monitoring:v1/Treemap/dataSets/data_set": data_set

generated/google-apis-monitoring_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-monitoring_v1
22

3+
### v0.64.0 (2026-06-14)
4+
5+
* Regenerated from discovery document revision 20260604
6+
* Regenerated using generator version 0.19.0
7+
38
### v0.63.0 (2026-04-19)
49

510
* Regenerated from discovery document revision 20260402

generated/google-apis-monitoring_v1/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/monitoring/api/) may provid
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 3.1+.
86+
This library is supported on Ruby 3.2+.
8787

8888
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.
8989

generated/google-apis-monitoring_v1/google-apis-monitoring_v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
2828
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2929
gem.require_paths = ["lib"]
3030

31-
gem.required_ruby_version = '>= 3.1'
31+
gem.required_ruby_version = '>= 3.2'
3232
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

generated/google-apis-monitoring_v1/lib/google/apis/monitoring_v1/classes.rb

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,16 @@ class Dimension
731731
# @return [String]
732732
attr_accessor :time_bin_size
733733

734+
# The maximum value for the x-axis.
735+
# Corresponds to the JSON property `xMax`
736+
# @return [Float]
737+
attr_accessor :x_max
738+
739+
# The minimum value for the x-axis.
740+
# Corresponds to the JSON property `xMin`
741+
# @return [Float]
742+
attr_accessor :x_min
743+
734744
def initialize(**args)
735745
update!(**args)
736746
end
@@ -745,6 +755,8 @@ def update!(**args)
745755
@sort_column = args[:sort_column] if args.key?(:sort_column)
746756
@sort_order = args[:sort_order] if args.key?(:sort_order)
747757
@time_bin_size = args[:time_bin_size] if args.key?(:time_bin_size)
758+
@x_max = args[:x_max] if args.key?(:x_max)
759+
@x_min = args[:x_min] if args.key?(:x_min)
748760
end
749761
end
750762

@@ -2787,6 +2799,12 @@ class TimeSeriesQuery
27872799
# @return [String]
27882800
attr_accessor :time_series_query_language
27892801

2802+
# LINT.IfChange Preview: Query for traces. This is a preview feature and may be
2803+
# subject to change before final release.
2804+
# Corresponds to the JSON property `traceQuery`
2805+
# @return [Google::Apis::MonitoringV1::TraceQuery]
2806+
attr_accessor :trace_query
2807+
27902808
# The unit of data contained in fetched time series. If non-empty, this unit
27912809
# will override any unit that accompanies fetched data. The format is the same
27922810
# as the unit (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.
@@ -2807,6 +2825,7 @@ def update!(**args)
28072825
@time_series_filter = args[:time_series_filter] if args.key?(:time_series_filter)
28082826
@time_series_filter_ratio = args[:time_series_filter_ratio] if args.key?(:time_series_filter_ratio)
28092827
@time_series_query_language = args[:time_series_query_language] if args.key?(:time_series_query_language)
2828+
@trace_query = args[:trace_query] if args.key?(:trace_query)
28102829
@unit_override = args[:unit_override] if args.key?(:unit_override)
28112830
end
28122831
end
@@ -2842,6 +2861,20 @@ def update!(**args)
28422861
end
28432862
end
28442863

2864+
# LINT.IfChange Preview: Query for traces. This is a preview feature and may be
2865+
# subject to change before final release.
2866+
class TraceQuery
2867+
include Google::Apis::Core::Hashable
2868+
2869+
def initialize(**args)
2870+
update!(**args)
2871+
end
2872+
2873+
# Update properties of this object
2874+
def update!(**args)
2875+
end
2876+
end
2877+
28452878
# A widget that displays hierarchical data as a treemap.
28462879
class Treemap
28472880
include Google::Apis::Core::Hashable

generated/google-apis-monitoring_v1/lib/google/apis/monitoring_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module MonitoringV1
1818
# Version of the google-apis-monitoring_v1 gem
19-
GEM_VERSION = "0.63.0"
19+
GEM_VERSION = "0.64.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.18.0"
22+
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260402"
25+
REVISION = "20260604"
2626
end
2727
end
2828
end

generated/google-apis-monitoring_v1/lib/google/apis/monitoring_v1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
448448
include Google::Apis::Core::JsonObjectSupport
449449
end
450450

451+
class TraceQuery
452+
class Representation < Google::Apis::Core::JsonRepresentation; end
453+
454+
include Google::Apis::Core::JsonObjectSupport
455+
end
456+
451457
class Treemap
452458
class Representation < Google::Apis::Core::JsonRepresentation; end
453459

@@ -660,6 +666,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
660666
property :sort_column, as: 'sortColumn'
661667
property :sort_order, as: 'sortOrder'
662668
property :time_bin_size, as: 'timeBinSize'
669+
property :x_max, as: 'xMax'
670+
property :x_min, as: 'xMin'
663671
end
664672
end
665673

@@ -1185,6 +1193,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
11851193
property :time_series_filter_ratio, as: 'timeSeriesFilterRatio', class: Google::Apis::MonitoringV1::TimeSeriesFilterRatio, decorator: Google::Apis::MonitoringV1::TimeSeriesFilterRatio::Representation
11861194

11871195
property :time_series_query_language, as: 'timeSeriesQueryLanguage'
1196+
property :trace_query, as: 'traceQuery', class: Google::Apis::MonitoringV1::TraceQuery, decorator: Google::Apis::MonitoringV1::TraceQuery::Representation
1197+
11881198
property :unit_override, as: 'unitOverride'
11891199
end
11901200
end
@@ -1200,6 +1210,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
12001210
end
12011211
end
12021212

1213+
class TraceQuery
1214+
# @private
1215+
class Representation < Google::Apis::Core::JsonRepresentation
1216+
end
1217+
end
1218+
12031219
class Treemap
12041220
# @private
12051221
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)