google-cloud-apigee_registry-v1 0.7.2 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ApigeeRegistry
23
23
  module V1
24
- VERSION = "0.7.2"
24
+ VERSION = "0.8.1"
25
25
  end
26
26
  end
27
27
  end
@@ -12,7 +12,7 @@ require 'google/longrunning/operations_pb'
12
12
  require 'google/protobuf/timestamp_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n9google/cloud/apigeeregistry/v1/provisioning_service.proto\x12\x1egoogle.cloud.apigeeregistry.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb0\x01\n\x15\x43reateInstanceRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x19\n\x0binstance_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12@\n\x08instance\x18\x03 \x01(\x0b\x32(.google.cloud.apigeeregistry.v1.InstanceB\x04\xe2\x41\x01\x02\"V\n\x15\x44\x65leteInstanceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Instance\"S\n\x12GetInstanceRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Instance\"\xdd\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x16\n\x0estatus_message\x18\x05 \x01(\t\x12\x1e\n\x16\x63\x61ncellation_requested\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t\"\xc9\x04\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x43\n\x05state\x18\x04 \x01(\x0e\x32..google.cloud.apigeeregistry.v1.Instance.StateB\x04\xe2\x41\x01\x03\x12\x1b\n\rstate_message\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12\x45\n\x06\x63onfig\x18\x06 \x01(\x0b\x32/.google.cloud.apigeeregistry.v1.Instance.ConfigB\x04\xe2\x41\x01\x02\x1a=\n\x06\x43onfig\x12\x16\n\x08location\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rcmek_key_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"n\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08INACTIVE\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06:i\xea\x41\x66\n&apigeeregistry.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}2\xc9\x05\n\x0cProvisioning\x12\xe5\x01\n\x0e\x43reateInstance\x12\x35.google.cloud.apigeeregistry.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xd1\x01\n\x0e\x44\x65leteInstance\x12\x35.google.cloud.apigeeregistry.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xa9\x01\n\x0bGetInstance\x12\x32.google.cloud.apigeeregistry.v1.GetInstanceRequest\x1a(.google.cloud.apigeeregistry.v1.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x1aQ\xca\x41\x1d\x61pigeeregistry.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf2\x01\n\"com.google.cloud.apigeeregistry.v1B\x18ProvisioningServiceProtoP\x01ZJcloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb\xaa\x02\x1eGoogle.Cloud.ApigeeRegistry.V1\xca\x02\x1eGoogle\\Cloud\\ApigeeRegistry\\V1\xea\x02!Google::Cloud::ApigeeRegistry::V1b\x06proto3"
15
+ descriptor_data = "\n9google/cloud/apigeeregistry/v1/provisioning_service.proto\x12\x1egoogle.cloud.apigeeregistry.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xad\x01\n\x15\x43reateInstanceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\x08instance\x18\x03 \x01(\x0b\x32(.google.cloud.apigeeregistry.v1.InstanceB\x03\xe0\x41\x02\"U\n\x15\x44\x65leteInstanceRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Instance\"R\n\x12GetInstanceRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Instance\"\xdd\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x16\n\x0estatus_message\x18\x05 \x01(\t\x12\x1e\n\x16\x63\x61ncellation_requested\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t\"\xc2\x04\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\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\x42\n\x05state\x18\x04 \x01(\x0e\x32..google.cloud.apigeeregistry.v1.Instance.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x06\x63onfig\x18\x06 \x01(\x0b\x32/.google.cloud.apigeeregistry.v1.Instance.ConfigB\x03\xe0\x41\x02\x1a;\n\x06\x43onfig\x12\x15\n\x08location\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rcmek_key_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\"n\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08INACTIVE\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06:i\xea\x41\x66\n&apigeeregistry.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}2\xc9\x05\n\x0cProvisioning\x12\xe5\x01\n\x0e\x43reateInstance\x12\x35.google.cloud.apigeeregistry.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xd1\x01\n\x0e\x44\x65leteInstance\x12\x35.google.cloud.apigeeregistry.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xa9\x01\n\x0bGetInstance\x12\x32.google.cloud.apigeeregistry.v1.GetInstanceRequest\x1a(.google.cloud.apigeeregistry.v1.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x1aQ\xca\x41\x1d\x61pigeeregistry.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf2\x01\n\"com.google.cloud.apigeeregistry.v1B\x18ProvisioningServiceProtoP\x01ZJcloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb\xaa\x02\x1eGoogle.Cloud.ApigeeRegistry.V1\xca\x02\x1eGoogle\\Cloud\\ApigeeRegistry\\V1\xea\x02!Google::Cloud::ApigeeRegistry::V1b\x06proto3"
16
16
 
