google-cloud-monitoring-dashboard-v1 0.6.2 → 0.6.3

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: 8738bc92d8f84c050a3932c6ef0baf8d065aa9c830367e2df76d2ed456bc7137
4
- data.tar.gz: 6974c48618cd7b7f529c0397a03023eeea9878e1a429d36a2ed6a79f68208f76
3
+ metadata.gz: 0b6168e7f56971d6146a74b97d7f9faccc2847e2c8de06b90a716b733510f77b
4
+ data.tar.gz: 6b1681608973ea9da1401179dd6e0c60cfbc4b3da856faef5e49ace2bdadfc4f
5
5
  SHA512:
6
- metadata.gz: 0a4d65a5d26a840d56a6087504839b6a60e1375b0523a77a9f29220ac26418f43b14302446a62b9380a9d4987736ca1aa8b524a804176426b988397704c187a2
7
- data.tar.gz: 8a2bc4b645872f6dca4169b4cbe10495d78ee0bb975c5aed01606d8f52ce62a01e58182c05b01c194009c25ea862bbf4aba8913249062414addd37ea27a27314
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
- # ## Example
46
+ # @example
47
47
  #
48
- # To modify the configuration for all DashboardsService clients:
49
- #
50
- # ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.configure do |config|
51
- # config.timeout = 10.0
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
- # ## Examples
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
- # To create a new DashboardsService client with a custom
118
- # configuration:
111
+ # # Create a client using the default configuration
112
+ # client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new
119
113
  #
120
- # client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new do |config|
121
- # config.timeout = 10.0
122
- # end
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 scope and endpoint are unchanged from default,
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.scope == Client.configure.scope &&
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
555
- #
556
- # To modify the global config, setting the timeout for create_dashboard
557
- # to 20 seconds, and all remaining timeouts to 10 seconds:
558
- #
559
- # ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.configure do |config|
560
- # config.timeout = 10.0
561
- # config.rpcs.create_dashboard.timeout = 20.0
562
- # end
563
- #
564
- # To apply the above configuration only to a new client:
565
- #
566
- # client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new do |config|
567
- # config.timeout = 10.0
568
- # config.rpcs.create_dashboard.timeout = 20.0
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.
@@ -22,7 +22,7 @@ module Google
22
22
  module Monitoring
23
23
  module Dashboard
24
24
  module V1
25
- VERSION = "0.6.2"
25
+ VERSION = "0.6.3"
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.6.2
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-07-21 00:00:00.000000000 Z
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.5'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a