google-cloud-monitoring-dashboard-v1 0.6.2 → 0.6.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b6168e7f56971d6146a74b97d7f9faccc2847e2c8de06b90a716b733510f77b
|
4
|
+
data.tar.gz: 6b1681608973ea9da1401179dd6e0c60cfbc4b3da856faef5e49ace2bdadfc4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3726675afbe1e08e6419e8a972d117eb46e5540eb9028bd470aadddaa7d2e118540c1b91b6ff4f708e4f1850717d11a92240cb60fec8496a73a23094c0f61189
|
7
|
+
data.tar.gz: 35af0ff4db699f86375c1a59c17e4614be06e41ab2d6fa7a33451b1c1f947d17b8cc9c8a2ecf782167f8dded95a5716a457292a675adf17f4cb826be62cbf3fa
|
@@ -43,13 +43,12 @@ module Google
|
|
43
43
|
# See {::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client::Configuration}
|
44
44
|
# for a description of the configuration fields.
|
45
45
|
#
|
46
|
-
#
|
46
|
+
# @example
|
47
47
|
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
# end
|
48
|
+
# # Modify the configuration for all DashboardsService clients
|
49
|
+
# ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.configure do |config|
|
50
|
+
# config.timeout = 10.0
|
51
|
+
# end
|
53
52
|
#
|
54
53
|
# @yield [config] Configure the Client client.
|
55
54
|
# @yieldparam config [Client::Configuration]
|
@@ -107,19 +106,15 @@ module Google
|
|
107
106
|
##
|
108
107
|
# Create a new DashboardsService client object.
|
109
108
|
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
# To create a new DashboardsService client with the default
|
113
|
-
# configuration:
|
114
|
-
#
|
115
|
-
# client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new
|
109
|
+
# @example
|
116
110
|
#
|
117
|
-
#
|
118
|
-
#
|
111
|
+
# # Create a client using the default configuration
|
112
|
+
# client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new
|
119
113
|
#
|
120
|
-
#
|
121
|
-
#
|
122
|
-
#
|
114
|
+
# # Create a client using a custom configuration
|
115
|
+
# client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new do |config|
|
116
|
+
# config.timeout = 10.0
|
117
|
+
# end
|
123
118
|
#
|
124
119
|
# @yield [config] Configure the DashboardsService client.
|
125
120
|
# @yieldparam config [Client::Configuration]
|
@@ -139,10 +134,9 @@ module Google
|
|
139
134
|
|
140
135
|
# Create credentials
|
141
136
|
credentials = @config.credentials
|
142
|
-
# Use self-signed JWT if the
|
137
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
143
138
|
# but only if the default endpoint does not have a region prefix.
|
144
|
-
enable_self_signed_jwt = @config.
|
145
|
-
@config.endpoint == Client.configure.endpoint &&
|
139
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
146
140
|
!@config.endpoint.split(".").first.include?("-")
|
147
141
|
credentials ||= Credentials.default scope: @config.scope,
|
148
142
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -228,7 +222,9 @@ module Google
|
|
228
222
|
options.apply_defaults timeout: @config.rpcs.create_dashboard.timeout,
|
229
223
|
metadata: metadata,
|
230
224
|
retry_policy: @config.rpcs.create_dashboard.retry_policy
|
231
|
-
|
225
|
+
|
226
|
+
options.apply_defaults timeout: @config.timeout,
|
227
|
+
metadata: @config.metadata,
|
232
228
|
retry_policy: @config.retry_policy
|
233
229
|
|
234
230
|
@dashboards_service_stub.call_rpc :create_dashboard, request, options: options do |response, operation|
|
@@ -307,7 +303,9 @@ module Google
|
|
307
303
|
options.apply_defaults timeout: @config.rpcs.list_dashboards.timeout,
|
308
304
|
metadata: metadata,
|
309
305
|
retry_policy: @config.rpcs.list_dashboards.retry_policy
|
310
|
-
|
306
|
+
|
307
|
+
options.apply_defaults timeout: @config.timeout,
|
308
|
+
metadata: @config.metadata,
|
311
309
|
retry_policy: @config.retry_policy
|
312
310
|
|
313
311
|
@dashboards_service_stub.call_rpc :list_dashboards, request, options: options do |response, operation|
|
@@ -382,7 +380,9 @@ module Google
|
|
382
380
|
options.apply_defaults timeout: @config.rpcs.get_dashboard.timeout,
|
383
381
|
metadata: metadata,
|
384
382
|
retry_policy: @config.rpcs.get_dashboard.retry_policy
|
385
|
-
|
383
|
+
|
384
|
+
options.apply_defaults timeout: @config.timeout,
|
385
|
+
metadata: @config.metadata,
|
386
386
|
retry_policy: @config.retry_policy
|
387
387
|
|
388
388
|
@dashboards_service_stub.call_rpc :get_dashboard, request, options: options do |response, operation|
|
@@ -454,7 +454,9 @@ module Google
|
|
454
454
|
options.apply_defaults timeout: @config.rpcs.delete_dashboard.timeout,
|
455
455
|
metadata: metadata,
|
456
456
|
retry_policy: @config.rpcs.delete_dashboard.retry_policy
|
457
|
-
|
457
|
+
|
458
|
+
options.apply_defaults timeout: @config.timeout,
|
459
|
+
metadata: @config.metadata,
|
458
460
|
retry_policy: @config.retry_policy
|
459
461
|
|
460
462
|
@dashboards_service_stub.call_rpc :delete_dashboard, request, options: options do |response, operation|
|
@@ -527,7 +529,9 @@ module Google
|
|
527
529
|
options.apply_defaults timeout: @config.rpcs.update_dashboard.timeout,
|
528
530
|
metadata: metadata,
|
529
531
|
retry_policy: @config.rpcs.update_dashboard.retry_policy
|
530
|
-
|
532
|
+
|
533
|
+
options.apply_defaults timeout: @config.timeout,
|
534
|
+
metadata: @config.metadata,
|
531
535
|
retry_policy: @config.retry_policy
|
532
536
|
|
533
537
|
@dashboards_service_stub.call_rpc :update_dashboard, request, options: options do |response, operation|
|
@@ -551,22 +555,21 @@ module Google
|
|
551
555
|
# Configuration can be applied globally to all clients, or to a single client
|
552
556
|
# on construction.
|
553
557
|
#
|
554
|
-
#
|
555
|
-
#
|
556
|
-
#
|
557
|
-
# to 20 seconds,
|
558
|
-
#
|
559
|
-
#
|
560
|
-
#
|
561
|
-
#
|
562
|
-
#
|
563
|
-
#
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
#
|
569
|
-
# end
|
558
|
+
# @example
|
559
|
+
#
|
560
|
+
# # Modify the global config, setting the timeout for
|
561
|
+
# # create_dashboard to 20 seconds,
|
562
|
+
# # and all remaining timeouts to 10 seconds.
|
563
|
+
# ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.configure do |config|
|
564
|
+
# config.timeout = 10.0
|
565
|
+
# config.rpcs.create_dashboard.timeout = 20.0
|
566
|
+
# end
|
567
|
+
#
|
568
|
+
# # Apply the above configuration only to a new client.
|
569
|
+
# client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new do |config|
|
570
|
+
# config.timeout = 10.0
|
571
|
+
# config.rpcs.create_dashboard.timeout = 20.0
|
572
|
+
# end
|
570
573
|
#
|
571
574
|
# @!attribute [rw] endpoint
|
572
575
|
# The hostname or hostname:port of the service endpoint.
|
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.6.
|
4
|
+
version: 0.6.3
|
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
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|