google-apis-monitoring_v1 0.18.0 → 0.21.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: 15eaa5a83867c44c914d5b2d6387fceb10364a9209dc7dbfac7c4d7be4c18fe3
|
4
|
+
data.tar.gz: f9d60ff3bd77827b7b56381c6785cd20bf025bbe1436d0476ea4d98e8070ae1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc1671690136da47077a63414b8d82bec9580d620d98560491637d82308fad981b7c314afb3d88813a8c0df48103715b5f7a643ac3a04501f605f33fcc02c9ff
|
7
|
+
data.tar.gz: feba2fbed28299e1fc332c17a7f649873a13d0c587de709c20b573d506af9abaa19b6b1b044f5affb95cc5523d5c50dce328178ee3eb2870691546372b2c24a3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2022-04-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220327
|
6
|
+
|
7
|
+
### v0.20.0 (2022-02-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220214
|
10
|
+
|
11
|
+
### v0.19.0 (2022-01-21)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220117
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
3
16
|
### v0.18.0 (2021-12-14)
|
4
17
|
|
5
18
|
* Unspecified changes
|
@@ -180,6 +180,27 @@ module Google
|
|
180
180
|
end
|
181
181
|
end
|
182
182
|
|
183
|
+
# A widget that groups the other widgets. All widgets that are within the area
|
184
|
+
# spanned by the grouping widget are considered member widgets.
|
185
|
+
class CollapsibleGroup
|
186
|
+
include Google::Apis::Core::Hashable
|
187
|
+
|
188
|
+
# The collapsed state of the widget on first page load.
|
189
|
+
# Corresponds to the JSON property `collapsed`
|
190
|
+
# @return [Boolean]
|
191
|
+
attr_accessor :collapsed
|
192
|
+
alias_method :collapsed?, :collapsed
|
193
|
+
|
194
|
+
def initialize(**args)
|
195
|
+
update!(**args)
|
196
|
+
end
|
197
|
+
|
198
|
+
# Update properties of this object
|
199
|
+
def update!(**args)
|
200
|
+
@collapsed = args[:collapsed] if args.key?(:collapsed)
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
183
204
|
# Defines the layout properties and content for a column.
|
184
205
|
class Column
|
185
206
|
include Google::Apis::Core::Hashable
|
@@ -239,6 +260,11 @@ module Google
|
|
239
260
|
# @return [Google::Apis::MonitoringV1::ColumnLayout]
|
240
261
|
attr_accessor :column_layout
|
241
262
|
|
263
|
+
# Filters to reduce the amount of data charted based on the filter criteria.
|
264
|
+
# Corresponds to the JSON property `dashboardFilters`
|
265
|
+
# @return [Array<Google::Apis::MonitoringV1::DashboardFilter>]
|
266
|
+
attr_accessor :dashboard_filters
|
267
|
+
|
242
268
|
# Required. The mutable, human-readable name.
|
243
269
|
# Corresponds to the JSON property `displayName`
|
244
270
|
# @return [String]
|
@@ -290,6 +316,7 @@ module Google
|
|
290
316
|
# Update properties of this object
|
291
317
|
def update!(**args)
|
292
318
|
@column_layout = args[:column_layout] if args.key?(:column_layout)
|
319
|
+
@dashboard_filters = args[:dashboard_filters] if args.key?(:dashboard_filters)
|
293
320
|
@display_name = args[:display_name] if args.key?(:display_name)
|
294
321
|
@etag = args[:etag] if args.key?(:etag)
|
295
322
|
@grid_layout = args[:grid_layout] if args.key?(:grid_layout)
|
@@ -300,6 +327,45 @@ module Google
|
|
300
327
|
end
|
301
328
|
end
|
302
329
|
|
330
|
+
# A filter to reduce the amount of data charted in relevant widgets.
|
331
|
+
class DashboardFilter
|
332
|
+
include Google::Apis::Core::Hashable
|
333
|
+
|
334
|
+
# The specified filter type
|
335
|
+
# Corresponds to the JSON property `filterType`
|
336
|
+
# @return [String]
|
337
|
+
attr_accessor :filter_type
|
338
|
+
|
339
|
+
# Required. The key for the label
|
340
|
+
# Corresponds to the JSON property `labelKey`
|
341
|
+
# @return [String]
|
342
|
+
attr_accessor :label_key
|
343
|
+
|
344
|
+
# A variable-length string value.
|
345
|
+
# Corresponds to the JSON property `stringValue`
|
346
|
+
# @return [String]
|
347
|
+
attr_accessor :string_value
|
348
|
+
|
349
|
+
# The placeholder text that can be referenced in a filter string or MQL query.
|
350
|
+
# If omitted, the dashboard filter will be applied to all relevant widgets in
|
351
|
+
# the dashboard.
|
352
|
+
# Corresponds to the JSON property `templateVariable`
|
353
|
+
# @return [String]
|
354
|
+
attr_accessor :template_variable
|
355
|
+
|
356
|
+
def initialize(**args)
|
357
|
+
update!(**args)
|
358
|
+
end
|
359
|
+
|
360
|
+
# Update properties of this object
|
361
|
+
def update!(**args)
|
362
|
+
@filter_type = args[:filter_type] if args.key?(:filter_type)
|
363
|
+
@label_key = args[:label_key] if args.key?(:label_key)
|
364
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
365
|
+
@template_variable = args[:template_variable] if args.key?(:template_variable)
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
303
369
|
# Groups a time series query definition with charting options.
|
304
370
|
class DataSet
|
305
371
|
include Google::Apis::Core::Hashable
|
@@ -383,8 +449,7 @@ module Google
|
|
383
449
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
384
450
|
# messages in your APIs. A typical example is to use it as the request or the
|
385
451
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
386
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
387
|
-
# Empty is empty JSON object ``.
|
452
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
388
453
|
class Empty
|
389
454
|
include Google::Apis::Core::Hashable
|
390
455
|
|
@@ -635,9 +700,8 @@ module Google
|
|
635
700
|
# @return [String]
|
636
701
|
attr_accessor :filter
|
637
702
|
|
638
|
-
# The names of logging resources to collect logs for.
|
639
|
-
#
|
640
|
-
# must be at least one resource_name.
|
703
|
+
# The names of logging resources to collect logs for. Currently only projects
|
704
|
+
# are supported. If empty, the widget will default to the host project.
|
641
705
|
# Corresponds to the JSON property `resourceNames`
|
642
706
|
# @return [Array<String>]
|
643
707
|
attr_accessor :resource_names
|
@@ -1814,12 +1878,17 @@ module Google
|
|
1814
1878
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1815
1879
|
# messages in your APIs. A typical example is to use it as the request or the
|
1816
1880
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1817
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1818
|
-
# Empty is empty JSON object ``.
|
1881
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1819
1882
|
# Corresponds to the JSON property `blank`
|
1820
1883
|
# @return [Google::Apis::MonitoringV1::Empty]
|
1821
1884
|
attr_accessor :blank
|
1822
1885
|
|
1886
|
+
# A widget that groups the other widgets. All widgets that are within the area
|
1887
|
+
# spanned by the grouping widget are considered member widgets.
|
1888
|
+
# Corresponds to the JSON property `collapsibleGroup`
|
1889
|
+
# @return [Google::Apis::MonitoringV1::CollapsibleGroup]
|
1890
|
+
attr_accessor :collapsible_group
|
1891
|
+
|
1823
1892
|
# A widget that displays a stream of log.
|
1824
1893
|
# Corresponds to the JSON property `logsPanel`
|
1825
1894
|
# @return [Google::Apis::MonitoringV1::LogsPanel]
|
@@ -1859,6 +1928,7 @@ module Google
|
|
1859
1928
|
def update!(**args)
|
1860
1929
|
@alert_chart = args[:alert_chart] if args.key?(:alert_chart)
|
1861
1930
|
@blank = args[:blank] if args.key?(:blank)
|
1931
|
+
@collapsible_group = args[:collapsible_group] if args.key?(:collapsible_group)
|
1862
1932
|
@logs_panel = args[:logs_panel] if args.key?(:logs_panel)
|
1863
1933
|
@scorecard = args[:scorecard] if args.key?(:scorecard)
|
1864
1934
|
@text = args[:text] if args.key?(:text)
|
@@ -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.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220327"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class CollapsibleGroup
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class Column
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -64,6 +70,12 @@ module Google
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
65
71
|
end
|
66
72
|
|
73
|
+
class DashboardFilter
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
67
79
|
class DataSet
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
81
|
|
@@ -342,6 +354,13 @@ module Google
|
|
342
354
|
end
|
343
355
|
end
|
344
356
|
|
357
|
+
class CollapsibleGroup
|
358
|
+
# @private
|
359
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
360
|
+
property :collapsed, as: 'collapsed'
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
345
364
|
class Column
|
346
365
|
# @private
|
347
366
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -364,6 +383,8 @@ module Google
|
|
364
383
|
class Representation < Google::Apis::Core::JsonRepresentation
|
365
384
|
property :column_layout, as: 'columnLayout', class: Google::Apis::MonitoringV1::ColumnLayout, decorator: Google::Apis::MonitoringV1::ColumnLayout::Representation
|
366
385
|
|
386
|
+
collection :dashboard_filters, as: 'dashboardFilters', class: Google::Apis::MonitoringV1::DashboardFilter, decorator: Google::Apis::MonitoringV1::DashboardFilter::Representation
|
387
|
+
|
367
388
|
property :display_name, as: 'displayName'
|
368
389
|
property :etag, as: 'etag'
|
369
390
|
property :grid_layout, as: 'gridLayout', class: Google::Apis::MonitoringV1::GridLayout, decorator: Google::Apis::MonitoringV1::GridLayout::Representation
|
@@ -377,6 +398,16 @@ module Google
|
|
377
398
|
end
|
378
399
|
end
|
379
400
|
|
401
|
+
class DashboardFilter
|
402
|
+
# @private
|
403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
404
|
+
property :filter_type, as: 'filterType'
|
405
|
+
property :label_key, as: 'labelKey'
|
406
|
+
property :string_value, as: 'stringValue'
|
407
|
+
property :template_variable, as: 'templateVariable'
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
380
411
|
class DataSet
|
381
412
|
# @private
|
382
413
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -766,6 +797,8 @@ module Google
|
|
766
797
|
|
767
798
|
property :blank, as: 'blank', class: Google::Apis::MonitoringV1::Empty, decorator: Google::Apis::MonitoringV1::Empty::Representation
|
768
799
|
|
800
|
+
property :collapsible_group, as: 'collapsibleGroup', class: Google::Apis::MonitoringV1::CollapsibleGroup, decorator: Google::Apis::MonitoringV1::CollapsibleGroup::Representation
|
801
|
+
|
769
802
|
property :logs_panel, as: 'logsPanel', class: Google::Apis::MonitoringV1::LogsPanel, decorator: Google::Apis::MonitoringV1::LogsPanel::Representation
|
770
803
|
|
771
804
|
property :scorecard, as: 'scorecard', class: Google::Apis::MonitoringV1::Scorecard, decorator: Google::Apis::MonitoringV1::Scorecard::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.21.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: 2022-
|
11
|
+
date: 2022-04-11 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.21.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.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Monitoring API V1
|