google-apis-monitoring_v1 0.20.0 → 0.23.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: 2cd556abd2dbf37e832ea75bfe84276c6fec3bbb6f9055ca25a1d5027307940d
4
+ data.tar.gz: 022bb49bd596b0ab642a2dfc3fe3d64b07196d4d3eb096b24c7b107992ece14c
5
5
  SHA512:
6
- metadata.gz: 0f10474194ffe18348b4de9fe39b2119f589b7bc59a88c5055e248a73cbead15fdfbe701aeddf6cf108006ef8b4ea9c9f3153212a9f0cad418b73d2f29a1bb7e
7
- data.tar.gz: db4d28b6881dca25bc97831da83ef6ec69ccb43973fac7b69bb2dbd672a19fc1e2e20d70e80a3e373c26e6c68b87a1bb31d84f53605c22b47b46ee1b7dc6278c
6
+ metadata.gz: 88c0be593db20cbf442047b428b59c5a2c823c656bdcbd14726368521a317be94587d0bb78b650c1792db0da503e11f9ed9a53caf11bb642648096cb119f2920
7
+ data.tar.gz: 2d73bdac4bebee646ec8f3116e0d90e2bc0a3d3d78fe0ebe60ed4cbe0f7f7d68639afda418b9e9e36d23f1593350b344ea2e6e841c2a211b0718b1cf40478d0d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.23.0 (2022-06-05)
4
+
5
+ * Regenerated using generator version 0.5.0
6
+
7
+ ### v0.22.0 (2022-04-23)
8
+
9
+ * Regenerated from discovery document revision 20220418
10
+
11
+ ### v0.21.0 (2022-04-07)
12
+
13
+ * Regenerated from discovery document revision 20220327
14
+
3
15
  ### v0.20.0 (2022-02-18)
4
16
 
5
17
  * 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
 
@@ -1726,7 +1770,7 @@ module Google
1726
1770
  # @return [Google::Apis::MonitoringV1::TimeSeriesFilterRatio]
1727
1771
  attr_accessor :time_series_filter_ratio
1728
1772
 
1729
- # A query used to fetch time series.
1773
+ # A query used to fetch time series with MQL.
1730
1774
  # Corresponds to the JSON property `timeSeriesQueryLanguage`
1731
1775
  # @return [String]
1732
1776
  attr_accessor :time_series_query_language
@@ -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.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220214"
25
+ REVISION = "20220418"
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.23.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-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.23.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.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Monitoring API V1