google-cloud-monitoring-dashboard-v1 0.2.0 → 0.2.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67a4b28959919f1f1bfb0bc8cb9d0792f0d1c361addbb891cd847607a3ebd387
|
4
|
+
data.tar.gz: df579497678ee32f2d0afd9330575d95280c788d7a8c2d5067e092ab83b06f7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87beb88b7e3575d75072bb7896f0af72c066be02fb7e0c825ea4caeaca33113755054e36f83105426f003e4ed980655bc28ab0328cefe24e5ad9789bd4cb87e7
|
7
|
+
data.tar.gz: f498f213c5c602287fca0025daee7437b2be42512c7f25fab3d5cd6295316588ce42124173f85f5bea4fd41dab863e8e35a71230756d54c807bf78c00b821590
|
data/README.md
CHANGED
@@ -18,6 +18,7 @@ In order to use this library, you first need to go through the following steps:
|
|
18
18
|
|
19
19
|
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
20
20
|
1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
21
|
+
1. [Enable the API.](https://console.cloud.google.com/apis/library/monitoring.googleapis.com)
|
21
22
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
22
23
|
|
23
24
|
## Quick Start
|
@@ -33,6 +34,9 @@ response = client.create_dashboard request
|
|
33
34
|
View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-monitoring-dashboard-v1/latest)
|
34
35
|
for class and method documentation.
|
35
36
|
|
37
|
+
See also the [Product Documentation](https://cloud.google.com/monitoring)
|
38
|
+
for general usage information.
|
39
|
+
|
36
40
|
## Enabling Logging
|
37
41
|
|
38
42
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
@@ -67,6 +67,20 @@ module Google
|
|
67
67
|
end
|
68
68
|
default_config = Client::Configuration.new parent_config
|
69
69
|
|
70
|
+
default_config.timeout = 30.0
|
71
|
+
default_config.retry_policy = {
|
72
|
+
initial_delay: 1.0,
|
73
|
+
max_delay: 10.0,
|
74
|
+
multiplier: 1.3,
|
75
|
+
retry_codes: ["UNAVAILABLE", "UNKNOWN"]
|
76
|
+
}
|
77
|
+
|
78
|
+
default_config.rpcs.create_dashboard.timeout = 30.0
|
79
|
+
|
80
|
+
default_config.rpcs.delete_dashboard.timeout = 30.0
|
81
|
+
|
82
|
+
default_config.rpcs.update_dashboard.timeout = 30.0
|
83
|
+
|
70
84
|
default_config
|
71
85
|
end
|
72
86
|
yield @configure if block_given?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-monitoring-dashboard-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|