google-apis-monitoring_v1 0.38.0 → 0.40.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea49712cd0d3919504a3e2f1c9eb95cfcb72b4e4ce81d311a35774c636c1818e
|
4
|
+
data.tar.gz: baac57ca55d0f878e3cb0a7c9c3c48ad94a07302d8bc62aae7da74c6f46bdc37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 865fcc687b1234a1df74f20ac223c433e960344e09a7b08a39e2c66c8e34fa6d7893782975de6430cc5f66ce5416b8180080da5ec19bc737939b6ee7c065949c
|
7
|
+
data.tar.gz: 87aa320f7e94b00ca932f47072bb04d08ae83411097a2d24cf7e14cbbcbc6ec799196dca3ea86517a9625d13837d882f6e16890b542b05f323b11bab429a5c21
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v1
|
2
2
|
|
3
|
+
### v0.40.0 (2023-09-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230910
|
6
|
+
|
7
|
+
### v0.39.0 (2023-08-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230821
|
10
|
+
|
3
11
|
### v0.38.0 (2023-08-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230806
|
@@ -116,6 +116,39 @@ module Google
|
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
119
|
+
# Preview: An identifier for an aggregation function. Aggregation functions are
|
120
|
+
# SQL functions that group or transform data from multiple points to a single
|
121
|
+
# point. This is a preview feature and may be subject to change before final
|
122
|
+
# release.
|
123
|
+
class AggregationFunction
|
124
|
+
include Google::Apis::Core::Hashable
|
125
|
+
|
126
|
+
# Optional. Parameters applied to the aggregation function. Only used for
|
127
|
+
# functions that require them.
|
128
|
+
# Corresponds to the JSON property `parameters`
|
129
|
+
# @return [Array<Google::Apis::MonitoringV1::Parameter>]
|
130
|
+
attr_accessor :parameters
|
131
|
+
|
132
|
+
# Required. The type of aggregation function, must be one of the following: "
|
133
|
+
# none" - no function. "percentile" - APPROX_QUANTILES() - 1 parameter numeric
|
134
|
+
# value "average" - AVG() "count" - COUNT() "count-distinct" - COUNT(DISTINCT) "
|
135
|
+
# count-distinct-approx" - APPROX_COUNT_DISTINCT() "max" - MAX() "min" - MIN() "
|
136
|
+
# sum" - SUM()
|
137
|
+
# Corresponds to the JSON property `type`
|
138
|
+
# @return [String]
|
139
|
+
attr_accessor :type
|
140
|
+
|
141
|
+
def initialize(**args)
|
142
|
+
update!(**args)
|
143
|
+
end
|
144
|
+
|
145
|
+
# Update properties of this object
|
146
|
+
def update!(**args)
|
147
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
148
|
+
@type = args[:type] if args.key?(:type)
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
119
152
|
# A chart that displays alert policy data.
|
120
153
|
class AlertChart
|
121
154
|
include Google::Apis::Core::Hashable
|
@@ -161,10 +194,64 @@ module Google
|
|
161
194
|
end
|
162
195
|
end
|
163
196
|
|
197
|
+
# Preview: A breakdown is an aggregation applied to the measures over a
|
198
|
+
# specified column. A breakdown can result in multiple series across a category
|
199
|
+
# for the provided measure. This is a preview feature and may be subject to
|
200
|
+
# change before final release.
|
201
|
+
class Breakdown
|
202
|
+
include Google::Apis::Core::Hashable
|
203
|
+
|
204
|
+
# Preview: An identifier for an aggregation function. Aggregation functions are
|
205
|
+
# SQL functions that group or transform data from multiple points to a single
|
206
|
+
# point. This is a preview feature and may be subject to change before final
|
207
|
+
# release.
|
208
|
+
# Corresponds to the JSON property `aggregationFunction`
|
209
|
+
# @return [Google::Apis::MonitoringV1::AggregationFunction]
|
210
|
+
attr_accessor :aggregation_function
|
211
|
+
|
212
|
+
# Required. The name of the column in the dataset containing the breakdown
|
213
|
+
# values.
|
214
|
+
# Corresponds to the JSON property `column`
|
215
|
+
# @return [String]
|
216
|
+
attr_accessor :column
|
217
|
+
|
218
|
+
# Required. A limit to the number of breakdowns. If set to zero then all
|
219
|
+
# possible breakdowns are applied. The list of breakdowns is dependent on the
|
220
|
+
# value of the sort_order field.
|
221
|
+
# Corresponds to the JSON property `limit`
|
222
|
+
# @return [Fixnum]
|
223
|
+
attr_accessor :limit
|
224
|
+
|
225
|
+
# Required. The sort order is applied to the values of the breakdown column.
|
226
|
+
# Corresponds to the JSON property `sortOrder`
|
227
|
+
# @return [String]
|
228
|
+
attr_accessor :sort_order
|
229
|
+
|
230
|
+
def initialize(**args)
|
231
|
+
update!(**args)
|
232
|
+
end
|
233
|
+
|
234
|
+
# Update properties of this object
|
235
|
+
def update!(**args)
|
236
|
+
@aggregation_function = args[:aggregation_function] if args.key?(:aggregation_function)
|
237
|
+
@column = args[:column] if args.key?(:column)
|
238
|
+
@limit = args[:limit] if args.key?(:limit)
|
239
|
+
@sort_order = args[:sort_order] if args.key?(:sort_order)
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
164
243
|
# Options to control visual rendering of a chart.
|
165
244
|
class ChartOptions
|
166
245
|
include Google::Apis::Core::Hashable
|
167
246
|
|
247
|
+
# Preview: Configures whether the charted values are shown on the horizontal or
|
248
|
+
# vertical axis. By default, values are represented the vertical axis. This is a
|
249
|
+
# preview feature and may be subject to change before final release.
|
250
|
+
# Corresponds to the JSON property `displayHorizontal`
|
251
|
+
# @return [Boolean]
|
252
|
+
attr_accessor :display_horizontal
|
253
|
+
alias_method :display_horizontal?, :display_horizontal
|
254
|
+
|
168
255
|
# The chart mode.
|
169
256
|
# Corresponds to the JSON property `mode`
|
170
257
|
# @return [String]
|
@@ -176,6 +263,7 @@ module Google
|
|
176
263
|
|
177
264
|
# Update properties of this object
|
178
265
|
def update!(**args)
|
266
|
+
@display_horizontal = args[:display_horizontal] if args.key?(:display_horizontal)
|
179
267
|
@mode = args[:mode] if args.key?(:mode)
|
180
268
|
end
|
181
269
|
end
|
@@ -396,6 +484,16 @@ module Google
|
|
396
484
|
class DataSet
|
397
485
|
include Google::Apis::Core::Hashable
|
398
486
|
|
487
|
+
# Optional. The collection of breakdowns to be applied to the dataset.
|
488
|
+
# Corresponds to the JSON property `breakdowns`
|
489
|
+
# @return [Array<Google::Apis::MonitoringV1::Breakdown>]
|
490
|
+
attr_accessor :breakdowns
|
491
|
+
|
492
|
+
# Optional. A collection of dimension columns.
|
493
|
+
# Corresponds to the JSON property `dimensions`
|
494
|
+
# @return [Array<Google::Apis::MonitoringV1::Dimension>]
|
495
|
+
attr_accessor :dimensions
|
496
|
+
|
399
497
|
# A template string for naming TimeSeries in the resulting data set. This should
|
400
498
|
# be a string with interpolations of the form $`label_name`, which will resolve
|
401
499
|
# to the label's value.
|
@@ -403,6 +501,11 @@ module Google
|
|
403
501
|
# @return [String]
|
404
502
|
attr_accessor :legend_template
|
405
503
|
|
504
|
+
# Optional. A collection of measures.
|
505
|
+
# Corresponds to the JSON property `measures`
|
506
|
+
# @return [Array<Google::Apis::MonitoringV1::Measure>]
|
507
|
+
attr_accessor :measures
|
508
|
+
|
406
509
|
# Optional. The lower bound on data point frequency for this data set,
|
407
510
|
# implemented by specifying the minimum alignment period to use in a time series
|
408
511
|
# query For example, if the data is published once every 10 minutes, the
|
@@ -434,7 +537,10 @@ module Google
|
|
434
537
|
|
435
538
|
# Update properties of this object
|
436
539
|
def update!(**args)
|
540
|
+
@breakdowns = args[:breakdowns] if args.key?(:breakdowns)
|
541
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
437
542
|
@legend_template = args[:legend_template] if args.key?(:legend_template)
|
543
|
+
@measures = args[:measures] if args.key?(:measures)
|
438
544
|
@min_alignment_period = args[:min_alignment_period] if args.key?(:min_alignment_period)
|
439
545
|
@plot_type = args[:plot_type] if args.key?(:plot_type)
|
440
546
|
@target_axis = args[:target_axis] if args.key?(:target_axis)
|
@@ -442,6 +548,81 @@ module Google
|
|
442
548
|
end
|
443
549
|
end
|
444
550
|
|
551
|
+
# Preview: A chart dimension for an SQL query. This is applied over the x-axis.
|
552
|
+
# This is a preview feature and may be subject to change before final release.
|
553
|
+
class Dimension
|
554
|
+
include Google::Apis::Core::Hashable
|
555
|
+
|
556
|
+
# Required. The name of the column in the source SQL query that is used to chart
|
557
|
+
# the dimension.
|
558
|
+
# Corresponds to the JSON property `column`
|
559
|
+
# @return [String]
|
560
|
+
attr_accessor :column
|
561
|
+
|
562
|
+
# Optional. The type of the dimension column. This is relevant only if one of
|
563
|
+
# the bin_size fields is set. If it is empty, the type TIMESTAMP or INT64 will
|
564
|
+
# be assumed based on which bin_size field is set. If populated, this should be
|
565
|
+
# set to one of the following types: DATE, TIME, DATETIME, TIMESTAMP, BIGNUMERIC,
|
566
|
+
# INT64, NUMERIC, FLOAT64.
|
567
|
+
# Corresponds to the JSON property `columnType`
|
568
|
+
# @return [String]
|
569
|
+
attr_accessor :column_type
|
570
|
+
|
571
|
+
# Optional. float_bin_size is used when the column type used for a dimension is
|
572
|
+
# a floating point numeric column.
|
573
|
+
# Corresponds to the JSON property `floatBinSize`
|
574
|
+
# @return [Float]
|
575
|
+
attr_accessor :float_bin_size
|
576
|
+
|
577
|
+
# A limit to the number of bins generated. When 0 is specified, the maximum
|
578
|
+
# count is not enforced.
|
579
|
+
# Corresponds to the JSON property `maxBinCount`
|
580
|
+
# @return [Fixnum]
|
581
|
+
attr_accessor :max_bin_count
|
582
|
+
|
583
|
+
# numeric_bin_size is used when the column type used for a dimension is numeric
|
584
|
+
# or string.
|
585
|
+
# Corresponds to the JSON property `numericBinSize`
|
586
|
+
# @return [Fixnum]
|
587
|
+
attr_accessor :numeric_bin_size
|
588
|
+
|
589
|
+
# The column name to sort on for binning. This column can be the same column as
|
590
|
+
# this dimension or any other column used as a measure in the results. If
|
591
|
+
# sort_order is set to NONE, then this value is not used.
|
592
|
+
# Corresponds to the JSON property `sortColumn`
|
593
|
+
# @return [String]
|
594
|
+
attr_accessor :sort_column
|
595
|
+
|
596
|
+
# The sort order applied to the sort column.
|
597
|
+
# Corresponds to the JSON property `sortOrder`
|
598
|
+
# @return [String]
|
599
|
+
attr_accessor :sort_order
|
600
|
+
|
601
|
+
# time_bin_size is used when the data type specified by column is a time type
|
602
|
+
# and the bin size is determined by a time duration. If column_type is DATE,
|
603
|
+
# this must be a whole value multiple of 1 day. If column_type is TIME, this
|
604
|
+
# must be less than or equal to 24 hours.
|
605
|
+
# Corresponds to the JSON property `timeBinSize`
|
606
|
+
# @return [String]
|
607
|
+
attr_accessor :time_bin_size
|
608
|
+
|
609
|
+
def initialize(**args)
|
610
|
+
update!(**args)
|
611
|
+
end
|
612
|
+
|
613
|
+
# Update properties of this object
|
614
|
+
def update!(**args)
|
615
|
+
@column = args[:column] if args.key?(:column)
|
616
|
+
@column_type = args[:column_type] if args.key?(:column_type)
|
617
|
+
@float_bin_size = args[:float_bin_size] if args.key?(:float_bin_size)
|
618
|
+
@max_bin_count = args[:max_bin_count] if args.key?(:max_bin_count)
|
619
|
+
@numeric_bin_size = args[:numeric_bin_size] if args.key?(:numeric_bin_size)
|
620
|
+
@sort_column = args[:sort_column] if args.key?(:sort_column)
|
621
|
+
@sort_order = args[:sort_order] if args.key?(:sort_order)
|
622
|
+
@time_bin_size = args[:time_bin_size] if args.key?(:time_bin_size)
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
445
626
|
# A set of (label, value) pairs that were removed from a Distribution time
|
446
627
|
# series during aggregation and then added as an attachment to a Distribution.
|
447
628
|
# Exemplar.The full label set for the exemplars is constructed by using the
|
@@ -773,6 +954,35 @@ module Google
|
|
773
954
|
end
|
774
955
|
end
|
775
956
|
|
957
|
+
# Preview: A chart measure for an SQL query. This is applied over the y-axis.
|
958
|
+
# This is a preview feature and may be subject to change before final release.
|
959
|
+
class Measure
|
960
|
+
include Google::Apis::Core::Hashable
|
961
|
+
|
962
|
+
# Preview: An identifier for an aggregation function. Aggregation functions are
|
963
|
+
# SQL functions that group or transform data from multiple points to a single
|
964
|
+
# point. This is a preview feature and may be subject to change before final
|
965
|
+
# release.
|
966
|
+
# Corresponds to the JSON property `aggregationFunction`
|
967
|
+
# @return [Google::Apis::MonitoringV1::AggregationFunction]
|
968
|
+
attr_accessor :aggregation_function
|
969
|
+
|
970
|
+
# Required. The column name within in the dataset used for the measure.
|
971
|
+
# Corresponds to the JSON property `column`
|
972
|
+
# @return [String]
|
973
|
+
attr_accessor :column
|
974
|
+
|
975
|
+
def initialize(**args)
|
976
|
+
update!(**args)
|
977
|
+
end
|
978
|
+
|
979
|
+
# Update properties of this object
|
980
|
+
def update!(**args)
|
981
|
+
@aggregation_function = args[:aggregation_function] if args.key?(:aggregation_function)
|
982
|
+
@column = args[:column] if args.key?(:column)
|
983
|
+
end
|
984
|
+
end
|
985
|
+
|
776
986
|
# Represents a Metrics Scope (https://cloud.google.com/monitoring/settings#
|
777
987
|
# concept-scope) in Cloud Monitoring, which specifies one or more Google
|
778
988
|
# projects and zero or more AWS accounts to monitor together.
|
@@ -1007,6 +1217,26 @@ module Google
|
|
1007
1217
|
end
|
1008
1218
|
end
|
1009
1219
|
|
1220
|
+
# Preview: A query that produces an aggregated response and supporting data.
|
1221
|
+
# This is a preview feature and may be subject to change before final release.
|
1222
|
+
class OpsAnalyticsQuery
|
1223
|
+
include Google::Apis::Core::Hashable
|
1224
|
+
|
1225
|
+
# A SQL query to fetch time series, category series, or numeric series data.
|
1226
|
+
# Corresponds to the JSON property `sql`
|
1227
|
+
# @return [String]
|
1228
|
+
attr_accessor :sql
|
1229
|
+
|
1230
|
+
def initialize(**args)
|
1231
|
+
update!(**args)
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
# Update properties of this object
|
1235
|
+
def update!(**args)
|
1236
|
+
@sql = args[:sql] if args.key?(:sql)
|
1237
|
+
end
|
1238
|
+
end
|
1239
|
+
|
1010
1240
|
# A protocol buffer option, which can be attached to a message, field,
|
1011
1241
|
# enumeration, etc.
|
1012
1242
|
class Option
|
@@ -1039,6 +1269,32 @@ module Google
|
|
1039
1269
|
end
|
1040
1270
|
end
|
1041
1271
|
|
1272
|
+
# Preview: Parameter value applied to the aggregation function. This is a
|
1273
|
+
# preview feature and may be subject to change before final release.
|
1274
|
+
class Parameter
|
1275
|
+
include Google::Apis::Core::Hashable
|
1276
|
+
|
1277
|
+
# A floating-point parameter value.
|
1278
|
+
# Corresponds to the JSON property `doubleValue`
|
1279
|
+
# @return [Float]
|
1280
|
+
attr_accessor :double_value
|
1281
|
+
|
1282
|
+
# An integer parameter value.
|
1283
|
+
# Corresponds to the JSON property `intValue`
|
1284
|
+
# @return [Fixnum]
|
1285
|
+
attr_accessor :int_value
|
1286
|
+
|
1287
|
+
def initialize(**args)
|
1288
|
+
update!(**args)
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
# Update properties of this object
|
1292
|
+
def update!(**args)
|
1293
|
+
@double_value = args[:double_value] if args.key?(:double_value)
|
1294
|
+
@int_value = args[:int_value] if args.key?(:int_value)
|
1295
|
+
end
|
1296
|
+
end
|
1297
|
+
|
1042
1298
|
# Describes a ranking-based time series filter. Each input time series is ranked
|
1043
1299
|
# with an aligner. The filter will allow up to num_time_series time series to
|
1044
1300
|
# pass through it, selecting them based on the relative ranking.For example, if
|
@@ -1076,6 +1332,92 @@ module Google
|
|
1076
1332
|
end
|
1077
1333
|
end
|
1078
1334
|
|
1335
|
+
# A widget that displays timeseries data as a pie or a donut.
|
1336
|
+
class PieChart
|
1337
|
+
include Google::Apis::Core::Hashable
|
1338
|
+
|
1339
|
+
# Required. Indicates the visualization type for the PieChart.
|
1340
|
+
# Corresponds to the JSON property `chartType`
|
1341
|
+
# @return [String]
|
1342
|
+
attr_accessor :chart_type
|
1343
|
+
|
1344
|
+
# Required. The queries for the chart's data.
|
1345
|
+
# Corresponds to the JSON property `dataSets`
|
1346
|
+
# @return [Array<Google::Apis::MonitoringV1::PieChartDataSet>]
|
1347
|
+
attr_accessor :data_sets
|
1348
|
+
|
1349
|
+
# Optional. Indicates whether or not the pie chart should show slices' labels
|
1350
|
+
# Corresponds to the JSON property `showLabels`
|
1351
|
+
# @return [Boolean]
|
1352
|
+
attr_accessor :show_labels
|
1353
|
+
alias_method :show_labels?, :show_labels
|
1354
|
+
|
1355
|
+
# Optional. Indicates whether or not donut chart should show the total in the
|
1356
|
+
# middle
|
1357
|
+
# Corresponds to the JSON property `showTotal`
|
1358
|
+
# @return [Boolean]
|
1359
|
+
attr_accessor :show_total
|
1360
|
+
alias_method :show_total?, :show_total
|
1361
|
+
|
1362
|
+
# Optional. If slices's values are smaller than this value, they will be
|
1363
|
+
# combined into other category
|
1364
|
+
# Corresponds to the JSON property `sliceAggregatedThreshold`
|
1365
|
+
# @return [Float]
|
1366
|
+
attr_accessor :slice_aggregated_threshold
|
1367
|
+
|
1368
|
+
def initialize(**args)
|
1369
|
+
update!(**args)
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
# Update properties of this object
|
1373
|
+
def update!(**args)
|
1374
|
+
@chart_type = args[:chart_type] if args.key?(:chart_type)
|
1375
|
+
@data_sets = args[:data_sets] if args.key?(:data_sets)
|
1376
|
+
@show_labels = args[:show_labels] if args.key?(:show_labels)
|
1377
|
+
@show_total = args[:show_total] if args.key?(:show_total)
|
1378
|
+
@slice_aggregated_threshold = args[:slice_aggregated_threshold] if args.key?(:slice_aggregated_threshold)
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
# Groups a time series query definition.
|
1383
|
+
class PieChartDataSet
|
1384
|
+
include Google::Apis::Core::Hashable
|
1385
|
+
|
1386
|
+
# Optional. The lower bound on data point frequency for this data set,
|
1387
|
+
# implemented by specifying the minimum alignment period to use in a time series
|
1388
|
+
# query. For example, if the data is published once every 10 minutes, the
|
1389
|
+
# min_alignment_period should be at least 10 minutes. It would not make sense to
|
1390
|
+
# fetch and align data at one minute intervals.
|
1391
|
+
# Corresponds to the JSON property `minAlignmentPeriod`
|
1392
|
+
# @return [String]
|
1393
|
+
attr_accessor :min_alignment_period
|
1394
|
+
|
1395
|
+
# Optional. A template for the name of the slice. This name will be displayed in
|
1396
|
+
# the legend and the tooltip of the pie chart. It replaces the auto-generated
|
1397
|
+
# names for the slices. For example, if the template is set to $`resource.labels.
|
1398
|
+
# zone`, the zone's value will be used for the name instead of the default name.
|
1399
|
+
# Corresponds to the JSON property `sliceNameTemplate`
|
1400
|
+
# @return [String]
|
1401
|
+
attr_accessor :slice_name_template
|
1402
|
+
|
1403
|
+
# TimeSeriesQuery collects the set of supported methods for querying time series
|
1404
|
+
# data from the Stackdriver metrics API.
|
1405
|
+
# Corresponds to the JSON property `timeSeriesQuery`
|
1406
|
+
# @return [Google::Apis::MonitoringV1::TimeSeriesQuery]
|
1407
|
+
attr_accessor :time_series_query
|
1408
|
+
|
1409
|
+
def initialize(**args)
|
1410
|
+
update!(**args)
|
1411
|
+
end
|
1412
|
+
|
1413
|
+
# Update properties of this object
|
1414
|
+
def update!(**args)
|
1415
|
+
@min_alignment_period = args[:min_alignment_period] if args.key?(:min_alignment_period)
|
1416
|
+
@slice_name_template = args[:slice_name_template] if args.key?(:slice_name_template)
|
1417
|
+
@time_series_query = args[:time_series_query] if args.key?(:time_series_query)
|
1418
|
+
end
|
1419
|
+
end
|
1420
|
+
|
1079
1421
|
# QueryExemplarsRequest holds all parameters of the Prometheus upstream API for
|
1080
1422
|
# querying exemplars.
|
1081
1423
|
class QueryExemplarsRequest
|
@@ -1986,6 +2328,12 @@ module Google
|
|
1986
2328
|
class TimeSeriesQuery
|
1987
2329
|
include Google::Apis::Core::Hashable
|
1988
2330
|
|
2331
|
+
# Preview: A query that produces an aggregated response and supporting data.
|
2332
|
+
# This is a preview feature and may be subject to change before final release.
|
2333
|
+
# Corresponds to the JSON property `opsAnalyticsQuery`
|
2334
|
+
# @return [Google::Apis::MonitoringV1::OpsAnalyticsQuery]
|
2335
|
+
attr_accessor :ops_analytics_query
|
2336
|
+
|
1989
2337
|
# Optional. If set, Cloud Monitoring will treat the full query duration as the
|
1990
2338
|
# alignment period so that there will be only 1 output value.*Note: This could
|
1991
2339
|
# override the configured alignment period except for the cases where a series
|
@@ -2033,6 +2381,7 @@ module Google
|
|
2033
2381
|
|
2034
2382
|
# Update properties of this object
|
2035
2383
|
def update!(**args)
|
2384
|
+
@ops_analytics_query = args[:ops_analytics_query] if args.key?(:ops_analytics_query)
|
2036
2385
|
@output_full_duration = args[:output_full_duration] if args.key?(:output_full_duration)
|
2037
2386
|
@prometheus_query = args[:prometheus_query] if args.key?(:prometheus_query)
|
2038
2387
|
@time_series_filter = args[:time_series_filter] if args.key?(:time_series_filter)
|
@@ -2163,6 +2512,11 @@ module Google
|
|
2163
2512
|
# @return [Google::Apis::MonitoringV1::LogsPanel]
|
2164
2513
|
attr_accessor :logs_panel
|
2165
2514
|
|
2515
|
+
# A widget that displays timeseries data as a pie or a donut.
|
2516
|
+
# Corresponds to the JSON property `pieChart`
|
2517
|
+
# @return [Google::Apis::MonitoringV1::PieChart]
|
2518
|
+
attr_accessor :pie_chart
|
2519
|
+
|
2166
2520
|
# A widget showing the latest value of a metric, and how this value relates to
|
2167
2521
|
# one or more thresholds.
|
2168
2522
|
# Corresponds to the JSON property `scorecard`
|
@@ -2200,6 +2554,7 @@ module Google
|
|
2200
2554
|
@collapsible_group = args[:collapsible_group] if args.key?(:collapsible_group)
|
2201
2555
|
@incident_list = args[:incident_list] if args.key?(:incident_list)
|
2202
2556
|
@logs_panel = args[:logs_panel] if args.key?(:logs_panel)
|
2557
|
+
@pie_chart = args[:pie_chart] if args.key?(:pie_chart)
|
2203
2558
|
@scorecard = args[:scorecard] if args.key?(:scorecard)
|
2204
2559
|
@text = args[:text] if args.key?(:text)
|
2205
2560
|
@time_series_table = args[:time_series_table] if args.key?(:time_series_table)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230910"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AggregationFunction
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class AlertChart
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -40,6 +46,12 @@ module Google
|
|
40
46
|
include Google::Apis::Core::JsonObjectSupport
|
41
47
|
end
|
42
48
|
|
49
|
+
class Breakdown
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
43
55
|
class ChartOptions
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
57
|
|
@@ -88,6 +100,12 @@ module Google
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
89
101
|
end
|
90
102
|
|
103
|
+
class Dimension
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
91
109
|
class DroppedLabels
|
92
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
111
|
|
@@ -148,6 +166,12 @@ module Google
|
|
148
166
|
include Google::Apis::Core::JsonObjectSupport
|
149
167
|
end
|
150
168
|
|
169
|
+
class Measure
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
151
175
|
class MetricsScope
|
152
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
177
|
|
@@ -184,18 +208,42 @@ module Google
|
|
184
208
|
include Google::Apis::Core::JsonObjectSupport
|
185
209
|
end
|
186
210
|
|
211
|
+
class OpsAnalyticsQuery
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
187
217
|
class Option
|
188
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
219
|
|
190
220
|
include Google::Apis::Core::JsonObjectSupport
|
191
221
|
end
|
192
222
|
|
223
|
+
class Parameter
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
193
229
|
class PickTimeSeriesFilter
|
194
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
231
|
|
196
232
|
include Google::Apis::Core::JsonObjectSupport
|
197
233
|
end
|
198
234
|
|
235
|
+
class PieChart
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class PieChartDataSet
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
199
247
|
class QueryExemplarsRequest
|
200
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
249
|
|
@@ -368,6 +416,15 @@ module Google
|
|
368
416
|
end
|
369
417
|
end
|
370
418
|
|
419
|
+
class AggregationFunction
|
420
|
+
# @private
|
421
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
422
|
+
collection :parameters, as: 'parameters', class: Google::Apis::MonitoringV1::Parameter, decorator: Google::Apis::MonitoringV1::Parameter::Representation
|
423
|
+
|
424
|
+
property :type, as: 'type'
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
371
428
|
class AlertChart
|
372
429
|
# @private
|
373
430
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -383,9 +440,21 @@ module Google
|
|
383
440
|
end
|
384
441
|
end
|
385
442
|
|
443
|
+
class Breakdown
|
444
|
+
# @private
|
445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
446
|
+
property :aggregation_function, as: 'aggregationFunction', class: Google::Apis::MonitoringV1::AggregationFunction, decorator: Google::Apis::MonitoringV1::AggregationFunction::Representation
|
447
|
+
|
448
|
+
property :column, as: 'column'
|
449
|
+
property :limit, as: 'limit'
|
450
|
+
property :sort_order, as: 'sortOrder'
|
451
|
+
end
|
452
|
+
end
|
453
|
+
|
386
454
|
class ChartOptions
|
387
455
|
# @private
|
388
456
|
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
+
property :display_horizontal, as: 'displayHorizontal'
|
389
458
|
property :mode, as: 'mode'
|
390
459
|
end
|
391
460
|
end
|
@@ -455,7 +524,13 @@ module Google
|
|
455
524
|
class DataSet
|
456
525
|
# @private
|
457
526
|
class Representation < Google::Apis::Core::JsonRepresentation
|
527
|
+
collection :breakdowns, as: 'breakdowns', class: Google::Apis::MonitoringV1::Breakdown, decorator: Google::Apis::MonitoringV1::Breakdown::Representation
|
528
|
+
|
529
|
+
collection :dimensions, as: 'dimensions', class: Google::Apis::MonitoringV1::Dimension, decorator: Google::Apis::MonitoringV1::Dimension::Representation
|
530
|
+
|
458
531
|
property :legend_template, as: 'legendTemplate'
|
532
|
+
collection :measures, as: 'measures', class: Google::Apis::MonitoringV1::Measure, decorator: Google::Apis::MonitoringV1::Measure::Representation
|
533
|
+
|
459
534
|
property :min_alignment_period, as: 'minAlignmentPeriod'
|
460
535
|
property :plot_type, as: 'plotType'
|
461
536
|
property :target_axis, as: 'targetAxis'
|
@@ -464,6 +539,20 @@ module Google
|
|
464
539
|
end
|
465
540
|
end
|
466
541
|
|
542
|
+
class Dimension
|
543
|
+
# @private
|
544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
545
|
+
property :column, as: 'column'
|
546
|
+
property :column_type, as: 'columnType'
|
547
|
+
property :float_bin_size, as: 'floatBinSize'
|
548
|
+
property :max_bin_count, as: 'maxBinCount'
|
549
|
+
property :numeric_bin_size, as: 'numericBinSize'
|
550
|
+
property :sort_column, as: 'sortColumn'
|
551
|
+
property :sort_order, as: 'sortOrder'
|
552
|
+
property :time_bin_size, as: 'timeBinSize'
|
553
|
+
end
|
554
|
+
end
|
555
|
+
|
467
556
|
class DroppedLabels
|
468
557
|
# @private
|
469
558
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -554,6 +643,15 @@ module Google
|
|
554
643
|
end
|
555
644
|
end
|
556
645
|
|
646
|
+
class Measure
|
647
|
+
# @private
|
648
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
649
|
+
property :aggregation_function, as: 'aggregationFunction', class: Google::Apis::MonitoringV1::AggregationFunction, decorator: Google::Apis::MonitoringV1::AggregationFunction::Representation
|
650
|
+
|
651
|
+
property :column, as: 'column'
|
652
|
+
end
|
653
|
+
end
|
654
|
+
|
557
655
|
class MetricsScope
|
558
656
|
# @private
|
559
657
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -611,6 +709,13 @@ module Google
|
|
611
709
|
end
|
612
710
|
end
|
613
711
|
|
712
|
+
class OpsAnalyticsQuery
|
713
|
+
# @private
|
714
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
715
|
+
property :sql, as: 'sql'
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
614
719
|
class Option
|
615
720
|
# @private
|
616
721
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -619,6 +724,14 @@ module Google
|
|
619
724
|
end
|
620
725
|
end
|
621
726
|
|
727
|
+
class Parameter
|
728
|
+
# @private
|
729
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
730
|
+
property :double_value, as: 'doubleValue'
|
731
|
+
property :int_value, :numeric_string => true, as: 'intValue'
|
732
|
+
end
|
733
|
+
end
|
734
|
+
|
622
735
|
class PickTimeSeriesFilter
|
623
736
|
# @private
|
624
737
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -628,6 +741,28 @@ module Google
|
|
628
741
|
end
|
629
742
|
end
|
630
743
|
|
744
|
+
class PieChart
|
745
|
+
# @private
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
747
|
+
property :chart_type, as: 'chartType'
|
748
|
+
collection :data_sets, as: 'dataSets', class: Google::Apis::MonitoringV1::PieChartDataSet, decorator: Google::Apis::MonitoringV1::PieChartDataSet::Representation
|
749
|
+
|
750
|
+
property :show_labels, as: 'showLabels'
|
751
|
+
property :show_total, as: 'showTotal'
|
752
|
+
property :slice_aggregated_threshold, as: 'sliceAggregatedThreshold'
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
class PieChartDataSet
|
757
|
+
# @private
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
759
|
+
property :min_alignment_period, as: 'minAlignmentPeriod'
|
760
|
+
property :slice_name_template, as: 'sliceNameTemplate'
|
761
|
+
property :time_series_query, as: 'timeSeriesQuery', class: Google::Apis::MonitoringV1::TimeSeriesQuery, decorator: Google::Apis::MonitoringV1::TimeSeriesQuery::Representation
|
762
|
+
|
763
|
+
end
|
764
|
+
end
|
765
|
+
|
631
766
|
class QueryExemplarsRequest
|
632
767
|
# @private
|
633
768
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -853,6 +988,8 @@ module Google
|
|
853
988
|
class TimeSeriesQuery
|
854
989
|
# @private
|
855
990
|
class Representation < Google::Apis::Core::JsonRepresentation
|
991
|
+
property :ops_analytics_query, as: 'opsAnalyticsQuery', class: Google::Apis::MonitoringV1::OpsAnalyticsQuery, decorator: Google::Apis::MonitoringV1::OpsAnalyticsQuery::Representation
|
992
|
+
|
856
993
|
property :output_full_duration, as: 'outputFullDuration'
|
857
994
|
property :prometheus_query, as: 'prometheusQuery'
|
858
995
|
property :time_series_filter, as: 'timeSeriesFilter', class: Google::Apis::MonitoringV1::TimeSeriesFilter, decorator: Google::Apis::MonitoringV1::TimeSeriesFilter::Representation
|
@@ -904,6 +1041,8 @@ module Google
|
|
904
1041
|
|
905
1042
|
property :logs_panel, as: 'logsPanel', class: Google::Apis::MonitoringV1::LogsPanel, decorator: Google::Apis::MonitoringV1::LogsPanel::Representation
|
906
1043
|
|
1044
|
+
property :pie_chart, as: 'pieChart', class: Google::Apis::MonitoringV1::PieChart, decorator: Google::Apis::MonitoringV1::PieChart::Representation
|
1045
|
+
|
907
1046
|
property :scorecard, as: 'scorecard', class: Google::Apis::MonitoringV1::Scorecard, decorator: Google::Apis::MonitoringV1::Scorecard::Representation
|
908
1047
|
|
909
1048
|
property :text, as: 'text', class: Google::Apis::MonitoringV1::Text, decorator: Google::Apis::MonitoringV1::Text::Representation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-monitoring_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.40.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Monitoring API V1
|