17
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
18
18
 
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n4google/cloud/apigeeregistry/v1/registry_models.proto\x12\x1egoogle.cloud.apigeeregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x05\n\x03\x41pi\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x0c\x61vailability\x18\x06 \x01(\t\x12J\n\x13recommended_version\x18\x07 \x01(\tB-\xfa\x41*\n(apigeeregistry.googleapis.com/ApiVersion\x12P\n\x16recommended_deployment\x18\x08 \x01(\tB0\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\x12?\n\x06labels\x18\t \x03(\x0b\x32/.google.cloud.apigeeregistry.v1.Api.LabelsEntry\x12I\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x34.google.cloud.apigeeregistry.v1.Api.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:Z\xea\x41W\n!apigeeregistry.googleapis.com/Api\x12\x32projects/{project}/locations/{location}/apis/{api}\"\xb5\x04\n\nApiVersion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\r\n\x05state\x18\x06 \x01(\t\x12\x46\n\x06labels\x18\x07 \x03(\x0b\x32\x36.google.cloud.apigeeregistry.v1.ApiVersion.LabelsEntry\x12P\n\x0b\x61nnotations\x18\x08 \x03(\x0b\x32;.google.cloud.apigeeregistry.v1.ApiVersion.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:t\xea\x41q\n(apigeeregistry.googleapis.com/ApiVersion\x12\x45projects/{project}/locations/{location}/apis/{api}/versions/{version}\"\xf5\x05\n\x07\x41piSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1a\n\x0brevision_id\x18\x04 \x01(\tB\x05\xe2\x41\x02\x05\x03\x12\x35\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12>\n\x14revision_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12>\n\x14revision_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x11\n\tmime_type\x18\x08 \x01(\t\x12\x18\n\nsize_bytes\x18\t \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x12\n\x04hash\x18\n \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\nsource_uri\x18\x0b \x01(\t\x12\x16\n\x08\x63ontents\x18\x0c \x01(\x0c\x42\x04\xe2\x41\x01\x04\x12\x43\n\x06labels\x18\x0e \x03(\x0b\x32\x33.google.cloud.apigeeregistry.v1.ApiSpec.LabelsEntry\x12M\n\x0b\x61nnotations\x18\x0f \x03(\x0b\x32\x38.google.cloud.apigeeregistry.v1.ApiSpec.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:~\xea\x41{\n%apigeeregistry.googleapis.com/ApiSpec\x12Rprojects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}\"\xcc\x06\n\rApiDeployment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1a\n\x0brevision_id\x18\x04 \x01(\tB\x05\xe2\x41\x02\x05\x03\x12\x35\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12>\n\x14revision_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12>\n\x14revision_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x45\n\x11\x61pi_spec_revision\x18\x08 \x01(\tB*\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\x12\x14\n\x0c\x65ndpoint_uri\x18\t \x01(\t\x12\x1c\n\x14\x65xternal_channel_uri\x18\n \x01(\t\x12\x19\n\x11intended_audience\x18\x0b \x01(\t\x12\x17\n\x0f\x61\x63\x63\x65ss_guidance\x18\x0c \x01(\t\x12I\n\x06labels\x18\x0e \x03(\x0b\x32\x39.google.cloud.apigeeregistry.v1.ApiDeployment.LabelsEntry\x12S\n\x0b\x61nnotations\x18\x0f \x03(\x0b\x32>.google.cloud.apigeeregistry.v1.ApiDeployment.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:}\xea\x41z\n+apigeeregistry.googleapis.com/ApiDeployment\x12Kprojects/{project}/locations/{location}/apis/{api}/deployments/{deployment}\"\xbc\x05\n\x08\x41rtifact\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x11\n\tmime_type\x18\x04 \x01(\t\x12\x18\n\nsize_bytes\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x12\n\x04hash\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12\x16\n\x08\x63ontents\x18\x07 \x01(\x0c\x42\x04\xe2\x41\x01\x04:\xda\x03\xea\x41\xd6\x03\n&apigeeregistry.googleapis.com/Artifact\x12<projects/{project}/locations/{location}/artifacts/{artifact}\x12Gprojects/{project}/locations/{location}/apis/{api}/artifacts/{artifact}\x12Zprojects/{project}/locations/{location}/apis/{api}/versions/{version}/artifacts/{artifact}\x12gprojects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}/artifacts/{artifact}\x12`projects/{project}/locations/{location}/apis/{api}/deployments/{deployment}/artifacts/{artifact}B\xed\x01\n\"com.google.cloud.apigeeregistry.v1B\x13RegistryModelsProtoP\x01ZJcloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb\xaa\x02\x1eGoogle.Cloud.ApigeeRegistry.V1\xca\x02\x1eGoogle\\Cloud\\ApigeeRegistry\\V1\xea\x02!Google::Cloud::ApigeeRegistry::V1b\x06proto3"
12
+ descriptor_data = "\n4google/cloud/apigeeregistry/v1/registry_models.proto\x12\x1egoogle.cloud.apigeeregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\x05\n\x03\x41pi\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x0c\x61vailability\x18\x06 \x01(\t\x12J\n\x13recommended_version\x18\x07 \x01(\tB-\xfa\x41*\n(apigeeregistry.googleapis.com/ApiVersion\x12P\n\x16recommended_deployment\x18\x08 \x01(\tB0\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\x12?\n\x06labels\x18\t \x03(\x0b\x32/.google.cloud.apigeeregistry.v1.Api.LabelsEntry\x12I\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x34.google.cloud.apigeeregistry.v1.Api.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:Z\xea\x41W\n!apigeeregistry.googleapis.com/Api\x12\x32projects/{project}/locations/{location}/apis/{api}\"\xb3\x04\n\nApiVersion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\r\n\x05state\x18\x06 \x01(\t\x12\x46\n\x06labels\x18\x07 \x03(\x0b\x32\x36.google.cloud.apigeeregistry.v1.ApiVersion.LabelsEntry\x12P\n\x0b\x61nnotations\x18\x08 \x03(\x0b\x32;.google.cloud.apigeeregistry.v1.ApiVersion.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:t\xea\x41q\n(apigeeregistry.googleapis.com/ApiVersion\x12\x45projects/{project}/locations/{location}/apis/{api}/versions/{version}\"\xf0\x05\n\x07\x41piSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1b\n\x0brevision_id\x18\x04 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14revision_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\tmime_type\x18\x08 \x01(\t\x12\x17\n\nsize_bytes\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04hash\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x12\n\nsource_uri\x18\x0b \x01(\t\x12\x15\n\x08\x63ontents\x18\x0c \x01(\x0c\x42\x03\xe0\x41\x04\x12\x43\n\x06labels\x18\x0e \x03(\x0b\x32\x33.google.cloud.apigeeregistry.v1.ApiSpec.LabelsEntry\x12M\n\x0b\x61nnotations\x18\x0f \x03(\x0b\x32\x38.google.cloud.apigeeregistry.v1.ApiSpec.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:~\xea\x41{\n%apigeeregistry.googleapis.com/ApiSpec\x12Rprojects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}\"\xca\x06\n\rApiDeployment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1b\n\x0brevision_id\x18\x04 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14revision_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x11\x61pi_spec_revision\x18\x08 \x01(\tB*\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\x12\x14\n\x0c\x65ndpoint_uri\x18\t \x01(\t\x12\x1c\n\x14\x65xternal_channel_uri\x18\n \x01(\t\x12\x19\n\x11intended_audience\x18\x0b \x01(\t\x12\x17\n\x0f\x61\x63\x63\x65ss_guidance\x18\x0c \x01(\t\x12I\n\x06labels\x18\x0e \x03(\x0b\x32\x39.google.cloud.apigeeregistry.v1.ApiDeployment.LabelsEntry\x12S\n\x0b\x61nnotations\x18\x0f \x03(\x0b\x32>.google.cloud.apigeeregistry.v1.ApiDeployment.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:}\xea\x41z\n+apigeeregistry.googleapis.com/ApiDeployment\x12Kprojects/{project}/locations/{location}/apis/{api}/deployments/{deployment}\"\xb7\x05\n\x08\x41rtifact\x12\x0c\n\x04name\x18\x01 \x01(\t\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\x11\n\tmime_type\x18\x04 \x01(\t\x12\x17\n\nsize_bytes\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04hash\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08\x63ontents\x18\x07 \x01(\x0c\x42\x03\xe0\x41\x04:\xda\x03\xea\x41\xd6\x03\n&apigeeregistry.googleapis.com/Artifact\x12<projects/{project}/locations/{location}/artifacts/{artifact}\x12Gprojects/{project}/locations/{location}/apis/{api}/artifacts/{artifact}\x12Zprojects/{project}/locations/{location}/apis/{api}/versions/{version}/artifacts/{artifact}\x12gprojects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}/artifacts/{artifact}\x12`projects/{project}/locations/{location}/apis/{api}/deployments/{deployment}/artifacts/{artifact}B\xed\x01\n\"com.google.cloud.apigeeregistry.v1B\x13RegistryModelsProtoP\x01ZJcloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb\xaa\x02\x1eGoogle.Cloud.ApigeeRegistry.V1\xca\x02\x1eGoogle\\Cloud\\ApigeeRegistry\\V1\xea\x02!Google::Cloud::ApigeeRegistry::V1b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15