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: e3f4b996571db7f63c79e1b50128d6934d06121f84ea895d066c4200c21c61c0
4
- data.tar.gz: c954e773bda129ecf11ab2f8bdcfa7afa8a8408eb004dcf8e371598ca246b87c
3
+ metadata.gz: 67a4b28959919f1f1bfb0bc8cb9d0792f0d1c361addbb891cd847607a3ebd387
4
+ data.tar.gz: df579497678ee32f2d0afd9330575d95280c788d7a8c2d5067e092ab83b06f7a
5
5
  SHA512:
6
- metadata.gz: 3a201e368e64dee0c2994a14236b1607da96862aa131d9bfd8fde9ed6e1fe2245e0750d7b2757ce85f7076d618538a61ae1ec3fc4fef0cf86e7cb6af0d021663
7
- data.tar.gz: 10d33d5b5e06c8b20867c49a33f99d4a973c9d50536c07b7921fd9734c45551e0fbf1e19f6a2c6f80b244a0fd5820d7d65e7dd50e426f0763faa78a37ef24f69
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?
@@ -22,7 +22,7 @@ module Google
22
22
  module Monitoring
23
23
  module Dashboard
24
24
  module V1
25
- VERSION = "0.2.0"
25
+ VERSION = "0.2.1"
26
26
  end
27
27
  end
28
28
  end
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.0
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-15 00:00:00.000000000 Z
11
+ date: 2020-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common