google-apis-monitoring_v1 0.50.0 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 267cd4030c3e635408ea1cc4074348e9ae06f0e8d6468efff7671108f8d6313e
|
4
|
+
data.tar.gz: 69d2cd95fc186f894b290d0cffceae2acd843de276b05fd813e81b6b4e2a694e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 778af8e1fb5dabde730753c326552800714be91aeb5d89e7789c892d2e85c6bd0138cd7b52a82be8e7ecb65465b3087ed60abf14fe067ee1b2978dd5e0676068
|
7
|
+
data.tar.gz: '09c74fd5f8575a9db9b31e10a8ba84c5711e9adb91c640e2205ccf1c5cb3faa3eac4142b9c09d2d714cbe4e4f1643491520968867122820f2b96515495705675'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v1
|
2
2
|
|
3
|
+
### v0.52.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241003
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.51.0 (2024-06-26)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240623
|
11
|
+
|
3
12
|
### v0.50.0 (2024-06-16)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240609
|
@@ -341,11 +341,27 @@ module Google
|
|
341
341
|
class ColumnSettings
|
342
342
|
include Google::Apis::Core::Hashable
|
343
343
|
|
344
|
+
# Optional. Whether the column should be left / middle / right aligned
|
345
|
+
# Corresponds to the JSON property `alignment`
|
346
|
+
# @return [String]
|
347
|
+
attr_accessor :alignment
|
348
|
+
|
344
349
|
# Required. The id of the column.
|
345
350
|
# Corresponds to the JSON property `column`
|
346
351
|
# @return [String]
|
347
352
|
attr_accessor :column
|
348
353
|
|
354
|
+
# Optional. Display name of the column
|
355
|
+
# Corresponds to the JSON property `displayName`
|
356
|
+
# @return [String]
|
357
|
+
attr_accessor :display_name
|
358
|
+
|
359
|
+
# Optional. The thresholds used to determine how the table cell should be
|
360
|
+
# rendered given the time series' current value.
|
361
|
+
# Corresponds to the JSON property `thresholds`
|
362
|
+
# @return [Array<Google::Apis::MonitoringV1::Threshold>]
|
363
|
+
attr_accessor :thresholds
|
364
|
+
|
349
365
|
# Required. Whether the column should be visible on page load.
|
350
366
|
# Corresponds to the JSON property `visible`
|
351
367
|
# @return [Boolean]
|
@@ -358,7 +374,10 @@ module Google
|
|
358
374
|
|
359
375
|
# Update properties of this object
|
360
376
|
def update!(**args)
|
377
|
+
@alignment = args[:alignment] if args.key?(:alignment)
|
361
378
|
@column = args[:column] if args.key?(:column)
|
379
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
380
|
+
@thresholds = args[:thresholds] if args.key?(:thresholds)
|
362
381
|
@visible = args[:visible] if args.key?(:visible)
|
363
382
|
end
|
364
383
|
end
|
@@ -486,12 +505,24 @@ module Google
|
|
486
505
|
# @return [String]
|
487
506
|
attr_accessor :filter_type
|
488
507
|
|
489
|
-
#
|
508
|
+
# Optional. The key for the label. This must be omitted if the filter_type is
|
509
|
+
# VALUE_ONLY but is required otherwise.
|
490
510
|
# Corresponds to the JSON property `labelKey`
|
491
511
|
# @return [String]
|
492
512
|
attr_accessor :label_key
|
493
513
|
|
494
|
-
#
|
514
|
+
# An array of strings
|
515
|
+
# Corresponds to the JSON property `stringArray`
|
516
|
+
# @return [Google::Apis::MonitoringV1::StringArray]
|
517
|
+
attr_accessor :string_array
|
518
|
+
|
519
|
+
# An array of strings
|
520
|
+
# Corresponds to the JSON property `stringArrayValue`
|
521
|
+
# @return [Google::Apis::MonitoringV1::StringArray]
|
522
|
+
attr_accessor :string_array_value
|
523
|
+
|
524
|
+
# A variable-length string value. If this field is set, value_type must be set
|
525
|
+
# to STRING or VALUE_TYPE_UNSPECIFIED
|
495
526
|
# Corresponds to the JSON property `stringValue`
|
496
527
|
# @return [String]
|
497
528
|
attr_accessor :string_value
|
@@ -503,6 +534,19 @@ module Google
|
|
503
534
|
# @return [String]
|
504
535
|
attr_accessor :template_variable
|
505
536
|
|
537
|
+
# TimeSeriesQuery collects the set of supported methods for querying time series
|
538
|
+
# data from the Stackdriver metrics API.
|
539
|
+
# Corresponds to the JSON property `timeSeriesQuery`
|
540
|
+
# @return [Google::Apis::MonitoringV1::TimeSeriesQuery]
|
541
|
+
attr_accessor :time_series_query
|
542
|
+
|
543
|
+
# The type of the filter value. If value_type is not provided, it will be
|
544
|
+
# inferred from the default_value. If neither value_type nor default_value is
|
545
|
+
# provided, value_type will be set to STRING by default.
|
546
|
+
# Corresponds to the JSON property `valueType`
|
547
|
+
# @return [String]
|
548
|
+
attr_accessor :value_type
|
549
|
+
|
506
550
|
def initialize(**args)
|
507
551
|
update!(**args)
|
508
552
|
end
|
@@ -511,8 +555,12 @@ module Google
|
|
511
555
|
def update!(**args)
|
512
556
|
@filter_type = args[:filter_type] if args.key?(:filter_type)
|
513
557
|
@label_key = args[:label_key] if args.key?(:label_key)
|
558
|
+
@string_array = args[:string_array] if args.key?(:string_array)
|
559
|
+
@string_array_value = args[:string_array_value] if args.key?(:string_array_value)
|
514
560
|
@string_value = args[:string_value] if args.key?(:string_value)
|
515
561
|
@template_variable = args[:template_variable] if args.key?(:template_variable)
|
562
|
+
@time_series_query = args[:time_series_query] if args.key?(:time_series_query)
|
563
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
516
564
|
end
|
517
565
|
end
|
518
566
|
|
@@ -1093,8 +1141,9 @@ module Google
|
|
1093
1141
|
# @return [String]
|
1094
1142
|
attr_accessor :filter
|
1095
1143
|
|
1096
|
-
# The names of logging resources to collect logs for. Currently
|
1097
|
-
# are supported. If empty, the widget will default to the host
|
1144
|
+
# The names of logging resources to collect logs for. Currently projects and
|
1145
|
+
# storage views are supported. If empty, the widget will default to the host
|
1146
|
+
# project.
|
1098
1147
|
# Corresponds to the JSON property `resourceNames`
|
1099
1148
|
# @return [Array<String>]
|
1100
1149
|
attr_accessor :resource_names
|
@@ -1258,7 +1307,7 @@ module Google
|
|
1258
1307
|
include Google::Apis::Core::Hashable
|
1259
1308
|
|
1260
1309
|
# The number of columns in the mosaic grid. The number of columns must be
|
1261
|
-
# between 1 and
|
1310
|
+
# between 1 and 48, inclusive.
|
1262
1311
|
# Corresponds to the JSON property `columns`
|
1263
1312
|
# @return [Fixnum]
|
1264
1313
|
attr_accessor :columns
|
@@ -1593,8 +1642,8 @@ module Google
|
|
1593
1642
|
# @return [String]
|
1594
1643
|
attr_accessor :end
|
1595
1644
|
|
1596
|
-
# A PromQL query string. Query
|
1597
|
-
# prometheus/latest/querying/basics/.
|
1645
|
+
# A PromQL query string. Query language documentation: https://prometheus.io/
|
1646
|
+
# docs/prometheus/latest/querying/basics/.
|
1598
1647
|
# Corresponds to the JSON property `query`
|
1599
1648
|
# @return [String]
|
1600
1649
|
attr_accessor :query
|
@@ -1622,8 +1671,8 @@ module Google
|
|
1622
1671
|
class QueryInstantRequest
|
1623
1672
|
include Google::Apis::Core::Hashable
|
1624
1673
|
|
1625
|
-
# A PromQL query string. Query
|
1626
|
-
# prometheus/latest/querying/basics/.
|
1674
|
+
# A PromQL query string. Query language documentation: https://prometheus.io/
|
1675
|
+
# docs/prometheus/latest/querying/basics/.
|
1627
1676
|
# Corresponds to the JSON property `query`
|
1628
1677
|
# @return [String]
|
1629
1678
|
attr_accessor :query
|
@@ -1701,8 +1750,8 @@ module Google
|
|
1701
1750
|
# @return [String]
|
1702
1751
|
attr_accessor :end
|
1703
1752
|
|
1704
|
-
# A PromQL query string. Query
|
1705
|
-
# prometheus/latest/querying/basics/.
|
1753
|
+
# A PromQL query string. Query language documentation: https://prometheus.io/
|
1754
|
+
# docs/prometheus/latest/querying/basics/.
|
1706
1755
|
# Corresponds to the JSON property `query`
|
1707
1756
|
# @return [String]
|
1708
1757
|
attr_accessor :query
|
@@ -2136,6 +2185,25 @@ module Google
|
|
2136
2185
|
end
|
2137
2186
|
end
|
2138
2187
|
|
2188
|
+
# An array of strings
|
2189
|
+
class StringArray
|
2190
|
+
include Google::Apis::Core::Hashable
|
2191
|
+
|
2192
|
+
# The values of the array
|
2193
|
+
# Corresponds to the JSON property `values`
|
2194
|
+
# @return [Array<String>]
|
2195
|
+
attr_accessor :values
|
2196
|
+
|
2197
|
+
def initialize(**args)
|
2198
|
+
update!(**args)
|
2199
|
+
end
|
2200
|
+
|
2201
|
+
# Update properties of this object
|
2202
|
+
def update!(**args)
|
2203
|
+
@values = args[:values] if args.key?(:values)
|
2204
|
+
end
|
2205
|
+
end
|
2206
|
+
|
2139
2207
|
# Groups a time series query definition with table options.
|
2140
2208
|
class TableDataSet
|
2141
2209
|
include Google::Apis::Core::Hashable
|
@@ -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.52.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241003"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -364,6 +364,12 @@ module Google
|
|
364
364
|
include Google::Apis::Core::JsonObjectSupport
|
365
365
|
end
|
366
366
|
|
367
|
+
class StringArray
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
367
373
|
class TableDataSet
|
368
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
375
|
|
@@ -522,7 +528,11 @@ module Google
|
|
522
528
|
class ColumnSettings
|
523
529
|
# @private
|
524
530
|
class Representation < Google::Apis::Core::JsonRepresentation
|
531
|
+
property :alignment, as: 'alignment'
|
525
532
|
property :column, as: 'column'
|
533
|
+
property :display_name, as: 'displayName'
|
534
|
+
collection :thresholds, as: 'thresholds', class: Google::Apis::MonitoringV1::Threshold, decorator: Google::Apis::MonitoringV1::Threshold::Representation
|
535
|
+
|
526
536
|
property :visible, as: 'visible'
|
527
537
|
end
|
528
538
|
end
|
@@ -563,8 +573,15 @@ module Google
|
|
563
573
|
class Representation < Google::Apis::Core::JsonRepresentation
|
564
574
|
property :filter_type, as: 'filterType'
|
565
575
|
property :label_key, as: 'labelKey'
|
576
|
+
property :string_array, as: 'stringArray', class: Google::Apis::MonitoringV1::StringArray, decorator: Google::Apis::MonitoringV1::StringArray::Representation
|
577
|
+
|
578
|
+
property :string_array_value, as: 'stringArrayValue', class: Google::Apis::MonitoringV1::StringArray, decorator: Google::Apis::MonitoringV1::StringArray::Representation
|
579
|
+
|
566
580
|
property :string_value, as: 'stringValue'
|
567
581
|
property :template_variable, as: 'templateVariable'
|
582
|
+
property :time_series_query, as: 'timeSeriesQuery', class: Google::Apis::MonitoringV1::TimeSeriesQuery, decorator: Google::Apis::MonitoringV1::TimeSeriesQuery::Representation
|
583
|
+
|
584
|
+
property :value_type, as: 'valueType'
|
568
585
|
end
|
569
586
|
end
|
570
587
|
|
@@ -987,6 +1004,13 @@ module Google
|
|
987
1004
|
end
|
988
1005
|
end
|
989
1006
|
|
1007
|
+
class StringArray
|
1008
|
+
# @private
|
1009
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1010
|
+
collection :values, as: 'values'
|
1011
|
+
end
|
1012
|
+
end
|
1013
|
+
|
990
1014
|
class TableDataSet
|
991
1015
|
# @private
|
992
1016
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -412,10 +412,10 @@ module Google
|
|
412
412
|
|
413
413
|
# Lists labels for metrics.
|
414
414
|
# @param [String] name
|
415
|
-
# The workspace on which to execute the request. It is not part of the
|
416
|
-
# source API but used as a request path prefix to distinguish different
|
417
|
-
# Prometheus instances of Google Prometheus Engine. The format is:
|
418
|
-
# PROJECT_ID_OR_NUMBER.
|
415
|
+
# Required. The workspace on which to execute the request. It is not part of the
|
416
|
+
# open source API but used as a request path prefix to distinguish different
|
417
|
+
# virtual Prometheus instances of Google Prometheus Engine. The format is:
|
418
|
+
# projects/PROJECT_ID_OR_NUMBER.
|
419
419
|
# @param [String] location
|
420
420
|
# Location of the resource information. Has to be "global" now.
|
421
421
|
# @param [Google::Apis::MonitoringV1::QueryLabelsRequest] query_labels_request_object
|
@@ -451,10 +451,10 @@ module Google
|
|
451
451
|
|
452
452
|
# Evaluate a PromQL query at a single point in time.
|
453
453
|
# @param [String] name
|
454
|
-
# The project on which to execute the request. Data associcated with
|
455
|
-
# s workspace stored under the The format is: projects/
|
456
|
-
# Open source API but used as a request path prefix to
|
457
|
-
# virtual Prometheus instances of Google Prometheus Engine.
|
454
|
+
# Required. The project on which to execute the request. Data associcated with
|
455
|
+
# the project's workspace stored under the The format is: projects/
|
456
|
+
# PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to
|
457
|
+
# distinguish different virtual Prometheus instances of Google Prometheus Engine.
|
458
458
|
# @param [String] location
|
459
459
|
# Location of the resource information. Has to be "global" now.
|
460
460
|
# @param [Google::Apis::MonitoringV1::QueryInstantRequest] query_instant_request_object
|
@@ -490,10 +490,10 @@ module Google
|
|
490
490
|
|
491
491
|
# Lists exemplars relevant to a given PromQL query,
|
492
492
|
# @param [String] name
|
493
|
-
# The project on which to execute the request. Data associcated with
|
494
|
-
# s workspace stored under the The format is: projects/
|
495
|
-
# Open source API but used as a request path prefix to
|
496
|
-
# virtual Prometheus instances of Google Prometheus Engine.
|
493
|
+
# Required. The project on which to execute the request. Data associcated with
|
494
|
+
# the project's workspace stored under the The format is: projects/
|
495
|
+
# PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to
|
496
|
+
# distinguish different virtual Prometheus instances of Google Prometheus Engine.
|
497
497
|
# @param [String] location
|
498
498
|
# Location of the resource information. Has to be "global" now.
|
499
499
|
# @param [Google::Apis::MonitoringV1::QueryExemplarsRequest] query_exemplars_request_object
|
@@ -529,10 +529,10 @@ module Google
|
|
529
529
|
|
530
530
|
# Evaluate a PromQL query with start, end time range.
|
531
531
|
# @param [String] name
|
532
|
-
# The project on which to execute the request. Data associcated with
|
533
|
-
# s workspace stored under the The format is: projects/
|
534
|
-
# Open source API but used as a request path prefix to
|
535
|
-
# virtual Prometheus instances of Google Prometheus Engine.
|
532
|
+
# Required. The project on which to execute the request. Data associcated with
|
533
|
+
# the project's workspace stored under the The format is: projects/
|
534
|
+
# PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to
|
535
|
+
# distinguish different virtual Prometheus instances of Google Prometheus Engine.
|
536
536
|
# @param [String] location
|
537
537
|
# Location of the resource information. Has to be "global" now.
|
538
538
|
# @param [Google::Apis::MonitoringV1::QueryRangeRequest] query_range_request_object
|
@@ -607,10 +607,10 @@ module Google
|
|
607
607
|
|
608
608
|
# Lists possible values for a given label name.
|
609
609
|
# @param [String] name
|
610
|
-
# The workspace on which to execute the request. It is not part of the
|
611
|
-
# source API but used as a request path prefix to distinguish different
|
612
|
-
# Prometheus instances of Google Prometheus Engine. The format is:
|
613
|
-
# PROJECT_ID_OR_NUMBER.
|
610
|
+
# Required. The workspace on which to execute the request. It is not part of the
|
611
|
+
# open source API but used as a request path prefix to distinguish different
|
612
|
+
# virtual Prometheus instances of Google Prometheus Engine. The format is:
|
613
|
+
# projects/PROJECT_ID_OR_NUMBER.
|
614
614
|
# @param [String] location
|
615
615
|
# Location of the resource information. Has to be "global" now.
|
616
616
|
# @param [String] label
|
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.52.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: 2024-
|
11
|
+
date: 2024-12-04 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.52.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.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Monitoring API V1
|