google-cloud-api_gateway-v1 0.7.0 → 1.0.0
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 +4 -4
- data/lib/google/cloud/api_gateway/v1/api_gateway_service/client.rb +33 -15
- data/lib/google/cloud/api_gateway/v1/api_gateway_service/operations.rb +13 -5
- data/lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb +33 -15
- data/lib/google/cloud/api_gateway/v1/api_gateway_service/rest/operations.rb +11 -4
- data/lib/google/cloud/api_gateway/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5db21e89271d15ab14efce7ef4d2b6800b951c4f2f6f5429acdf0a1bdbbc4cc8
|
|
4
|
+
data.tar.gz: c96892d54dbaceebed9d3d225966b0738f97c4b3235e76e7ef9e99e82d06c15c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51301e18e5caec920ebb16edfb994cf68ae14a6a0a78562095d7046fa9a0186cccff0b1af1a0f15688a861e053162b2b9e90811db26ac0127813ea9f42b025f9
|
|
7
|
+
data.tar.gz: 0f64176c717ea6e8a44febe7dbe54d526474a34c564bebebd8cdc79085f246ac37d13bd6ce5a6533c11c3548893def9f9584bc8cdff14c8899d6cc8c81a17a0d
|
|
@@ -30,6 +30,9 @@ module Google
|
|
|
30
30
|
# The API Gateway Service is the interface for managing API Gateways.
|
|
31
31
|
#
|
|
32
32
|
class Client
|
|
33
|
+
# @private
|
|
34
|
+
API_VERSION = ""
|
|
35
|
+
|
|
33
36
|
# @private
|
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "apigateway.$UNIVERSE_DOMAIN$"
|
|
35
38
|
|
|
@@ -287,10 +290,11 @@ module Google
|
|
|
287
290
|
# Customize the options with defaults
|
|
288
291
|
metadata = @config.rpcs.list_gateways.metadata.to_h
|
|
289
292
|
|
|
290
|
-
# Set x-goog-api-client
|
|
293
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
291
294
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
292
295
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
293
296
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
297
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
294
298
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
295
299
|
|
|
296
300
|
header_params = {}
|
|
@@ -374,10 +378,11 @@ module Google
|
|
|
374
378
|
# Customize the options with defaults
|
|
375
379
|
metadata = @config.rpcs.get_gateway.metadata.to_h
|
|
376
380
|
|
|
377
|
-
# Set x-goog-api-client
|
|
381
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
378
382
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
379
383
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
380
384
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
385
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
381
386
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
382
387
|
|
|
383
388
|
header_params = {}
|
|
@@ -472,10 +477,11 @@ module Google
|
|
|
472
477
|
# Customize the options with defaults
|
|
473
478
|
metadata = @config.rpcs.create_gateway.metadata.to_h
|
|
474
479
|
|
|
475
|
-
# Set x-goog-api-client
|
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
476
481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
477
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
478
483
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
479
485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
480
486
|
|
|
481
487
|
header_params = {}
|
|
@@ -571,10 +577,11 @@ module Google
|
|
|
571
577
|
# Customize the options with defaults
|
|
572
578
|
metadata = @config.rpcs.update_gateway.metadata.to_h
|
|
573
579
|
|
|
574
|
-
# Set x-goog-api-client
|
|
580
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
575
581
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
576
582
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
577
583
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
584
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
578
585
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
579
586
|
|
|
580
587
|
header_params = {}
|
|
@@ -665,10 +672,11 @@ module Google
|
|
|
665
672
|
# Customize the options with defaults
|
|
666
673
|
metadata = @config.rpcs.delete_gateway.metadata.to_h
|
|
667
674
|
|
|
668
|
-
# Set x-goog-api-client
|
|
675
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
669
676
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
670
677
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
671
678
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
679
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
672
680
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
673
681
|
|
|
674
682
|
header_params = {}
|
|
@@ -764,10 +772,11 @@ module Google
|
|
|
764
772
|
# Customize the options with defaults
|
|
765
773
|
metadata = @config.rpcs.list_apis.metadata.to_h
|
|
766
774
|
|
|
767
|
-
# Set x-goog-api-client
|
|
775
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
768
776
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
769
777
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
770
778
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
779
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
771
780
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
772
781
|
|
|
773
782
|
header_params = {}
|
|
@@ -851,10 +860,11 @@ module Google
|
|
|
851
860
|
# Customize the options with defaults
|
|
852
861
|
metadata = @config.rpcs.get_api.metadata.to_h
|
|
853
862
|
|
|
854
|
-
# Set x-goog-api-client
|
|
863
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
855
864
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
856
865
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
857
866
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
867
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
858
868
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
859
869
|
|
|
860
870
|
header_params = {}
|
|
@@ -949,10 +959,11 @@ module Google
|
|
|
949
959
|
# Customize the options with defaults
|
|
950
960
|
metadata = @config.rpcs.create_api.metadata.to_h
|
|
951
961
|
|
|
952
|
-
# Set x-goog-api-client
|
|
962
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
953
963
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
954
964
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
955
965
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
966
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
956
967
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
957
968
|
|
|
958
969
|
header_params = {}
|
|
@@ -1048,10 +1059,11 @@ module Google
|
|
|
1048
1059
|
# Customize the options with defaults
|
|
1049
1060
|
metadata = @config.rpcs.update_api.metadata.to_h
|
|
1050
1061
|
|
|
1051
|
-
# Set x-goog-api-client
|
|
1062
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1052
1063
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1053
1064
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1054
1065
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
1066
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1055
1067
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1056
1068
|
|
|
1057
1069
|
header_params = {}
|
|
@@ -1142,10 +1154,11 @@ module Google
|
|
|
1142
1154
|
# Customize the options with defaults
|
|
1143
1155
|
metadata = @config.rpcs.delete_api.metadata.to_h
|
|
1144
1156
|
|
|
1145
|
-
# Set x-goog-api-client
|
|
1157
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1146
1158
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1147
1159
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1148
1160
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
1161
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1149
1162
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1150
1163
|
|
|
1151
1164
|
header_params = {}
|
|
@@ -1241,10 +1254,11 @@ module Google
|
|
|
1241
1254
|
# Customize the options with defaults
|
|
1242
1255
|
metadata = @config.rpcs.list_api_configs.metadata.to_h
|
|
1243
1256
|
|
|
1244
|
-
# Set x-goog-api-client
|
|
1257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1245
1258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1246
1259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1247
1260
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
1261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1248
1262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1249
1263
|
|
|
1250
1264
|
header_params = {}
|
|
@@ -1331,10 +1345,11 @@ module Google
|
|
|
1331
1345
|
# Customize the options with defaults
|
|
1332
1346
|
metadata = @config.rpcs.get_api_config.metadata.to_h
|
|
1333
1347
|
|
|
1334
|
-
# Set x-goog-api-client
|
|
1348
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1335
1349
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1336
1350
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1337
1351
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
1352
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1338
1353
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1339
1354
|
|
|
1340
1355
|
header_params = {}
|
|
@@ -1429,10 +1444,11 @@ module Google
|
|
|
1429
1444
|
# Customize the options with defaults
|
|
1430
1445
|
metadata = @config.rpcs.create_api_config.metadata.to_h
|
|
1431
1446
|
|
|
1432
|
-
# Set x-goog-api-client
|
|
1447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1433
1448
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1434
1449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1435
1450
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
1451
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1436
1452
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1437
1453
|
|
|
1438
1454
|
header_params = {}
|
|
@@ -1528,10 +1544,11 @@ module Google
|
|
|
1528
1544
|
# Customize the options with defaults
|
|
1529
1545
|
metadata = @config.rpcs.update_api_config.metadata.to_h
|
|
1530
1546
|
|
|
1531
|
-
# Set x-goog-api-client
|
|
1547
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1532
1548
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1533
1549
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1534
1550
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
1551
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1535
1552
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1536
1553
|
|
|
1537
1554
|
header_params = {}
|
|
@@ -1622,10 +1639,11 @@ module Google
|
|
|
1622
1639
|
# Customize the options with defaults
|
|
1623
1640
|
metadata = @config.rpcs.delete_api_config.metadata.to_h
|
|
1624
1641
|
|
|
1625
|
-
# Set x-goog-api-client
|
|
1642
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1626
1643
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1627
1644
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1628
1645
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
1646
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1629
1647
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1630
1648
|
|
|
1631
1649
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module ApiGatewayService
|
|
27
27
|
# Service that implements Longrunning Operations API.
|
|
28
28
|
class Operations
|
|
29
|
+
# @private
|
|
30
|
+
API_VERSION = ""
|
|
31
|
+
|
|
29
32
|
# @private
|
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "apigateway.$UNIVERSE_DOMAIN$"
|
|
31
34
|
|
|
@@ -191,10 +194,11 @@ module Google
|
|
|
191
194
|
# Customize the options with defaults
|
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
|
193
196
|
|
|
194
|
-
# Set x-goog-api-client
|
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
197
200
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
199
203
|
|
|
200
204
|
header_params = {}
|
|
@@ -287,10 +291,11 @@ module Google
|
|
|
287
291
|
# Customize the options with defaults
|
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
289
293
|
|
|
290
|
-
# Set x-goog-api-client
|
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
293
297
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
295
300
|
|
|
296
301
|
header_params = {}
|
|
@@ -376,10 +381,11 @@ module Google
|
|
|
376
381
|
# Customize the options with defaults
|
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
378
383
|
|
|
379
|
-
# Set x-goog-api-client
|
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
382
387
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
384
390
|
|
|
385
391
|
header_params = {}
|
|
@@ -470,10 +476,11 @@ module Google
|
|
|
470
476
|
# Customize the options with defaults
|
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
472
478
|
|
|
473
|
-
# Set x-goog-api-client
|
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
476
482
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
478
485
|
|
|
479
486
|
header_params = {}
|
|
@@ -574,10 +581,11 @@ module Google
|
|
|
574
581
|
# Customize the options with defaults
|
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
576
583
|
|
|
577
|
-
# Set x-goog-api-client
|
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
580
587
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION
|
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
582
590
|
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# The API Gateway Service is the interface for managing API Gateways.
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "apigateway.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -279,12 +282,13 @@ module Google
|
|
|
279
282
|
# Customize the options with defaults
|
|
280
283
|
call_metadata = @config.rpcs.list_gateways.metadata.to_h
|
|
281
284
|
|
|
282
|
-
# Set x-goog-api-client
|
|
285
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
283
286
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
284
287
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
285
288
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
286
289
|
transports_version_send: [:rest]
|
|
287
290
|
|
|
291
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
288
292
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
289
293
|
|
|
290
294
|
options.apply_defaults timeout: @config.rpcs.list_gateways.timeout,
|
|
@@ -358,12 +362,13 @@ module Google
|
|
|
358
362
|
# Customize the options with defaults
|
|
359
363
|
call_metadata = @config.rpcs.get_gateway.metadata.to_h
|
|
360
364
|
|
|
361
|
-
# Set x-goog-api-client
|
|
365
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
362
366
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
363
367
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
364
368
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
365
369
|
transports_version_send: [:rest]
|
|
366
370
|
|
|
371
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
367
372
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
368
373
|
|
|
369
374
|
options.apply_defaults timeout: @config.rpcs.get_gateway.timeout,
|
|
@@ -449,12 +454,13 @@ module Google
|
|
|
449
454
|
# Customize the options with defaults
|
|
450
455
|
call_metadata = @config.rpcs.create_gateway.metadata.to_h
|
|
451
456
|
|
|
452
|
-
# Set x-goog-api-client
|
|
457
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
453
458
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
454
459
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
455
460
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
456
461
|
transports_version_send: [:rest]
|
|
457
462
|
|
|
463
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
458
464
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
459
465
|
|
|
460
466
|
options.apply_defaults timeout: @config.rpcs.create_gateway.timeout,
|
|
@@ -541,12 +547,13 @@ module Google
|
|
|
541
547
|
# Customize the options with defaults
|
|
542
548
|
call_metadata = @config.rpcs.update_gateway.metadata.to_h
|
|
543
549
|
|
|
544
|
-
# Set x-goog-api-client
|
|
550
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
545
551
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
546
552
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
547
553
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
548
554
|
transports_version_send: [:rest]
|
|
549
555
|
|
|
556
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
550
557
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
551
558
|
|
|
552
559
|
options.apply_defaults timeout: @config.rpcs.update_gateway.timeout,
|
|
@@ -628,12 +635,13 @@ module Google
|
|
|
628
635
|
# Customize the options with defaults
|
|
629
636
|
call_metadata = @config.rpcs.delete_gateway.metadata.to_h
|
|
630
637
|
|
|
631
|
-
# Set x-goog-api-client
|
|
638
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
632
639
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
633
640
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
634
641
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
635
642
|
transports_version_send: [:rest]
|
|
636
643
|
|
|
644
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
637
645
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
638
646
|
|
|
639
647
|
options.apply_defaults timeout: @config.rpcs.delete_gateway.timeout,
|
|
@@ -720,12 +728,13 @@ module Google
|
|
|
720
728
|
# Customize the options with defaults
|
|
721
729
|
call_metadata = @config.rpcs.list_apis.metadata.to_h
|
|
722
730
|
|
|
723
|
-
# Set x-goog-api-client
|
|
731
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
724
732
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
725
733
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
726
734
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
727
735
|
transports_version_send: [:rest]
|
|
728
736
|
|
|
737
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
729
738
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
730
739
|
|
|
731
740
|
options.apply_defaults timeout: @config.rpcs.list_apis.timeout,
|
|
@@ -799,12 +808,13 @@ module Google
|
|
|
799
808
|
# Customize the options with defaults
|
|
800
809
|
call_metadata = @config.rpcs.get_api.metadata.to_h
|
|
801
810
|
|
|
802
|
-
# Set x-goog-api-client
|
|
811
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
803
812
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
804
813
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
805
814
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
806
815
|
transports_version_send: [:rest]
|
|
807
816
|
|
|
817
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
808
818
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
809
819
|
|
|
810
820
|
options.apply_defaults timeout: @config.rpcs.get_api.timeout,
|
|
@@ -890,12 +900,13 @@ module Google
|
|
|
890
900
|
# Customize the options with defaults
|
|
891
901
|
call_metadata = @config.rpcs.create_api.metadata.to_h
|
|
892
902
|
|
|
893
|
-
# Set x-goog-api-client
|
|
903
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
894
904
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
895
905
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
896
906
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
897
907
|
transports_version_send: [:rest]
|
|
898
908
|
|
|
909
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
899
910
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
900
911
|
|
|
901
912
|
options.apply_defaults timeout: @config.rpcs.create_api.timeout,
|
|
@@ -982,12 +993,13 @@ module Google
|
|
|
982
993
|
# Customize the options with defaults
|
|
983
994
|
call_metadata = @config.rpcs.update_api.metadata.to_h
|
|
984
995
|
|
|
985
|
-
# Set x-goog-api-client
|
|
996
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
986
997
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
987
998
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
988
999
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
989
1000
|
transports_version_send: [:rest]
|
|
990
1001
|
|
|
1002
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
991
1003
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
992
1004
|
|
|
993
1005
|
options.apply_defaults timeout: @config.rpcs.update_api.timeout,
|
|
@@ -1069,12 +1081,13 @@ module Google
|
|
|
1069
1081
|
# Customize the options with defaults
|
|
1070
1082
|
call_metadata = @config.rpcs.delete_api.metadata.to_h
|
|
1071
1083
|
|
|
1072
|
-
# Set x-goog-api-client
|
|
1084
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1073
1085
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1074
1086
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1075
1087
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
1076
1088
|
transports_version_send: [:rest]
|
|
1077
1089
|
|
|
1090
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1078
1091
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1079
1092
|
|
|
1080
1093
|
options.apply_defaults timeout: @config.rpcs.delete_api.timeout,
|
|
@@ -1161,12 +1174,13 @@ module Google
|
|
|
1161
1174
|
# Customize the options with defaults
|
|
1162
1175
|
call_metadata = @config.rpcs.list_api_configs.metadata.to_h
|
|
1163
1176
|
|
|
1164
|
-
# Set x-goog-api-client
|
|
1177
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1165
1178
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1166
1179
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1167
1180
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
1168
1181
|
transports_version_send: [:rest]
|
|
1169
1182
|
|
|
1183
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1170
1184
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1171
1185
|
|
|
1172
1186
|
options.apply_defaults timeout: @config.rpcs.list_api_configs.timeout,
|
|
@@ -1243,12 +1257,13 @@ module Google
|
|
|
1243
1257
|
# Customize the options with defaults
|
|
1244
1258
|
call_metadata = @config.rpcs.get_api_config.metadata.to_h
|
|
1245
1259
|
|
|
1246
|
-
# Set x-goog-api-client
|
|
1260
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1247
1261
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1248
1262
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1249
1263
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
1250
1264
|
transports_version_send: [:rest]
|
|
1251
1265
|
|
|
1266
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1252
1267
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1253
1268
|
|
|
1254
1269
|
options.apply_defaults timeout: @config.rpcs.get_api_config.timeout,
|
|
@@ -1334,12 +1349,13 @@ module Google
|
|
|
1334
1349
|
# Customize the options with defaults
|
|
1335
1350
|
call_metadata = @config.rpcs.create_api_config.metadata.to_h
|
|
1336
1351
|
|
|
1337
|
-
# Set x-goog-api-client
|
|
1352
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1338
1353
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1339
1354
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1340
1355
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
1341
1356
|
transports_version_send: [:rest]
|
|
1342
1357
|
|
|
1358
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1343
1359
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1344
1360
|
|
|
1345
1361
|
options.apply_defaults timeout: @config.rpcs.create_api_config.timeout,
|
|
@@ -1426,12 +1442,13 @@ module Google
|
|
|
1426
1442
|
# Customize the options with defaults
|
|
1427
1443
|
call_metadata = @config.rpcs.update_api_config.metadata.to_h
|
|
1428
1444
|
|
|
1429
|
-
# Set x-goog-api-client
|
|
1445
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1430
1446
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1431
1447
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1432
1448
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
1433
1449
|
transports_version_send: [:rest]
|
|
1434
1450
|
|
|
1451
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1435
1452
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1436
1453
|
|
|
1437
1454
|
options.apply_defaults timeout: @config.rpcs.update_api_config.timeout,
|
|
@@ -1513,12 +1530,13 @@ module Google
|
|
|
1513
1530
|
# Customize the options with defaults
|
|
1514
1531
|
call_metadata = @config.rpcs.delete_api_config.metadata.to_h
|
|
1515
1532
|
|
|
1516
|
-
# Set x-goog-api-client
|
|
1533
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1517
1534
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1518
1535
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1519
1536
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
1520
1537
|
transports_version_send: [:rest]
|
|
1521
1538
|
|
|
1539
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1522
1540
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1523
1541
|
|
|
1524
1542
|
options.apply_defaults timeout: @config.rpcs.delete_api_config.timeout,
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module Rest
|
|
27
27
|
# Service that implements Longrunning Operations API.
|
|
28
28
|
class Operations
|
|
29
|
+
# @private
|
|
30
|
+
API_VERSION = ""
|
|
31
|
+
|
|
29
32
|
# @private
|
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "apigateway.$UNIVERSE_DOMAIN$"
|
|
31
34
|
|
|
@@ -181,12 +184,13 @@ module Google
|
|
|
181
184
|
# Customize the options with defaults
|
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
|
183
186
|
|
|
184
|
-
# Set x-goog-api-client
|
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
187
190
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
188
191
|
transports_version_send: [:rest]
|
|
189
192
|
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
191
195
|
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
|
@@ -269,12 +273,13 @@ module Google
|
|
|
269
273
|
# Customize the options with defaults
|
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
|
271
275
|
|
|
272
|
-
# Set x-goog-api-client
|
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
275
279
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
276
280
|
transports_version_send: [:rest]
|
|
277
281
|
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
279
284
|
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
|
@@ -351,12 +356,13 @@ module Google
|
|
|
351
356
|
# Customize the options with defaults
|
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
353
358
|
|
|
354
|
-
# Set x-goog-api-client
|
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
357
362
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
358
363
|
transports_version_send: [:rest]
|
|
359
364
|
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
361
367
|
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
|
@@ -438,12 +444,13 @@ module Google
|
|
|
438
444
|
# Customize the options with defaults
|
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
440
446
|
|
|
441
|
-
# Set x-goog-api-client
|
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
444
450
|
gapic_version: ::Google::Cloud::ApiGateway::V1::VERSION,
|
|
445
451
|
transports_version_send: [:rest]
|
|
446
452
|
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
448
455
|
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
|
@@ -118,6 +118,10 @@ module Google
|
|
|
118
118
|
# @return [::String]
|
|
119
119
|
# Optional link to proto reference documentation. Example:
|
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
|
122
|
+
# @return [::String]
|
|
123
|
+
# Optional link to REST reference documentation. Example:
|
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
|
121
125
|
class Publishing
|
|
122
126
|
include ::Google::Protobuf::MessageExts
|
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|