google-cloud-monitoring-dashboard-v1 0.10.0 → 0.12.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 +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/client.rb +6 -8
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest/client.rb +683 -0
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest/service_stub.rb +347 -0
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest.rb +55 -0
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service.rb +6 -0
- data/lib/google/cloud/monitoring/dashboard/v1/rest.rb +39 -0
- data/lib/google/cloud/monitoring/dashboard/v1/version.rb +1 -1
- data/lib/google/cloud/monitoring/dashboard/v1.rb +5 -0
- data/lib/google/monitoring/dashboard/v1/alertchart_pb.rb +24 -4
- data/lib/google/monitoring/dashboard/v1/collapsible_group_pb.rb +24 -4
- data/lib/google/monitoring/dashboard/v1/common_pb.rb +25 -70
- data/lib/google/monitoring/dashboard/v1/dashboard_filter_pb.rb +24 -17
- data/lib/google/monitoring/dashboard/v1/dashboard_pb.rb +26 -14
- data/lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb +25 -25
- data/lib/google/monitoring/dashboard/v1/drilldowns_pb.rb +25 -2
- data/lib/google/monitoring/dashboard/v1/layouts_pb.rb +25 -30
- data/lib/google/monitoring/dashboard/v1/logs_panel_pb.rb +24 -5
- data/lib/google/monitoring/dashboard/v1/metrics_pb.rb +25 -59
- data/lib/google/monitoring/dashboard/v1/scorecard_pb.rb +26 -17
- data/lib/google/monitoring/dashboard/v1/service_pb.rb +25 -2
- data/lib/google/monitoring/dashboard/v1/table_display_options_pb.rb +24 -4
- data/lib/google/monitoring/dashboard/v1/table_pb.rb +27 -21
- data/lib/google/monitoring/dashboard/v1/text_pb.rb +24 -10
- data/lib/google/monitoring/dashboard/v1/widget_pb.rb +32 -14
- data/lib/google/monitoring/dashboard/v1/xychart_pb.rb +26 -47
- data/proto_docs/google/api/client.rb +67 -4
- metadata +11 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d53268ee206ce0ec57270eea9dd7553277894d54763a3194cd849509cc24125
|
4
|
+
data.tar.gz: 3de4e0179db3e575505507074d08cc638cc420990613ef710bfd4921b62846dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68a83fc267e1ad265dc8e6e581baa6f28a0ca20bc227ac1961f3ff3bef981e7dd305ba84b29bdf7f901f69f144b396cb9332490d8a01d5d4de67bbb13a56fc8c
|
7
|
+
data.tar.gz: 9e003f92901b023d29b372c3aeb9c6e548b4f5591416c3a061cebffb347d0df42d0ac5aab9067e487b92f77b8ed7fae2c8acf6360c61ca56d5b27bf5482d8da4
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Cloud Monitoring Dashboards V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Manages your Cloud Monitoring data and configurations.
|
4
4
|
|
5
5
|
Cloud Monitoring collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation. The Dashboards API manages arrangements of display widgets.
|
6
6
|
|
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -310,13 +310,11 @@ module Google
|
|
310
310
|
# # Call the list_dashboards method.
|
311
311
|
# result = client.list_dashboards request
|
312
312
|
#
|
313
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
314
|
-
# #
|
315
|
-
#
|
316
|
-
# # methods are also available for managing paging directly.
|
317
|
-
# result.each do |response|
|
313
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
314
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
315
|
+
# result.each do |item|
|
318
316
|
# # Each element is of type ::Google::Cloud::Monitoring::Dashboard::V1::Dashboard.
|
319
|
-
# p
|
317
|
+
# p item
|
320
318
|
# end
|
321
319
|
#
|
322
320
|
def list_dashboards request, options = nil
|
@@ -675,9 +673,9 @@ module Google
|
|
675
673
|
# * (`String`) The path to a service account key file in JSON format
|
676
674
|
# * (`Hash`) A service account key as a Hash
|
677
675
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
678
|
-
# (see the [googleauth docs](https://
|
676
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
679
677
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
680
|
-
# (see the [signet docs](https://
|
678
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
681
679
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
682
680
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
683
681
|
# * (`nil`) indicating no credentials
|