google-apis-monitoring_v1 0.15.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca008d8d1728a12f35eae0d004f8a481af0cf24afb5702b03fd28bc5928eff14
4
- data.tar.gz: '049e2d40b9abf5ec189ae4078468aff7472c0ea37d2676ca4b1752aa2e6f14d6'
3
+ metadata.gz: 78491e13b330d8c00fb846713f8bc9807aeee3be9e82c25482a212fb9d83bc6d
4
+ data.tar.gz: '0548760299fc027192a1f4aab60502839c075fd18238f626196e083f3cee5043'
5
5
  SHA512:
6
- metadata.gz: 5f41996fc5ad8ab1589dbef2273e89f68c8ce5c64b0e7755416b81614e08aa5fe1c675327f438fb1ea7b1cff02aeafdbacd033171895102d8f40c56e6342a550
7
- data.tar.gz: 33678c867e936839bf89c82cd59ca9f8e78947e93b78255fe7db76d223392227796d654f77def4d083324f10a9e3528c88dabf0b0f8327ace228226de4a6cf8d
6
+ metadata.gz: c7c595ee726804ac2709eca821b91a546aa304e4de77ee8f573f360dda185b1f067fca92ca9c62deaa3ab50093cc5e13565b1abc9264a23e368da7633e0fe3c2
7
+ data.tar.gz: 3c8ab7f2424d1907f258eeeb2f1afab2122d613958386c3b8776b954cadae3610f0a3d31e3d510746c6e6d53f8afbf789d6637c63910529adc4d0bb348dd6f51
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.19.0 (2022-01-21)
4
+
5
+ * Regenerated from discovery document revision 20220117
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.18.0 (2021-12-14)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.17.0 (2021-11-12)
13
+
14
+ * Regenerated from discovery document revision 20211108
15
+
16
+ ### v0.16.0 (2021-11-05)
17
+
18
+ * Regenerated from discovery document revision 20211031
19
+
3
20
  ### v0.15.0 (2021-10-29)
4
21
 
5
22
  * Regenerated from discovery document revision 20211026
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/monitoring_v1"
51
51
  client = Google::Apis::MonitoringV1::MonitoringService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -624,6 +624,34 @@ 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. Currently only projects
639
+ # are supported. If empty, the widget will default to the host project.
640
+ # Corresponds to the JSON property `resourceNames`
641
+ # @return [Array<String>]
642
+ attr_accessor :resource_names
643
+
644
+ def initialize(**args)
645
+ update!(**args)
646
+ end
647
+
648
+ # Update properties of this object
649
+ def update!(**args)
650
+ @filter = args[:filter] if args.key?(:filter)
651
+ @resource_names = args[:resource_names] if args.key?(:resource_names)
652
+ end
653
+ end
654
+
627
655
  # Represents a Metrics Scope (https://cloud.google.com/monitoring/settings#
628
656
  # concept-scope) in Cloud Monitoring, which specifies one or more Google
629
657
  # projects and zero or more AWS accounts to monitor together.
@@ -1791,6 +1819,11 @@ module Google
1791
1819
  # @return [Google::Apis::MonitoringV1::Empty]
1792
1820
  attr_accessor :blank
1793
1821
 
1822
+ # A widget that displays a stream of log.
1823
+ # Corresponds to the JSON property `logsPanel`
1824
+ # @return [Google::Apis::MonitoringV1::LogsPanel]
1825
+ attr_accessor :logs_panel
1826
+
1794
1827
  # A widget showing the latest value of a metric, and how this value relates to
1795
1828
  # one or more thresholds.
1796
1829
  # Corresponds to the JSON property `scorecard`
@@ -1825,6 +1858,7 @@ module Google
1825
1858
  def update!(**args)
1826
1859
  @alert_chart = args[:alert_chart] if args.key?(:alert_chart)
1827
1860
  @blank = args[:blank] if args.key?(:blank)
1861
+ @logs_panel = args[:logs_panel] if args.key?(:logs_panel)
1828
1862
  @scorecard = args[:scorecard] if args.key?(:scorecard)
1829
1863
  @text = args[:text] if args.key?(:text)
1830
1864
  @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.15.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211026"
25
+ REVISION = "20220117"
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
@@ -22,12 +22,7 @@ module Google
22
22
  module MonitoringV1
23
23
  # Cloud Monitoring API
24
24
  #
25
- # Manages your Cloud Monitoring data and configurations. Most projects must be
26
- # associated with a Workspace, with a few exceptions as noted on the individual
27
- # method pages. The table entries below are presented in alphabetical order, not
28
- # in order of common use. For explanations of the concepts found in the table
29
- # entries, read the Cloud Monitoring documentation (https://cloud.google.com/
30
- # monitoring/docs).
25
+ # Manages your Cloud Monitoring data and configurations.
31
26
  #
32
27
  # @example
33
28
  # require 'google/apis/monitoring_v1'
@@ -21,12 +21,7 @@ module Google
21
21
  module Apis
22
22
  # Cloud Monitoring API
23
23
  #
24
- # Manages your Cloud Monitoring data and configurations. Most projects must be
25
- # associated with a Workspace, with a few exceptions as noted on the individual
26
- # method pages. The table entries below are presented in alphabetical order, not
27
- # in order of common use. For explanations of the concepts found in the table
28
- # entries, read the Cloud Monitoring documentation (https://cloud.google.com/
29
- # monitoring/docs).
24
+ # Manages your Cloud Monitoring data and configurations.
30
25
  #
31
26
  # @see https://cloud.google.com/monitoring/api/
32
27
  module MonitoringV1
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.15.0
4
+ version: 0.19.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-01 00:00:00.000000000 Z
11
+ date: 2022-01-24 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.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.19.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.2.17
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