google-apis-monitoring_v1 0.20.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: 918c1c978c2394cce21060ef06d91bd9ae2603ec5a18134ba3a2192ec8f246d4
4
- data.tar.gz: e97a987c6058995d6333100f24039cce32e29d5026a60d30093f9b1c25cbe6f0
3
+ metadata.gz: 15eaa5a83867c44c914d5b2d6387fceb10364a9209dc7dbfac7c4d7be4c18fe3
4
+ data.tar.gz: f9d60ff3bd77827b7b56381c6785cd20bf025bbe1436d0476ea4d98e8070ae1c
5
5
  SHA512:
6
- metadata.gz: 0f10474194ffe18348b4de9fe39b2119f589b7bc59a88c5055e248a73cbead15fdfbe701aeddf6cf108006ef8b4ea9c9f3153212a9f0cad418b73d2f29a1bb7e
7
- data.tar.gz: db4d28b6881dca25bc97831da83ef6ec69ccb43973fac7b69bb2dbd672a19fc1e2e20d70e80a3e373c26e6c68b87a1bb31d84f53605c22b47b46ee1b7dc6278c
6
+ metadata.gz: cc1671690136da47077a63414b8d82bec9580d620d98560491637d82308fad981b7c314afb3d88813a8c0df48103715b5f7a643ac3a04501f605f33fcc02c9ff
7
+ data.tar.gz: feba2fbed28299e1fc332c17a7f649873a13d0c587de709c20b573d506af9abaa19b6b1b044f5affb95cc5523d5c50dce328178ee3eb2870691546372b2c24a3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.20.0 (2022-02-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20220214
@@ -260,6 +260,11 @@ module Google
260
260
  # @return [Google::Apis::MonitoringV1::ColumnLayout]
261
261
  attr_accessor :column_layout
262
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
+
263
268
  # Required. The mutable, human-readable name.
264
269
  # Corresponds to the JSON property `displayName`
265
270
  # @return [String]
@@ -311,6 +316,7 @@ module Google
311
316
  # Update properties of this object
312
317
  def update!(**args)
313
318
  @column_layout = args[:column_layout] if args.key?(:column_layout)
319
+ @dashboard_filters = args[:dashboard_filters] if args.key?(:dashboard_filters)
314
320
  @display_name = args[:display_name] if args.key?(:display_name)
315
321
  @etag = args[:etag] if args.key?(:etag)
316
322
  @grid_layout = args[:grid_layout] if args.key?(:grid_layout)
@@ -321,6 +327,45 @@ module Google
321
327
  end
322
328
  end
323
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
+
324
369
  # Groups a time series query definition with charting options.
325
370
  class DataSet
326
371
  include Google::Apis::Core::Hashable
@@ -404,8 +449,7 @@ module Google
404
449
  # A generic empty message that you can re-use to avoid defining duplicated empty
405
450
  # messages in your APIs. A typical example is to use it as the request or the
406
451
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
407
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
408
- # Empty is empty JSON object ``.
452
+ # protobuf.Empty) returns (google.protobuf.Empty); `
409
453
  class Empty
410
454
  include Google::Apis::Core::Hashable
411
455
 
@@ -1834,8 +1878,7 @@ module Google
1834
1878
  # A generic empty message that you can re-use to avoid defining duplicated empty
1835
1879
  # messages in your APIs. A typical example is to use it as the request or the
1836
1880
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1837
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1838
- # Empty is empty JSON object ``.
1881
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1839
1882
  # Corresponds to the JSON property `blank`
1840
1883
  # @return [Google::Apis::MonitoringV1::Empty]
1841
1884
  attr_accessor :blank
@@ -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.20.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220214"
25
+ REVISION = "20220327"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class DashboardFilter
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class DataSet
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -377,6 +383,8 @@ module Google
377
383
  class Representation < Google::Apis::Core::JsonRepresentation
378
384
  property :column_layout, as: 'columnLayout', class: Google::Apis::MonitoringV1::ColumnLayout, decorator: Google::Apis::MonitoringV1::ColumnLayout::Representation
379
385
 
386
+ collection :dashboard_filters, as: 'dashboardFilters', class: Google::Apis::MonitoringV1::DashboardFilter, decorator: Google::Apis::MonitoringV1::DashboardFilter::Representation
387
+
380
388
  property :display_name, as: 'displayName'
381
389
  property :etag, as: 'etag'
382
390
  property :grid_layout, as: 'gridLayout', class: Google::Apis::MonitoringV1::GridLayout, decorator: Google::Apis::MonitoringV1::GridLayout::Representation
@@ -390,6 +398,16 @@ module Google
390
398
  end
391
399
  end
392
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
+
393
411
  class DataSet
394
412
  # @private
395
413
  class Representation < Google::Apis::Core::JsonRepresentation
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.20.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-02-21 00:00:00.000000000 Z
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.20.0
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: []