google-apis-monitoring_v1 0.16.0 → 0.17.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: bd83dbbf306076202f1b5513c764839fbc07c3788f3832807219ed9e2ff6c0e6
4
- data.tar.gz: cdd775e653c6c9a84925072b87df35ef93b14c187d1d145a16182916e81ab765
3
+ metadata.gz: 6be56f332503d860ae91d17b876ea85240fd89a51cb38d1cc06a6bff48c88193
4
+ data.tar.gz: 7f106e97ce0ffa9c39847ef75efbe509862bd3641775f1a55a9f3998904f354f
5
5
  SHA512:
6
- metadata.gz: ab19be539b10e9e25aec0bdb82eafc7529e5cb332c1f97a1e3f31a523854e32f5856341e4343ba95fa2c7f92d58402a7964cef1228788ba5914d6e85a48426cd
7
- data.tar.gz: 12528d816a81d240bf8534fbb1b64652ff248a8d8b02db761220978f16a2d39692e5e3fb12c4f62d9a1034cf3b605553932826804b30262cc420d1744f46570e
6
+ metadata.gz: 948280af2ba9125236b8a8c3f764b88798c0ae42d022157c8c5e2749d71df182482a7d2b82e98af214f8aa9a9a3739a271ef1f823a168efe4f82c6d2e8d35709
7
+ data.tar.gz: c66cc57b8fe4f08022c80375cdffd35d755b341a3b5e825a52fd39bcc6e9c1e767361a9b00d1f209cc11ec59099c05c5c1a3592ec4daebcefbc0e577f89b8306
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.17.0 (2021-11-12)
4
+
5
+ * Regenerated from discovery document revision 20211108
6
+
3
7
  ### v0.16.0 (2021-11-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20211031
@@ -624,6 +624,35 @@ module Google
624
624
  end
625
625
  end
626
626
 
627
+ # A widget that displays a stream of log.
628
+ class LogsPanel
629
+ include Google::Apis::Core::Hashable
630
+
631
+ # A filter that chooses which log entries to return. See Advanced Logs Queries (
632
+ # https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries
633
+ # that match the filter are returned. An empty filter matches all log entries.
634
+ # Corresponds to the JSON property `filter`
635
+ # @return [String]
636
+ attr_accessor :filter
637
+
638
+ # The names of logging resources to collect logs for. Does not implicitly
639
+ # include the current host project. Currently only projects are supported. There
640
+ # must be at least one resource_name.
641
+ # Corresponds to the JSON property `resourceNames`
642
+ # @return [Array<String>]
643
+ attr_accessor :resource_names
644
+
645
+ def initialize(**args)
646
+ update!(**args)
647
+ end
648
+
649
+ # Update properties of this object
650
+ def update!(**args)
651
+ @filter = args[:filter] if args.key?(:filter)
652
+ @resource_names = args[:resource_names] if args.key?(:resource_names)
653
+ end
654
+ end
655
+
627
656
  # Represents a Metrics Scope (https://cloud.google.com/monitoring/settings#
628
657
  # concept-scope) in Cloud Monitoring, which specifies one or more Google
629
658
  # projects and zero or more AWS accounts to monitor together.
@@ -1791,6 +1820,11 @@ module Google
1791
1820
  # @return [Google::Apis::MonitoringV1::Empty]
1792
1821
  attr_accessor :blank
1793
1822
 
1823
+ # A widget that displays a stream of log.
1824
+ # Corresponds to the JSON property `logsPanel`
1825
+ # @return [Google::Apis::MonitoringV1::LogsPanel]
1826
+ attr_accessor :logs_panel
1827
+
1794
1828
  # A widget showing the latest value of a metric, and how this value relates to
1795
1829
  # one or more thresholds.
1796
1830
  # Corresponds to the JSON property `scorecard`
@@ -1825,6 +1859,7 @@ module Google
1825
1859
  def update!(**args)
1826
1860
  @alert_chart = args[:alert_chart] if args.key?(:alert_chart)
1827
1861
  @blank = args[:blank] if args.key?(:blank)
1862
+ @logs_panel = args[:logs_panel] if args.key?(:logs_panel)
1828
1863
  @scorecard = args[:scorecard] if args.key?(:scorecard)
1829
1864
  @text = args[:text] if args.key?(:text)
1830
1865
  @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.16.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211031"
25
+ REVISION = "20211108"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class LogsPanel
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class MetricsScope
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -456,6 +462,14 @@ module Google
456
462
  end
457
463
  end
458
464
 
465
+ class LogsPanel
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ property :filter, as: 'filter'
469
+ collection :resource_names, as: 'resourceNames'
470
+ end
471
+ end
472
+
459
473
  class MetricsScope
460
474
  # @private
461
475
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -752,6 +766,8 @@ module Google
752
766
 
753
767
  property :blank, as: 'blank', class: Google::Apis::MonitoringV1::Empty, decorator: Google::Apis::MonitoringV1::Empty::Representation
754
768
 
769
+ property :logs_panel, as: 'logsPanel', class: Google::Apis::MonitoringV1::LogsPanel, decorator: Google::Apis::MonitoringV1::LogsPanel::Representation
770
+
755
771
  property :scorecard, as: 'scorecard', class: Google::Apis::MonitoringV1::Scorecard, decorator: Google::Apis::MonitoringV1::Scorecard::Representation
756
772
 
757
773
  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.16.0
4
+ version: 0.17.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: 2021-11-08 00:00:00.000000000 Z
11
+ date: 2021-11-15 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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.17.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: []