google-cloud-vpc_access-v1 0.1.1 → 0.1.2
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: ea6a2c35c09cd3946ea439babbac111cb9cabb85d1c40848a265394cd0bd1a02
|
4
|
+
data.tar.gz: db908027518279c8865586cba6717a5b8b603f696342bea407ea55cd2a730e2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80040383f819ea16410932da7c24747df7e8f736f90f5e9fedf292fb5174e643d552cfd2a45e0dd8353106abcdb48c9a9db1a3075cd1f5000a20be4e2597440f
|
7
|
+
data.tar.gz: cc3459d25ae427d6ba9a72ed7316e0511bb7816278ea90d2c0e8eddf41202206b32fab5461b9f73380b9199b4d45a682388c332b591a1ee9bff326ccb6822d21
|
@@ -43,13 +43,12 @@ module Google
|
|
43
43
|
# See {::Google::Cloud::VpcAccess::V1::VpcAccessService::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 VpcAccessService clients
|
49
|
+
# ::Google::Cloud::VpcAccess::V1::VpcAccessService::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]
|
@@ -109,19 +108,15 @@ module Google
|
|
109
108
|
##
|
110
109
|
# Create a new VpcAccessService client object.
|
111
110
|
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
# To create a new VpcAccessService client with the default
|
115
|
-
# configuration:
|
116
|
-
#
|
117
|
-
# client = ::Google::Cloud::VpcAccess::V1::VpcAccessService::Client.new
|
111
|
+
# @example
|
118
112
|
#
|
119
|
-
#
|
120
|
-
#
|
113
|
+
# # Create a client using the default configuration
|
114
|
+
# client = ::Google::Cloud::VpcAccess::V1::VpcAccessService::Client.new
|
121
115
|
#
|
122
|
-
#
|
123
|
-
#
|
124
|
-
#
|
116
|
+
# # Create a client using a custom configuration
|
117
|
+
# client = ::Google::Cloud::VpcAccess::V1::VpcAccessService::Client.new do |config|
|
118
|
+
# config.timeout = 10.0
|
119
|
+
# end
|
125
120
|
#
|
126
121
|
# @yield [config] Configure the VpcAccessService client.
|
127
122
|
# @yieldparam config [Client::Configuration]
|
@@ -141,10 +136,9 @@ module Google
|
|
141
136
|
|
142
137
|
# Create credentials
|
143
138
|
credentials = @config.credentials
|
144
|
-
# Use self-signed JWT if the
|
139
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
145
140
|
# but only if the default endpoint does not have a region prefix.
|
146
|
-
enable_self_signed_jwt = @config.
|
147
|
-
@config.endpoint == Client.configure.endpoint &&
|
141
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
148
142
|
!@config.endpoint.split(".").first.include?("-")
|
149
143
|
credentials ||= Credentials.default scope: @config.scope,
|
150
144
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -237,7 +231,9 @@ module Google
|
|
237
231
|
options.apply_defaults timeout: @config.rpcs.create_connector.timeout,
|
238
232
|
metadata: metadata,
|
239
233
|
retry_policy: @config.rpcs.create_connector.retry_policy
|
240
|
-
|
234
|
+
|
235
|
+
options.apply_defaults timeout: @config.timeout,
|
236
|
+
metadata: @config.metadata,
|
241
237
|
retry_policy: @config.retry_policy
|
242
238
|
|
243
239
|
@vpc_access_service_stub.call_rpc :create_connector, request, options: options do |response, operation|
|
@@ -305,7 +301,9 @@ module Google
|
|
305
301
|
options.apply_defaults timeout: @config.rpcs.get_connector.timeout,
|
306
302
|
metadata: metadata,
|
307
303
|
retry_policy: @config.rpcs.get_connector.retry_policy
|
308
|
-
|
304
|
+
|
305
|
+
options.apply_defaults timeout: @config.timeout,
|
306
|
+
metadata: @config.metadata,
|
309
307
|
retry_policy: @config.retry_policy
|
310
308
|
|
311
309
|
@vpc_access_service_stub.call_rpc :get_connector, request, options: options do |response, operation|
|
@@ -375,7 +373,9 @@ module Google
|
|
375
373
|
options.apply_defaults timeout: @config.rpcs.list_connectors.timeout,
|
376
374
|
metadata: metadata,
|
377
375
|
retry_policy: @config.rpcs.list_connectors.retry_policy
|
378
|
-
|
376
|
+
|
377
|
+
options.apply_defaults timeout: @config.timeout,
|
378
|
+
metadata: @config.metadata,
|
379
379
|
retry_policy: @config.retry_policy
|
380
380
|
|
381
381
|
@vpc_access_service_stub.call_rpc :list_connectors, request, options: options do |response, operation|
|
@@ -443,7 +443,9 @@ module Google
|
|
443
443
|
options.apply_defaults timeout: @config.rpcs.delete_connector.timeout,
|
444
444
|
metadata: metadata,
|
445
445
|
retry_policy: @config.rpcs.delete_connector.retry_policy
|
446
|
-
|
446
|
+
|
447
|
+
options.apply_defaults timeout: @config.timeout,
|
448
|
+
metadata: @config.metadata,
|
447
449
|
retry_policy: @config.retry_policy
|
448
450
|
|
449
451
|
@vpc_access_service_stub.call_rpc :delete_connector, request, options: options do |response, operation|
|
@@ -468,22 +470,21 @@ module Google
|
|
468
470
|
# Configuration can be applied globally to all clients, or to a single client
|
469
471
|
# on construction.
|
470
472
|
#
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
# to 20 seconds,
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
#
|
481
|
-
#
|
482
|
-
#
|
483
|
-
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
# end
|
473
|
+
# @example
|
474
|
+
#
|
475
|
+
# # Modify the global config, setting the timeout for
|
476
|
+
# # create_connector to 20 seconds,
|
477
|
+
# # and all remaining timeouts to 10 seconds.
|
478
|
+
# ::Google::Cloud::VpcAccess::V1::VpcAccessService::Client.configure do |config|
|
479
|
+
# config.timeout = 10.0
|
480
|
+
# config.rpcs.create_connector.timeout = 20.0
|
481
|
+
# end
|
482
|
+
#
|
483
|
+
# # Apply the above configuration only to a new client.
|
484
|
+
# client = ::Google::Cloud::VpcAccess::V1::VpcAccessService::Client.new do |config|
|
485
|
+
# config.timeout = 10.0
|
486
|
+
# config.rpcs.create_connector.timeout = 20.0
|
487
|
+
# end
|
487
488
|
#
|
488
489
|
# @!attribute [rw] endpoint
|
489
490
|
# The hostname or hostname:port of the service endpoint.
|
@@ -169,7 +169,9 @@ module Google
|
|
169
169
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
170
170
|
metadata: metadata,
|
171
171
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
172
|
-
|
172
|
+
|
173
|
+
options.apply_defaults timeout: @config.timeout,
|
174
|
+
metadata: @config.metadata,
|
173
175
|
retry_policy: @config.retry_policy
|
174
176
|
|
175
177
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -239,7 +241,9 @@ module Google
|
|
239
241
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
240
242
|
metadata: metadata,
|
241
243
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
242
|
-
|
244
|
+
|
245
|
+
options.apply_defaults timeout: @config.timeout,
|
246
|
+
metadata: @config.metadata,
|
243
247
|
retry_policy: @config.retry_policy
|
244
248
|
|
245
249
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -309,7 +313,9 @@ module Google
|
|
309
313
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
310
314
|
metadata: metadata,
|
311
315
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
312
|
-
|
316
|
+
|
317
|
+
options.apply_defaults timeout: @config.timeout,
|
318
|
+
metadata: @config.metadata,
|
313
319
|
retry_policy: @config.retry_policy
|
314
320
|
|
315
321
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -384,7 +390,9 @@ module Google
|
|
384
390
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
385
391
|
metadata: metadata,
|
386
392
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
387
|
-
|
393
|
+
|
394
|
+
options.apply_defaults timeout: @config.timeout,
|
395
|
+
metadata: @config.metadata,
|
388
396
|
retry_policy: @config.retry_policy
|
389
397
|
|
390
398
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -456,7 +464,9 @@ module Google
|
|
456
464
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
457
465
|
metadata: metadata,
|
458
466
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
459
|
-
|
467
|
+
|
468
|
+
options.apply_defaults timeout: @config.timeout,
|
469
|
+
metadata: @config.metadata,
|
460
470
|
retry_policy: @config.retry_policy
|
461
471
|
|
462
472
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -481,22 +491,21 @@ module Google
|
|
481
491
|
# Configuration can be applied globally to all clients, or to a single client
|
482
492
|
# on construction.
|
483
493
|
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# to 20 seconds,
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# end
|
494
|
+
# @example
|
495
|
+
#
|
496
|
+
# # Modify the global config, setting the timeout for
|
497
|
+
# # list_operations to 20 seconds,
|
498
|
+
# # and all remaining timeouts to 10 seconds.
|
499
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
500
|
+
# config.timeout = 10.0
|
501
|
+
# config.rpcs.list_operations.timeout = 20.0
|
502
|
+
# end
|
503
|
+
#
|
504
|
+
# # Apply the above configuration only to a new client.
|
505
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
506
|
+
# config.timeout = 10.0
|
507
|
+
# config.rpcs.list_operations.timeout = 20.0
|
508
|
+
# end
|
500
509
|
#
|
501
510
|
# @!attribute [rw] endpoint
|
502
511
|
# 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-vpc_access-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
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
|