google-cloud-api_gateway-v1 0.1.2 → 0.1.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: 887e8d22b893feef8190c5226a8ccbc79f09ca86123682a0ea7259670915ba99
|
4
|
+
data.tar.gz: cfb90c33149cc4c3a894289472774cab39b613f8336b60306bbef2ede8be5588
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88888e3f2db1cf974b24b1808ceb27422113ad335a2c104d56fa0fc027609a2ff09f567669cc26db745095282f666cf72fd799b6d70fe8fa2fb32a317b760872
|
7
|
+
data.tar.gz: d11fb914400f76e8cdf7abacec74c115198d36ee6a2b762052d7b0387246f4663a68bc6c93976c6d73970e93041bba9de8c7f365d2c33f3fe0163fa08fcf80fe
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::ApiGateway::V1::ApiGatewayService::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all ApiGatewayService clients
|
47
|
+
# ::Google::Cloud::ApiGateway::V1::ApiGatewayService::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -139,19 +138,15 @@ module Google
|
|
139
138
|
##
|
140
139
|
# Create a new ApiGatewayService client object.
|
141
140
|
#
|
142
|
-
#
|
143
|
-
#
|
144
|
-
# To create a new ApiGatewayService client with the default
|
145
|
-
# configuration:
|
146
|
-
#
|
147
|
-
# client = ::Google::Cloud::ApiGateway::V1::ApiGatewayService::Client.new
|
141
|
+
# @example
|
148
142
|
#
|
149
|
-
#
|
150
|
-
#
|
143
|
+
# # Create a client using the default configuration
|
144
|
+
# client = ::Google::Cloud::ApiGateway::V1::ApiGatewayService::Client.new
|
151
145
|
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
146
|
+
# # Create a client using a custom configuration
|
147
|
+
# client = ::Google::Cloud::ApiGateway::V1::ApiGatewayService::Client.new do |config|
|
148
|
+
# config.timeout = 10.0
|
149
|
+
# end
|
155
150
|
#
|
156
151
|
# @yield [config] Configure the ApiGatewayService client.
|
157
152
|
# @yieldparam config [Client::Configuration]
|
@@ -171,10 +166,9 @@ module Google
|
|
171
166
|
|
172
167
|
# Create credentials
|
173
168
|
credentials = @config.credentials
|
174
|
-
# Use self-signed JWT if the
|
169
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
175
170
|
# but only if the default endpoint does not have a region prefix.
|
176
|
-
enable_self_signed_jwt = @config.
|
177
|
-
@config.endpoint == Client.configure.endpoint &&
|
171
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
178
172
|
!@config.endpoint.split(".").first.include?("-")
|
179
173
|
credentials ||= Credentials.default scope: @config.scope,
|
180
174
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -271,7 +265,9 @@ module Google
|
|
271
265
|
options.apply_defaults timeout: @config.rpcs.list_gateways.timeout,
|
272
266
|
metadata: metadata,
|
273
267
|
retry_policy: @config.rpcs.list_gateways.retry_policy
|
274
|
-
|
268
|
+
|
269
|
+
options.apply_defaults timeout: @config.timeout,
|
270
|
+
metadata: @config.metadata,
|
275
271
|
retry_policy: @config.retry_policy
|
276
272
|
|
277
273
|
@api_gateway_service_stub.call_rpc :list_gateways, request, options: options do |response, operation|
|
@@ -339,7 +335,9 @@ module Google
|
|
339
335
|
options.apply_defaults timeout: @config.rpcs.get_gateway.timeout,
|
340
336
|
metadata: metadata,
|
341
337
|
retry_policy: @config.rpcs.get_gateway.retry_policy
|
342
|
-
|
338
|
+
|
339
|
+
options.apply_defaults timeout: @config.timeout,
|
340
|
+
metadata: @config.metadata,
|
343
341
|
retry_policy: @config.retry_policy
|
344
342
|
|
345
343
|
@api_gateway_service_stub.call_rpc :get_gateway, request, options: options do |response, operation|
|
@@ -411,7 +409,9 @@ module Google
|
|
411
409
|
options.apply_defaults timeout: @config.rpcs.create_gateway.timeout,
|
412
410
|
metadata: metadata,
|
413
411
|
retry_policy: @config.rpcs.create_gateway.retry_policy
|
414
|
-
|
412
|
+
|
413
|
+
options.apply_defaults timeout: @config.timeout,
|
414
|
+
metadata: @config.metadata,
|
415
415
|
retry_policy: @config.retry_policy
|
416
416
|
|
417
417
|
@api_gateway_service_stub.call_rpc :create_gateway, request, options: options do |response, operation|
|
@@ -484,7 +484,9 @@ module Google
|
|
484
484
|
options.apply_defaults timeout: @config.rpcs.update_gateway.timeout,
|
485
485
|
metadata: metadata,
|
486
486
|
retry_policy: @config.rpcs.update_gateway.retry_policy
|
487
|
-
|
487
|
+
|
488
|
+
options.apply_defaults timeout: @config.timeout,
|
489
|
+
metadata: @config.metadata,
|
488
490
|
retry_policy: @config.retry_policy
|
489
491
|
|
490
492
|
@api_gateway_service_stub.call_rpc :update_gateway, request, options: options do |response, operation|
|
@@ -552,7 +554,9 @@ module Google
|
|
552
554
|
options.apply_defaults timeout: @config.rpcs.delete_gateway.timeout,
|
553
555
|
metadata: metadata,
|
554
556
|
retry_policy: @config.rpcs.delete_gateway.retry_policy
|
555
|
-
|
557
|
+
|
558
|
+
options.apply_defaults timeout: @config.timeout,
|
559
|
+
metadata: @config.metadata,
|
556
560
|
retry_policy: @config.retry_policy
|
557
561
|
|
558
562
|
@api_gateway_service_stub.call_rpc :delete_gateway, request, options: options do |response, operation|
|
@@ -628,7 +632,9 @@ module Google
|
|
628
632
|
options.apply_defaults timeout: @config.rpcs.list_apis.timeout,
|
629
633
|
metadata: metadata,
|
630
634
|
retry_policy: @config.rpcs.list_apis.retry_policy
|
631
|
-
|
635
|
+
|
636
|
+
options.apply_defaults timeout: @config.timeout,
|
637
|
+
metadata: @config.metadata,
|
632
638
|
retry_policy: @config.retry_policy
|
633
639
|
|
634
640
|
@api_gateway_service_stub.call_rpc :list_apis, request, options: options do |response, operation|
|
@@ -696,7 +702,9 @@ module Google
|
|
696
702
|
options.apply_defaults timeout: @config.rpcs.get_api.timeout,
|
697
703
|
metadata: metadata,
|
698
704
|
retry_policy: @config.rpcs.get_api.retry_policy
|
699
|
-
|
705
|
+
|
706
|
+
options.apply_defaults timeout: @config.timeout,
|
707
|
+
metadata: @config.metadata,
|
700
708
|
retry_policy: @config.retry_policy
|
701
709
|
|
702
710
|
@api_gateway_service_stub.call_rpc :get_api, request, options: options do |response, operation|
|
@@ -768,7 +776,9 @@ module Google
|
|
768
776
|
options.apply_defaults timeout: @config.rpcs.create_api.timeout,
|
769
777
|
metadata: metadata,
|
770
778
|
retry_policy: @config.rpcs.create_api.retry_policy
|
771
|
-
|
779
|
+
|
780
|
+
options.apply_defaults timeout: @config.timeout,
|
781
|
+
metadata: @config.metadata,
|
772
782
|
retry_policy: @config.retry_policy
|
773
783
|
|
774
784
|
@api_gateway_service_stub.call_rpc :create_api, request, options: options do |response, operation|
|
@@ -841,7 +851,9 @@ module Google
|
|
841
851
|
options.apply_defaults timeout: @config.rpcs.update_api.timeout,
|
842
852
|
metadata: metadata,
|
843
853
|
retry_policy: @config.rpcs.update_api.retry_policy
|
844
|
-
|
854
|
+
|
855
|
+
options.apply_defaults timeout: @config.timeout,
|
856
|
+
metadata: @config.metadata,
|
845
857
|
retry_policy: @config.retry_policy
|
846
858
|
|
847
859
|
@api_gateway_service_stub.call_rpc :update_api, request, options: options do |response, operation|
|
@@ -909,7 +921,9 @@ module Google
|
|
909
921
|
options.apply_defaults timeout: @config.rpcs.delete_api.timeout,
|
910
922
|
metadata: metadata,
|
911
923
|
retry_policy: @config.rpcs.delete_api.retry_policy
|
912
|
-
|
924
|
+
|
925
|
+
options.apply_defaults timeout: @config.timeout,
|
926
|
+
metadata: @config.metadata,
|
913
927
|
retry_policy: @config.retry_policy
|
914
928
|
|
915
929
|
@api_gateway_service_stub.call_rpc :delete_api, request, options: options do |response, operation|
|
@@ -985,7 +999,9 @@ module Google
|
|
985
999
|
options.apply_defaults timeout: @config.rpcs.list_api_configs.timeout,
|
986
1000
|
metadata: metadata,
|
987
1001
|
retry_policy: @config.rpcs.list_api_configs.retry_policy
|
988
|
-
|
1002
|
+
|
1003
|
+
options.apply_defaults timeout: @config.timeout,
|
1004
|
+
metadata: @config.metadata,
|
989
1005
|
retry_policy: @config.retry_policy
|
990
1006
|
|
991
1007
|
@api_gateway_service_stub.call_rpc :list_api_configs, request, options: options do |response, operation|
|
@@ -1056,7 +1072,9 @@ module Google
|
|
1056
1072
|
options.apply_defaults timeout: @config.rpcs.get_api_config.timeout,
|
1057
1073
|
metadata: metadata,
|
1058
1074
|
retry_policy: @config.rpcs.get_api_config.retry_policy
|
1059
|
-
|
1075
|
+
|
1076
|
+
options.apply_defaults timeout: @config.timeout,
|
1077
|
+
metadata: @config.metadata,
|
1060
1078
|
retry_policy: @config.retry_policy
|
1061
1079
|
|
1062
1080
|
@api_gateway_service_stub.call_rpc :get_api_config, request, options: options do |response, operation|
|
@@ -1128,7 +1146,9 @@ module Google
|
|
1128
1146
|
options.apply_defaults timeout: @config.rpcs.create_api_config.timeout,
|
1129
1147
|
metadata: metadata,
|
1130
1148
|
retry_policy: @config.rpcs.create_api_config.retry_policy
|
1131
|
-
|
1149
|
+
|
1150
|
+
options.apply_defaults timeout: @config.timeout,
|
1151
|
+
metadata: @config.metadata,
|
1132
1152
|
retry_policy: @config.retry_policy
|
1133
1153
|
|
1134
1154
|
@api_gateway_service_stub.call_rpc :create_api_config, request, options: options do |response, operation|
|
@@ -1201,7 +1221,9 @@ module Google
|
|
1201
1221
|
options.apply_defaults timeout: @config.rpcs.update_api_config.timeout,
|
1202
1222
|
metadata: metadata,
|
1203
1223
|
retry_policy: @config.rpcs.update_api_config.retry_policy
|
1204
|
-
|
1224
|
+
|
1225
|
+
options.apply_defaults timeout: @config.timeout,
|
1226
|
+
metadata: @config.metadata,
|
1205
1227
|
retry_policy: @config.retry_policy
|
1206
1228
|
|
1207
1229
|
@api_gateway_service_stub.call_rpc :update_api_config, request, options: options do |response, operation|
|
@@ -1269,7 +1291,9 @@ module Google
|
|
1269
1291
|
options.apply_defaults timeout: @config.rpcs.delete_api_config.timeout,
|
1270
1292
|
metadata: metadata,
|
1271
1293
|
retry_policy: @config.rpcs.delete_api_config.retry_policy
|
1272
|
-
|
1294
|
+
|
1295
|
+
options.apply_defaults timeout: @config.timeout,
|
1296
|
+
metadata: @config.metadata,
|
1273
1297
|
retry_policy: @config.retry_policy
|
1274
1298
|
|
1275
1299
|
@api_gateway_service_stub.call_rpc :delete_api_config, request, options: options do |response, operation|
|
@@ -1294,22 +1318,21 @@ module Google
|
|
1294
1318
|
# Configuration can be applied globally to all clients, or to a single client
|
1295
1319
|
# on construction.
|
1296
1320
|
#
|
1297
|
-
#
|
1298
|
-
#
|
1299
|
-
#
|
1300
|
-
# to 20 seconds,
|
1301
|
-
#
|
1302
|
-
#
|
1303
|
-
#
|
1304
|
-
#
|
1305
|
-
#
|
1306
|
-
#
|
1307
|
-
#
|
1308
|
-
#
|
1309
|
-
#
|
1310
|
-
#
|
1311
|
-
#
|
1312
|
-
# end
|
1321
|
+
# @example
|
1322
|
+
#
|
1323
|
+
# # Modify the global config, setting the timeout for
|
1324
|
+
# # list_gateways to 20 seconds,
|
1325
|
+
# # and all remaining timeouts to 10 seconds.
|
1326
|
+
# ::Google::Cloud::ApiGateway::V1::ApiGatewayService::Client.configure do |config|
|
1327
|
+
# config.timeout = 10.0
|
1328
|
+
# config.rpcs.list_gateways.timeout = 20.0
|
1329
|
+
# end
|
1330
|
+
#
|
1331
|
+
# # Apply the above configuration only to a new client.
|
1332
|
+
# client = ::Google::Cloud::ApiGateway::V1::ApiGatewayService::Client.new do |config|
|
1333
|
+
# config.timeout = 10.0
|
1334
|
+
# config.rpcs.list_gateways.timeout = 20.0
|
1335
|
+
# end
|
1313
1336
|
#
|
1314
1337
|
# @!attribute [rw] endpoint
|
1315
1338
|
# 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-api_gateway-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.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
|