google-cloud-apigee_registry-v1 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/apigee_registry/v1/provisioning/client.rb +9 -3
- data/lib/google/cloud/apigee_registry/v1/provisioning/operations.rb +13 -5
- data/lib/google/cloud/apigee_registry/v1/provisioning/rest/client.rb +9 -3
- data/lib/google/cloud/apigee_registry/v1/provisioning/rest/operations.rb +11 -4
- data/lib/google/cloud/apigee_registry/v1/registry/client.rb +73 -35
- data/lib/google/cloud/apigee_registry/v1/registry/rest/client.rb +73 -35
- data/lib/google/cloud/apigee_registry/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# The Registry service allows teams to manage descriptions of APIs.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "apigeeregistry.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -427,12 +430,13 @@ module Google
|
|
427
430
|
# Customize the options with defaults
|
428
431
|
call_metadata = @config.rpcs.list_apis.metadata.to_h
|
429
432
|
|
430
|
-
# Set x-goog-api-client
|
433
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
431
434
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
432
435
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
433
436
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
434
437
|
transports_version_send: [:rest]
|
435
438
|
|
439
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
436
440
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
437
441
|
|
438
442
|
options.apply_defaults timeout: @config.rpcs.list_apis.timeout,
|
@@ -507,12 +511,13 @@ module Google
|
|
507
511
|
# Customize the options with defaults
|
508
512
|
call_metadata = @config.rpcs.get_api.metadata.to_h
|
509
513
|
|
510
|
-
# Set x-goog-api-client
|
514
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
511
515
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
512
516
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
513
517
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
514
518
|
transports_version_send: [:rest]
|
515
519
|
|
520
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
516
521
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
517
522
|
|
518
523
|
options.apply_defaults timeout: @config.rpcs.get_api.timeout,
|
@@ -596,12 +601,13 @@ module Google
|
|
596
601
|
# Customize the options with defaults
|
597
602
|
call_metadata = @config.rpcs.create_api.metadata.to_h
|
598
603
|
|
599
|
-
# Set x-goog-api-client
|
604
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
600
605
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
601
606
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
602
607
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
603
608
|
transports_version_send: [:rest]
|
604
609
|
|
610
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
605
611
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
606
612
|
|
607
613
|
options.apply_defaults timeout: @config.rpcs.create_api.timeout,
|
@@ -685,12 +691,13 @@ module Google
|
|
685
691
|
# Customize the options with defaults
|
686
692
|
call_metadata = @config.rpcs.update_api.metadata.to_h
|
687
693
|
|
688
|
-
# Set x-goog-api-client
|
694
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
689
695
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
690
696
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
691
697
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
692
698
|
transports_version_send: [:rest]
|
693
699
|
|
700
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
694
701
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
695
702
|
|
696
703
|
options.apply_defaults timeout: @config.rpcs.update_api.timeout,
|
@@ -768,12 +775,13 @@ module Google
|
|
768
775
|
# Customize the options with defaults
|
769
776
|
call_metadata = @config.rpcs.delete_api.metadata.to_h
|
770
777
|
|
771
|
-
# Set x-goog-api-client
|
778
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
772
779
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
773
780
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
774
781
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
775
782
|
transports_version_send: [:rest]
|
776
783
|
|
784
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
777
785
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
778
786
|
|
779
787
|
options.apply_defaults timeout: @config.rpcs.delete_api.timeout,
|
@@ -865,12 +873,13 @@ module Google
|
|
865
873
|
# Customize the options with defaults
|
866
874
|
call_metadata = @config.rpcs.list_api_versions.metadata.to_h
|
867
875
|
|
868
|
-
# Set x-goog-api-client
|
876
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
869
877
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
870
878
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
871
879
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
872
880
|
transports_version_send: [:rest]
|
873
881
|
|
882
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
874
883
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
875
884
|
|
876
885
|
options.apply_defaults timeout: @config.rpcs.list_api_versions.timeout,
|
@@ -945,12 +954,13 @@ module Google
|
|
945
954
|
# Customize the options with defaults
|
946
955
|
call_metadata = @config.rpcs.get_api_version.metadata.to_h
|
947
956
|
|
948
|
-
# Set x-goog-api-client
|
957
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
949
958
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
950
959
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
951
960
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
952
961
|
transports_version_send: [:rest]
|
953
962
|
|
963
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
954
964
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
955
965
|
|
956
966
|
options.apply_defaults timeout: @config.rpcs.get_api_version.timeout,
|
@@ -1034,12 +1044,13 @@ module Google
|
|
1034
1044
|
# Customize the options with defaults
|
1035
1045
|
call_metadata = @config.rpcs.create_api_version.metadata.to_h
|
1036
1046
|
|
1037
|
-
# Set x-goog-api-client
|
1047
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1038
1048
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1039
1049
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1040
1050
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1041
1051
|
transports_version_send: [:rest]
|
1042
1052
|
|
1053
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1043
1054
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1044
1055
|
|
1045
1056
|
options.apply_defaults timeout: @config.rpcs.create_api_version.timeout,
|
@@ -1123,12 +1134,13 @@ module Google
|
|
1123
1134
|
# Customize the options with defaults
|
1124
1135
|
call_metadata = @config.rpcs.update_api_version.metadata.to_h
|
1125
1136
|
|
1126
|
-
# Set x-goog-api-client
|
1137
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1127
1138
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1128
1139
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1129
1140
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1130
1141
|
transports_version_send: [:rest]
|
1131
1142
|
|
1143
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1132
1144
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1133
1145
|
|
1134
1146
|
options.apply_defaults timeout: @config.rpcs.update_api_version.timeout,
|
@@ -1206,12 +1218,13 @@ module Google
|
|
1206
1218
|
# Customize the options with defaults
|
1207
1219
|
call_metadata = @config.rpcs.delete_api_version.metadata.to_h
|
1208
1220
|
|
1209
|
-
# Set x-goog-api-client
|
1221
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1210
1222
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1211
1223
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1212
1224
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1213
1225
|
transports_version_send: [:rest]
|
1214
1226
|
|
1227
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1215
1228
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1216
1229
|
|
1217
1230
|
options.apply_defaults timeout: @config.rpcs.delete_api_version.timeout,
|
@@ -1303,12 +1316,13 @@ module Google
|
|
1303
1316
|
# Customize the options with defaults
|
1304
1317
|
call_metadata = @config.rpcs.list_api_specs.metadata.to_h
|
1305
1318
|
|
1306
|
-
# Set x-goog-api-client
|
1319
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1307
1320
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1308
1321
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1309
1322
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1310
1323
|
transports_version_send: [:rest]
|
1311
1324
|
|
1325
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1312
1326
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1313
1327
|
|
1314
1328
|
options.apply_defaults timeout: @config.rpcs.list_api_specs.timeout,
|
@@ -1383,12 +1397,13 @@ module Google
|
|
1383
1397
|
# Customize the options with defaults
|
1384
1398
|
call_metadata = @config.rpcs.get_api_spec.metadata.to_h
|
1385
1399
|
|
1386
|
-
# Set x-goog-api-client
|
1400
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1387
1401
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1388
1402
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1389
1403
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1390
1404
|
transports_version_send: [:rest]
|
1391
1405
|
|
1406
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1392
1407
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1393
1408
|
|
1394
1409
|
options.apply_defaults timeout: @config.rpcs.get_api_spec.timeout,
|
@@ -1465,12 +1480,13 @@ module Google
|
|
1465
1480
|
# Customize the options with defaults
|
1466
1481
|
call_metadata = @config.rpcs.get_api_spec_contents.metadata.to_h
|
1467
1482
|
|
1468
|
-
# Set x-goog-api-client
|
1483
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1469
1484
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1470
1485
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1471
1486
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1472
1487
|
transports_version_send: [:rest]
|
1473
1488
|
|
1489
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1474
1490
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1475
1491
|
|
1476
1492
|
options.apply_defaults timeout: @config.rpcs.get_api_spec_contents.timeout,
|
@@ -1554,12 +1570,13 @@ module Google
|
|
1554
1570
|
# Customize the options with defaults
|
1555
1571
|
call_metadata = @config.rpcs.create_api_spec.metadata.to_h
|
1556
1572
|
|
1557
|
-
# Set x-goog-api-client
|
1573
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1558
1574
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1559
1575
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1560
1576
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1561
1577
|
transports_version_send: [:rest]
|
1562
1578
|
|
1579
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1563
1580
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1564
1581
|
|
1565
1582
|
options.apply_defaults timeout: @config.rpcs.create_api_spec.timeout,
|
@@ -1643,12 +1660,13 @@ module Google
|
|
1643
1660
|
# Customize the options with defaults
|
1644
1661
|
call_metadata = @config.rpcs.update_api_spec.metadata.to_h
|
1645
1662
|
|
1646
|
-
# Set x-goog-api-client
|
1663
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1647
1664
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1648
1665
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1649
1666
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1650
1667
|
transports_version_send: [:rest]
|
1651
1668
|
|
1669
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1652
1670
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1653
1671
|
|
1654
1672
|
options.apply_defaults timeout: @config.rpcs.update_api_spec.timeout,
|
@@ -1726,12 +1744,13 @@ module Google
|
|
1726
1744
|
# Customize the options with defaults
|
1727
1745
|
call_metadata = @config.rpcs.delete_api_spec.metadata.to_h
|
1728
1746
|
|
1729
|
-
# Set x-goog-api-client
|
1747
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1730
1748
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1731
1749
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1732
1750
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1733
1751
|
transports_version_send: [:rest]
|
1734
1752
|
|
1753
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1735
1754
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1736
1755
|
|
1737
1756
|
options.apply_defaults timeout: @config.rpcs.delete_api_spec.timeout,
|
@@ -1807,12 +1826,13 @@ module Google
|
|
1807
1826
|
# Customize the options with defaults
|
1808
1827
|
call_metadata = @config.rpcs.tag_api_spec_revision.metadata.to_h
|
1809
1828
|
|
1810
|
-
# Set x-goog-api-client
|
1829
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1811
1830
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1812
1831
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1813
1832
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1814
1833
|
transports_version_send: [:rest]
|
1815
1834
|
|
1835
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1816
1836
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1817
1837
|
|
1818
1838
|
options.apply_defaults timeout: @config.rpcs.tag_api_spec_revision.timeout,
|
@@ -1895,12 +1915,13 @@ module Google
|
|
1895
1915
|
# Customize the options with defaults
|
1896
1916
|
call_metadata = @config.rpcs.list_api_spec_revisions.metadata.to_h
|
1897
1917
|
|
1898
|
-
# Set x-goog-api-client
|
1918
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1899
1919
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1900
1920
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1901
1921
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1902
1922
|
transports_version_send: [:rest]
|
1903
1923
|
|
1924
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1904
1925
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1905
1926
|
|
1906
1927
|
options.apply_defaults timeout: @config.rpcs.list_api_spec_revisions.timeout,
|
@@ -1980,12 +2001,13 @@ module Google
|
|
1980
2001
|
# Customize the options with defaults
|
1981
2002
|
call_metadata = @config.rpcs.rollback_api_spec.metadata.to_h
|
1982
2003
|
|
1983
|
-
# Set x-goog-api-client
|
2004
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1984
2005
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1985
2006
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1986
2007
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
1987
2008
|
transports_version_send: [:rest]
|
1988
2009
|
|
2010
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1989
2011
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1990
2012
|
|
1991
2013
|
options.apply_defaults timeout: @config.rpcs.rollback_api_spec.timeout,
|
@@ -2062,12 +2084,13 @@ module Google
|
|
2062
2084
|
# Customize the options with defaults
|
2063
2085
|
call_metadata = @config.rpcs.delete_api_spec_revision.metadata.to_h
|
2064
2086
|
|
2065
|
-
# Set x-goog-api-client
|
2087
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2066
2088
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2067
2089
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2068
2090
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
2069
2091
|
transports_version_send: [:rest]
|
2070
2092
|
|
2093
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2071
2094
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2072
2095
|
|
2073
2096
|
options.apply_defaults timeout: @config.rpcs.delete_api_spec_revision.timeout,
|
@@ -2159,12 +2182,13 @@ module Google
|
|
2159
2182
|
# Customize the options with defaults
|
2160
2183
|
call_metadata = @config.rpcs.list_api_deployments.metadata.to_h
|
2161
2184
|
|
2162
|
-
# Set x-goog-api-client
|
2185
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2163
2186
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2164
2187
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2165
2188
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
2166
2189
|
transports_version_send: [:rest]
|
2167
2190
|
|
2191
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2168
2192
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2169
2193
|
|
2170
2194
|
options.apply_defaults timeout: @config.rpcs.list_api_deployments.timeout,
|
@@ -2239,12 +2263,13 @@ module Google
|
|
2239
2263
|
# Customize the options with defaults
|
2240
2264
|
call_metadata = @config.rpcs.get_api_deployment.metadata.to_h
|
2241
2265
|
|
2242
|
-
# Set x-goog-api-client
|
2266
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2243
2267
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2244
2268
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2245
2269
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
2246
2270
|
transports_version_send: [:rest]
|
2247
2271
|
|
2272
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2248
2273
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2249
2274
|
|
2250
2275
|
options.apply_defaults timeout: @config.rpcs.get_api_deployment.timeout,
|
@@ -2328,12 +2353,13 @@ module Google
|
|
2328
2353
|
# Customize the options with defaults
|
2329
2354
|
call_metadata = @config.rpcs.create_api_deployment.metadata.to_h
|
2330
2355
|
|
2331
|
-
# Set x-goog-api-client
|
2356
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2332
2357
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2333
2358
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2334
2359
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
2335
2360
|
transports_version_send: [:rest]
|
2336
2361
|
|
2362
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2337
2363
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2338
2364
|
|
2339
2365
|
options.apply_defaults timeout: @config.rpcs.create_api_deployment.timeout,
|
@@ -2417,12 +2443,13 @@ module Google
|
|
2417
2443
|
# Customize the options with defaults
|
2418
2444
|
call_metadata = @config.rpcs.update_api_deployment.metadata.to_h
|
2419
2445
|
|
2420
|
-
# Set x-goog-api-client
|
2446
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2421
2447
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2422
2448
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2423
2449
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
2424
2450
|
transports_version_send: [:rest]
|
2425
2451
|
|
2452
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2426
2453
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2427
2454
|
|
2428
2455
|
options.apply_defaults timeout: @config.rpcs.update_api_deployment.timeout,
|
@@ -2500,12 +2527,13 @@ module Google
|
|
2500
2527
|
# Customize the options with defaults
|
2501
2528
|
call_metadata = @config.rpcs.delete_api_deployment.metadata.to_h
|
2502
2529
|
|
2503
|
-
# Set x-goog-api-client
|
2530
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2504
2531
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2505
2532
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2506
2533
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
2507
2534
|
transports_version_send: [:rest]
|
2508
2535
|
|
2536
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2509
2537
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2510
2538
|
|
2511
2539
|
options.apply_defaults timeout: @config.rpcs.delete_api_deployment.timeout,
|
@@ -2582,12 +2610,13 @@ module Google
|
|
2582
2610
|
# Customize the options with defaults
|
2583
2611
|
call_metadata = @config.rpcs.tag_api_deployment_revision.metadata.to_h
|
2584
2612
|
|
2585
|
-
# Set x-goog-api-client
|
2613
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2586
2614
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2587
2615
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2588
2616
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
2589
2617
|
transports_version_send: [:rest]
|
2590
2618
|
|
2619
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2591
2620
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2592
2621
|
|
2593
2622
|
options.apply_defaults timeout: @config.rpcs.tag_api_deployment_revision.timeout,
|
@@ -2670,12 +2699,13 @@ module Google
|
|
2670
2699
|
# Customize the options with defaults
|
2671
2700
|
call_metadata = @config.rpcs.list_api_deployment_revisions.metadata.to_h
|
2672
2701
|
|
2673
|
-
# Set x-goog-api-client
|
2702
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2674
2703
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2675
2704
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2676
2705
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
2677
2706
|
transports_version_send: [:rest]
|
2678
2707
|
|
2708
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2679
2709
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2680
2710
|
|
2681
2711
|
options.apply_defaults timeout: @config.rpcs.list_api_deployment_revisions.timeout,
|
@@ -2755,12 +2785,13 @@ module Google
|
|
2755
2785
|
# Customize the options with defaults
|
2756
2786
|
call_metadata = @config.rpcs.rollback_api_deployment.metadata.to_h
|
2757
2787
|
|
2758
|
-
# Set x-goog-api-client
|
2788
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2759
2789
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2760
2790
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2761
2791
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
2762
2792
|
transports_version_send: [:rest]
|
2763
2793
|
|
2794
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2764
2795
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2765
2796
|
|
2766
2797
|
options.apply_defaults timeout: @config.rpcs.rollback_api_deployment.timeout,
|
@@ -2837,12 +2868,13 @@ module Google
|
|
2837
2868
|
# Customize the options with defaults
|
2838
2869
|
call_metadata = @config.rpcs.delete_api_deployment_revision.metadata.to_h
|
2839
2870
|
|
2840
|
-
# Set x-goog-api-client
|
2871
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2841
2872
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2842
2873
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2843
2874
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
2844
2875
|
transports_version_send: [:rest]
|
2845
2876
|
|
2877
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2846
2878
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2847
2879
|
|
2848
2880
|
options.apply_defaults timeout: @config.rpcs.delete_api_deployment_revision.timeout,
|
@@ -2934,12 +2966,13 @@ module Google
|
|
2934
2966
|
# Customize the options with defaults
|
2935
2967
|
call_metadata = @config.rpcs.list_artifacts.metadata.to_h
|
2936
2968
|
|
2937
|
-
# Set x-goog-api-client
|
2969
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2938
2970
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2939
2971
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2940
2972
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
2941
2973
|
transports_version_send: [:rest]
|
2942
2974
|
|
2975
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2943
2976
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2944
2977
|
|
2945
2978
|
options.apply_defaults timeout: @config.rpcs.list_artifacts.timeout,
|
@@ -3014,12 +3047,13 @@ module Google
|
|
3014
3047
|
# Customize the options with defaults
|
3015
3048
|
call_metadata = @config.rpcs.get_artifact.metadata.to_h
|
3016
3049
|
|
3017
|
-
# Set x-goog-api-client
|
3050
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3018
3051
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3019
3052
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3020
3053
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
3021
3054
|
transports_version_send: [:rest]
|
3022
3055
|
|
3056
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3023
3057
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3024
3058
|
|
3025
3059
|
options.apply_defaults timeout: @config.rpcs.get_artifact.timeout,
|
@@ -3096,12 +3130,13 @@ module Google
|
|
3096
3130
|
# Customize the options with defaults
|
3097
3131
|
call_metadata = @config.rpcs.get_artifact_contents.metadata.to_h
|
3098
3132
|
|
3099
|
-
# Set x-goog-api-client
|
3133
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3100
3134
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3101
3135
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3102
3136
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
3103
3137
|
transports_version_send: [:rest]
|
3104
3138
|
|
3139
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3105
3140
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3106
3141
|
|
3107
3142
|
options.apply_defaults timeout: @config.rpcs.get_artifact_contents.timeout,
|
@@ -3185,12 +3220,13 @@ module Google
|
|
3185
3220
|
# Customize the options with defaults
|
3186
3221
|
call_metadata = @config.rpcs.create_artifact.metadata.to_h
|
3187
3222
|
|
3188
|
-
# Set x-goog-api-client
|
3223
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3189
3224
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3190
3225
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3191
3226
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
3192
3227
|
transports_version_send: [:rest]
|
3193
3228
|
|
3229
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3194
3230
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3195
3231
|
|
3196
3232
|
options.apply_defaults timeout: @config.rpcs.create_artifact.timeout,
|
@@ -3266,12 +3302,13 @@ module Google
|
|
3266
3302
|
# Customize the options with defaults
|
3267
3303
|
call_metadata = @config.rpcs.replace_artifact.metadata.to_h
|
3268
3304
|
|
3269
|
-
# Set x-goog-api-client
|
3305
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3270
3306
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3271
3307
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3272
3308
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
3273
3309
|
transports_version_send: [:rest]
|
3274
3310
|
|
3311
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3275
3312
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3276
3313
|
|
3277
3314
|
options.apply_defaults timeout: @config.rpcs.replace_artifact.timeout,
|
@@ -3345,12 +3382,13 @@ module Google
|
|
3345
3382
|
# Customize the options with defaults
|
3346
3383
|
call_metadata = @config.rpcs.delete_artifact.metadata.to_h
|
3347
3384
|
|
3348
|
-
# Set x-goog-api-client
|
3385
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3349
3386
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3350
3387
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3351
3388
|
gapic_version: ::Google::Cloud::ApigeeRegistry::V1::VERSION,
|
3352
3389
|
transports_version_send: [:rest]
|
3353
3390
|
|
3391
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3354
3392
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3355
3393
|
|
3356
3394
|
options.apply_defaults timeout: @config.rpcs.delete_artifact.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
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-apigee_registry-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
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-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|