google-cloud-api_gateway-v1 0.6.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- 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/lib/google/cloud/apigateway/v1/apigateway_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +4 -116
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
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -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,
|
@@ -10,7 +10,7 @@ require 'google/protobuf/field_mask_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n+google/cloud/apigateway/v1/apigateway.proto\x12\x1agoogle.cloud.apigateway.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
13
|
+
descriptor_data = "\n+google/cloud/apigateway/v1/apigateway.proto\x12\x1agoogle.cloud.apigateway.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd6\x04\n\x03\x41pi\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\x04 \x03(\x0b\x32+.google.cloud.apigateway.v1.Api.LabelsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12S\n\x0fmanaged_service\x18\x07 \x01(\tB:\xe0\x41\x05\xe0\x41\x01\xfa\x41\x31\n/servicemanagement.googleapis.com/ManagedService\x12\x39\n\x05state\x18\x0c \x01(\x0e\x32%.google.cloud.apigateway.v1.Api.StateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05:R\xea\x41O\n\x1d\x61pigateway.googleapis.com/Api\x12.projects/{project}/locations/global/apis/{api}\"\xfb\t\n\tApiConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x46\n\x06labels\x18\x04 \x03(\x0b\x32\x31.google.cloud.apigateway.v1.ApiConfig.LabelsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12J\n\x17gateway_service_account\x18\x0e \x01(\tB)\xe0\x41\x05\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12K\n\x11service_config_id\x18\x0c \x01(\tB0\xe0\x41\x03\xfa\x41*\n(servicemanagement.googleapis.com/Service\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.apigateway.v1.ApiConfig.StateB\x03\xe0\x41\x03\x12U\n\x11openapi_documents\x18\t \x03(\x0b\x32\x35.google.cloud.apigateway.v1.ApiConfig.OpenApiDocumentB\x03\xe0\x41\x01\x12W\n\rgrpc_services\x18\n \x03(\x0b\x32;.google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinitionB\x03\xe0\x41\x01\x12P\n\x17managed_service_configs\x18\x0b \x03(\x0b\x32*.google.cloud.apigateway.v1.ApiConfig.FileB\x03\xe0\x41\x01\x1a&\n\x04\x46ile\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x10\n\x08\x63ontents\x18\x02 \x01(\x0c\x1aO\n\x0fOpenApiDocument\x12<\n\x08\x64ocument\x18\x01 \x01(\x0b\x32*.google.cloud.apigateway.v1.ApiConfig.File\x1a\xa6\x01\n\x15GrpcServiceDefinition\x12L\n\x13\x66ile_descriptor_set\x18\x01 \x01(\x0b\x32*.google.cloud.apigateway.v1.ApiConfig.FileB\x03\xe0\x41\x04\x12?\n\x06source\x18\x02 \x03(\x0b\x32*.google.cloud.apigateway.v1.ApiConfig.FileB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"p\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0e\n\nACTIVATING\x10\x06:m\xea\x41j\n#apigateway.googleapis.com/ApiConfig\x12\x43projects/{project}/locations/global/apis/{api}/configs/{api_config}\"\xfd\x04\n\x07Gateway\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.apigateway.v1.Gateway.LabelsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12?\n\napi_config\x18\x06 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#apigateway.googleapis.com/ApiConfig\x12=\n\x05state\x18\x07 \x01(\x0e\x32).google.cloud.apigateway.v1.Gateway.StateB\x03\xe0\x41\x03\x12\x1d\n\x10\x64\x65\x66\x61ult_hostname\x18\t \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05:b\xea\x41_\n!apigateway.googleapis.com/Gateway\x12:projects/{project}/locations/{location}/gateways/{gateway}\"\x99\x01\n\x13ListGatewaysRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x85\x01\n\x14ListGatewaysResponse\x12\x35\n\x08gateways\x18\x01 \x03(\x0b\x32#.google.cloud.apigateway.v1.Gateway\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x1d\n\x15unreachable_locations\x18\x03 \x03(\t\"L\n\x11GetGatewayRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!apigateway.googleapis.com/Gateway\"\xa5\x01\n\x14\x43reateGatewayRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x17\n\ngateway_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x07gateway\x18\x03 \x01(\x0b\x32#.google.cloud.apigateway.v1.GatewayB\x03\xe0\x41\x02\"\x82\x01\n\x14UpdateGatewayRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x39\n\x07gateway\x18\x02 \x01(\x0b\x32#.google.cloud.apigateway.v1.GatewayB\x03\xe0\x41\x02\"O\n\x14\x44\x65leteGatewayRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!apigateway.googleapis.com/Gateway\"\x95\x01\n\x0fListApisRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"y\n\x10ListApisResponse\x12-\n\x04\x61pis\x18\x01 \x03(\x0b\x32\x1f.google.cloud.apigateway.v1.Api\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x1d\n\x15unreachable_locations\x18\x03 \x03(\t\"D\n\rGetApiRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61pigateway.googleapis.com/Api\"\x95\x01\n\x10\x43reateApiRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06\x61pi_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x31\n\x03\x61pi\x18\x03 \x01(\x0b\x32\x1f.google.cloud.apigateway.v1.ApiB\x03\xe0\x41\x02\"v\n\x10UpdateApiRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x31\n\x03\x61pi\x18\x02 \x01(\x0b\x32\x1f.google.cloud.apigateway.v1.ApiB\x03\xe0\x41\x02\"G\n\x10\x44\x65leteApiRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61pigateway.googleapis.com/Api\"\x97\x01\n\x15ListApiConfigsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61pigateway.googleapis.com/Api\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x8c\x01\n\x16ListApiConfigsResponse\x12:\n\x0b\x61pi_configs\x18\x01 \x03(\x0b\x32%.google.cloud.apigateway.v1.ApiConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x1d\n\x15unreachable_locations\x18\x03 \x03(\t\"\xda\x01\n\x13GetApiConfigRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#apigateway.googleapis.com/ApiConfig\x12H\n\x04view\x18\x03 \x01(\x0e\x32:.google.cloud.apigateway.v1.GetApiConfigRequest.ConfigView\">\n\nConfigView\x12\x1b\n\x17\x43ONFIG_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\"\xab\x01\n\x16\x43reateApiConfigRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61pigateway.googleapis.com/Api\x12\x1a\n\rapi_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\napi_config\x18\x03 \x01(\x0b\x32%.google.cloud.apigateway.v1.ApiConfigB\x03\xe0\x41\x02\"\x89\x01\n\x16UpdateApiConfigRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12>\n\napi_config\x18\x02 \x01(\x0b\x32%.google.cloud.apigateway.v1.ApiConfigB\x03\xe0\x41\x02\"S\n\x16\x44\x65leteApiConfigRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#apigateway.googleapis.com/ApiConfig\"\x85\x03\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12R\n\x0b\x64iagnostics\x18\x08 \x03(\x0b\x32\x38.google.cloud.apigateway.v1.OperationMetadata.DiagnosticB\x03\xe0\x41\x03\x1a/\n\nDiagnostic\x12\x10\n\x08location\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\tB\xb2\x03\n\x1e\x63om.google.cloud.apigateway.v1P\x01Z>cloud.google.com/go/apigateway/apiv1/apigatewaypb;apigatewaypb\xaa\x02\x1aGoogle.Cloud.ApiGateway.V1\xca\x02\x1aGoogle\\Cloud\\ApiGateway\\V1\xea\x02\x1dGoogle::Cloud::ApiGateway::V1\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41\x45\n/servicemanagement.googleapis.com/ManagedService\x12\x12services/{service}\xea\x41O\n(servicemanagement.googleapis.com/Service\x12#services/{service}/configs/{config}b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -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
|
@@ -44,118 +44,6 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: google-style
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.3
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.3
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: minitest
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '5.16'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '5.16'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest-focus
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.1'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.1'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-rg
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '5.2'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '5.2'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rake
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '13.0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '13.0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: redcarpet
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '3.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: simplecov
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '0.18'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '0.18'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: yard
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.9'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.9'
|
159
47
|
description: API Gateway enables you to provide secure access to your backend services
|
160
48
|
through a well-defined REST API that is consistent across all of your services,
|
161
49
|
regardless of the service implementation. Clients consume your REST APIS to implement
|
@@ -214,14 +102,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
214
102
|
requirements:
|
215
103
|
- - ">="
|
216
104
|
- !ruby/object:Gem::Version
|
217
|
-
version: '2.
|
105
|
+
version: '2.7'
|
218
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
107
|
requirements:
|
220
108
|
- - ">="
|
221
109
|
- !ruby/object:Gem::Version
|
222
110
|
version: '0'
|
223
111
|
requirements: []
|
224
|
-
rubygems_version: 3.5.
|
112
|
+
rubygems_version: 3.5.6
|
225
113
|
signing_key:
|
226
114
|
specification_version: 4
|
227
115
|
summary: API Client library for the API Gateway V1 API
|