google-cloud-artifact_registry-v1 0.13.0 → 1.0.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/artifact_registry/v1/artifact_registry/client.rb +75 -36
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/operations.rb +13 -5
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/client.rb +75 -36
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/operations.rb +11 -4
- data/lib/google/cloud/artifact_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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e67cbfe1792d075e26d0649f40e6dfdf27cf7229df0a7f6f813a0b524d326ae5
|
4
|
+
data.tar.gz: 10081695247e230a7c760379c8fd3037d6b50f2b2452410c3e2b84689bc7488c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 356d0fbd728b35eec1497efbd2622fff4e3ddceb8337018bbbd15ad564abba077121100587e0869e5ee1c8fb479dfe36f0a6ebce2d5fa99828af6b30b7adf8b2
|
7
|
+
data.tar.gz: 2222be1b894237b0418a47b104238e291a7d00fcf76783867c2cfd5261736da86f415cba48be42f2b94d56cd94824ee8016c4214e78f96bcb172385cb5d0a503
|
@@ -43,6 +43,9 @@ module Google
|
|
43
43
|
# or Version.
|
44
44
|
#
|
45
45
|
class Client
|
46
|
+
# @private
|
47
|
+
API_VERSION = ""
|
48
|
+
|
46
49
|
# @private
|
47
50
|
DEFAULT_ENDPOINT_TEMPLATE = "artifactregistry.$UNIVERSE_DOMAIN$"
|
48
51
|
|
@@ -269,10 +272,11 @@ module Google
|
|
269
272
|
# Customize the options with defaults
|
270
273
|
metadata = @config.rpcs.list_docker_images.metadata.to_h
|
271
274
|
|
272
|
-
# Set x-goog-api-client
|
275
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
276
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
277
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
278
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
279
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
276
280
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
277
281
|
|
278
282
|
header_params = {}
|
@@ -355,10 +359,11 @@ module Google
|
|
355
359
|
# Customize the options with defaults
|
356
360
|
metadata = @config.rpcs.get_docker_image.metadata.to_h
|
357
361
|
|
358
|
-
# Set x-goog-api-client
|
362
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
359
363
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
360
364
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
361
365
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
366
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
362
367
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
363
368
|
|
364
369
|
header_params = {}
|
@@ -449,10 +454,11 @@ module Google
|
|
449
454
|
# Customize the options with defaults
|
450
455
|
metadata = @config.rpcs.list_maven_artifacts.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
|
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::ArtifactRegistry::V1::VERSION
|
461
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
456
462
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
457
463
|
|
458
464
|
header_params = {}
|
@@ -535,10 +541,11 @@ module Google
|
|
535
541
|
# Customize the options with defaults
|
536
542
|
metadata = @config.rpcs.get_maven_artifact.metadata.to_h
|
537
543
|
|
538
|
-
# Set x-goog-api-client
|
544
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
539
545
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
540
546
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
541
547
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
548
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
542
549
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
543
550
|
|
544
551
|
header_params = {}
|
@@ -629,10 +636,11 @@ module Google
|
|
629
636
|
# Customize the options with defaults
|
630
637
|
metadata = @config.rpcs.list_npm_packages.metadata.to_h
|
631
638
|
|
632
|
-
# Set x-goog-api-client
|
639
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
633
640
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
634
641
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
635
642
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
643
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
636
644
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
637
645
|
|
638
646
|
header_params = {}
|
@@ -715,10 +723,11 @@ module Google
|
|
715
723
|
# Customize the options with defaults
|
716
724
|
metadata = @config.rpcs.get_npm_package.metadata.to_h
|
717
725
|
|
718
|
-
# Set x-goog-api-client
|
726
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
719
727
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
720
728
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
721
729
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
730
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
722
731
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
723
732
|
|
724
733
|
header_params = {}
|
@@ -809,10 +818,11 @@ module Google
|
|
809
818
|
# Customize the options with defaults
|
810
819
|
metadata = @config.rpcs.list_python_packages.metadata.to_h
|
811
820
|
|
812
|
-
# Set x-goog-api-client
|
821
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
813
822
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
814
823
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
815
824
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
825
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
816
826
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
817
827
|
|
818
828
|
header_params = {}
|
@@ -895,10 +905,11 @@ module Google
|
|
895
905
|
# Customize the options with defaults
|
896
906
|
metadata = @config.rpcs.get_python_package.metadata.to_h
|
897
907
|
|
898
|
-
# Set x-goog-api-client
|
908
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
899
909
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
900
910
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
901
911
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
912
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
902
913
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
903
914
|
|
904
915
|
header_params = {}
|
@@ -992,10 +1003,11 @@ module Google
|
|
992
1003
|
# Customize the options with defaults
|
993
1004
|
metadata = @config.rpcs.import_apt_artifacts.metadata.to_h
|
994
1005
|
|
995
|
-
# Set x-goog-api-client
|
1006
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
996
1007
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
997
1008
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
998
1009
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
1010
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
999
1011
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1000
1012
|
|
1001
1013
|
header_params = {}
|
@@ -1090,10 +1102,11 @@ module Google
|
|
1090
1102
|
# Customize the options with defaults
|
1091
1103
|
metadata = @config.rpcs.import_yum_artifacts.metadata.to_h
|
1092
1104
|
|
1093
|
-
# Set x-goog-api-client
|
1105
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1094
1106
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1095
1107
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1096
1108
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
1109
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1097
1110
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1098
1111
|
|
1099
1112
|
header_params = {}
|
@@ -1185,10 +1198,11 @@ module Google
|
|
1185
1198
|
# Customize the options with defaults
|
1186
1199
|
metadata = @config.rpcs.list_repositories.metadata.to_h
|
1187
1200
|
|
1188
|
-
# Set x-goog-api-client
|
1201
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1189
1202
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1190
1203
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1191
1204
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
1205
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1192
1206
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1193
1207
|
|
1194
1208
|
header_params = {}
|
@@ -1271,10 +1285,11 @@ module Google
|
|
1271
1285
|
# Customize the options with defaults
|
1272
1286
|
metadata = @config.rpcs.get_repository.metadata.to_h
|
1273
1287
|
|
1274
|
-
# Set x-goog-api-client
|
1288
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1275
1289
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1276
1290
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1277
1291
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
1292
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1278
1293
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1279
1294
|
|
1280
1295
|
header_params = {}
|
@@ -1369,10 +1384,11 @@ module Google
|
|
1369
1384
|
# Customize the options with defaults
|
1370
1385
|
metadata = @config.rpcs.create_repository.metadata.to_h
|
1371
1386
|
|
1372
|
-
# Set x-goog-api-client
|
1387
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1373
1388
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1374
1389
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1375
1390
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
1391
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1376
1392
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1377
1393
|
|
1378
1394
|
header_params = {}
|
@@ -1459,10 +1475,11 @@ module Google
|
|
1459
1475
|
# Customize the options with defaults
|
1460
1476
|
metadata = @config.rpcs.update_repository.metadata.to_h
|
1461
1477
|
|
1462
|
-
# Set x-goog-api-client
|
1478
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1463
1479
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1464
1480
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1465
1481
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
1482
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1466
1483
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1467
1484
|
|
1468
1485
|
header_params = {}
|
@@ -1553,10 +1570,11 @@ module Google
|
|
1553
1570
|
# Customize the options with defaults
|
1554
1571
|
metadata = @config.rpcs.delete_repository.metadata.to_h
|
1555
1572
|
|
1556
|
-
# Set x-goog-api-client
|
1573
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1557
1574
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1558
1575
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1559
1576
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
1577
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1560
1578
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1561
1579
|
|
1562
1580
|
header_params = {}
|
@@ -1647,10 +1665,11 @@ module Google
|
|
1647
1665
|
# Customize the options with defaults
|
1648
1666
|
metadata = @config.rpcs.list_packages.metadata.to_h
|
1649
1667
|
|
1650
|
-
# Set x-goog-api-client
|
1668
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1651
1669
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1652
1670
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1653
1671
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
1672
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1654
1673
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1655
1674
|
|
1656
1675
|
header_params = {}
|
@@ -1733,10 +1752,11 @@ module Google
|
|
1733
1752
|
# Customize the options with defaults
|
1734
1753
|
metadata = @config.rpcs.get_package.metadata.to_h
|
1735
1754
|
|
1736
|
-
# Set x-goog-api-client
|
1755
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1737
1756
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1738
1757
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1739
1758
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
1759
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1740
1760
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1741
1761
|
|
1742
1762
|
header_params = {}
|
@@ -1826,10 +1846,11 @@ module Google
|
|
1826
1846
|
# Customize the options with defaults
|
1827
1847
|
metadata = @config.rpcs.delete_package.metadata.to_h
|
1828
1848
|
|
1829
|
-
# Set x-goog-api-client
|
1849
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1830
1850
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1831
1851
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1832
1852
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
1853
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1833
1854
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1834
1855
|
|
1835
1856
|
header_params = {}
|
@@ -1924,10 +1945,11 @@ module Google
|
|
1924
1945
|
# Customize the options with defaults
|
1925
1946
|
metadata = @config.rpcs.list_versions.metadata.to_h
|
1926
1947
|
|
1927
|
-
# Set x-goog-api-client
|
1948
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1928
1949
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1929
1950
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1930
1951
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
1952
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1931
1953
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1932
1954
|
|
1933
1955
|
header_params = {}
|
@@ -2012,10 +2034,11 @@ module Google
|
|
2012
2034
|
# Customize the options with defaults
|
2013
2035
|
metadata = @config.rpcs.get_version.metadata.to_h
|
2014
2036
|
|
2015
|
-
# Set x-goog-api-client
|
2037
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2016
2038
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2017
2039
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2018
2040
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
2041
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2019
2042
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2020
2043
|
|
2021
2044
|
header_params = {}
|
@@ -2108,10 +2131,11 @@ module Google
|
|
2108
2131
|
# Customize the options with defaults
|
2109
2132
|
metadata = @config.rpcs.delete_version.metadata.to_h
|
2110
2133
|
|
2111
|
-
# Set x-goog-api-client
|
2134
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2112
2135
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2113
2136
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2114
2137
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
2138
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2115
2139
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2116
2140
|
|
2117
2141
|
header_params = {}
|
@@ -2207,10 +2231,11 @@ module Google
|
|
2207
2231
|
# Customize the options with defaults
|
2208
2232
|
metadata = @config.rpcs.batch_delete_versions.metadata.to_h
|
2209
2233
|
|
2210
|
-
# Set x-goog-api-client
|
2234
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2211
2235
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2212
2236
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2213
2237
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
2238
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2214
2239
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2215
2240
|
|
2216
2241
|
header_params = {}
|
@@ -2317,10 +2342,11 @@ module Google
|
|
2317
2342
|
# Customize the options with defaults
|
2318
2343
|
metadata = @config.rpcs.list_files.metadata.to_h
|
2319
2344
|
|
2320
|
-
# Set x-goog-api-client
|
2345
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2321
2346
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2322
2347
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2323
2348
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
2349
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2324
2350
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2325
2351
|
|
2326
2352
|
header_params = {}
|
@@ -2403,10 +2429,11 @@ module Google
|
|
2403
2429
|
# Customize the options with defaults
|
2404
2430
|
metadata = @config.rpcs.get_file.metadata.to_h
|
2405
2431
|
|
2406
|
-
# Set x-goog-api-client
|
2432
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2407
2433
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2408
2434
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2409
2435
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
2436
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2410
2437
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2411
2438
|
|
2412
2439
|
header_params = {}
|
@@ -2508,10 +2535,11 @@ module Google
|
|
2508
2535
|
# Customize the options with defaults
|
2509
2536
|
metadata = @config.rpcs.list_tags.metadata.to_h
|
2510
2537
|
|
2511
|
-
# Set x-goog-api-client
|
2538
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2512
2539
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2513
2540
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2514
2541
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
2542
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2515
2543
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2516
2544
|
|
2517
2545
|
header_params = {}
|
@@ -2594,10 +2622,11 @@ module Google
|
|
2594
2622
|
# Customize the options with defaults
|
2595
2623
|
metadata = @config.rpcs.get_tag.metadata.to_h
|
2596
2624
|
|
2597
|
-
# Set x-goog-api-client
|
2625
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2598
2626
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2599
2627
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2600
2628
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
2629
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2601
2630
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2602
2631
|
|
2603
2632
|
header_params = {}
|
@@ -2683,10 +2712,11 @@ module Google
|
|
2683
2712
|
# Customize the options with defaults
|
2684
2713
|
metadata = @config.rpcs.create_tag.metadata.to_h
|
2685
2714
|
|
2686
|
-
# Set x-goog-api-client
|
2715
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2687
2716
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2688
2717
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2689
2718
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
2719
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2690
2720
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2691
2721
|
|
2692
2722
|
header_params = {}
|
@@ -2772,10 +2802,11 @@ module Google
|
|
2772
2802
|
# Customize the options with defaults
|
2773
2803
|
metadata = @config.rpcs.update_tag.metadata.to_h
|
2774
2804
|
|
2775
|
-
# Set x-goog-api-client
|
2805
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2776
2806
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2777
2807
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2778
2808
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
2809
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2779
2810
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2780
2811
|
|
2781
2812
|
header_params = {}
|
@@ -2857,10 +2888,11 @@ module Google
|
|
2857
2888
|
# Customize the options with defaults
|
2858
2889
|
metadata = @config.rpcs.delete_tag.metadata.to_h
|
2859
2890
|
|
2860
|
-
# Set x-goog-api-client
|
2891
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2861
2892
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2862
2893
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2863
2894
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
2895
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2864
2896
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2865
2897
|
|
2866
2898
|
header_params = {}
|
@@ -2954,10 +2986,11 @@ module Google
|
|
2954
2986
|
# Customize the options with defaults
|
2955
2987
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
2956
2988
|
|
2957
|
-
# Set x-goog-api-client
|
2989
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2958
2990
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2959
2991
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2960
2992
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
2993
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2961
2994
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2962
2995
|
|
2963
2996
|
header_params = {}
|
@@ -3043,10 +3076,11 @@ module Google
|
|
3043
3076
|
# Customize the options with defaults
|
3044
3077
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
3045
3078
|
|
3046
|
-
# Set x-goog-api-client
|
3079
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3047
3080
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3048
3081
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3049
3082
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
3083
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3050
3084
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3051
3085
|
|
3052
3086
|
header_params = {}
|
@@ -3134,10 +3168,11 @@ module Google
|
|
3134
3168
|
# Customize the options with defaults
|
3135
3169
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
3136
3170
|
|
3137
|
-
# Set x-goog-api-client
|
3171
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3138
3172
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3139
3173
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3140
3174
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
3175
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3141
3176
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3142
3177
|
|
3143
3178
|
header_params = {}
|
@@ -3219,10 +3254,11 @@ module Google
|
|
3219
3254
|
# Customize the options with defaults
|
3220
3255
|
metadata = @config.rpcs.get_project_settings.metadata.to_h
|
3221
3256
|
|
3222
|
-
# Set x-goog-api-client
|
3257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3223
3258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3224
3259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3225
3260
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
3261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3226
3262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3227
3263
|
|
3228
3264
|
header_params = {}
|
@@ -3306,10 +3342,11 @@ module Google
|
|
3306
3342
|
# Customize the options with defaults
|
3307
3343
|
metadata = @config.rpcs.update_project_settings.metadata.to_h
|
3308
3344
|
|
3309
|
-
# Set x-goog-api-client
|
3345
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3310
3346
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3311
3347
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3312
3348
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
3349
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3313
3350
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3314
3351
|
|
3315
3352
|
header_params = {}
|
@@ -3391,10 +3428,11 @@ module Google
|
|
3391
3428
|
# Customize the options with defaults
|
3392
3429
|
metadata = @config.rpcs.get_vpcsc_config.metadata.to_h
|
3393
3430
|
|
3394
|
-
# Set x-goog-api-client
|
3431
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3395
3432
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3396
3433
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3397
3434
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
3435
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3398
3436
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3399
3437
|
|
3400
3438
|
header_params = {}
|
@@ -3478,10 +3516,11 @@ module Google
|
|
3478
3516
|
# Customize the options with defaults
|
3479
3517
|
metadata = @config.rpcs.update_vpcsc_config.metadata.to_h
|
3480
3518
|
|
3481
|
-
# Set x-goog-api-client
|
3519
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3482
3520
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3483
3521
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3484
3522
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION
|
3523
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3485
3524
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3486
3525
|
|
3487
3526
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module ArtifactRegistry
|
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 = "artifactregistry.$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::ArtifactRegistry::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::ArtifactRegistry::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::ArtifactRegistry::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::ArtifactRegistry::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::ArtifactRegistry::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,
|
@@ -45,6 +45,9 @@ module Google
|
|
45
45
|
# or Version.
|
46
46
|
#
|
47
47
|
class Client
|
48
|
+
# @private
|
49
|
+
API_VERSION = ""
|
50
|
+
|
48
51
|
# @private
|
49
52
|
DEFAULT_ENDPOINT_TEMPLATE = "artifactregistry.$UNIVERSE_DOMAIN$"
|
50
53
|
|
@@ -262,12 +265,13 @@ module Google
|
|
262
265
|
# Customize the options with defaults
|
263
266
|
call_metadata = @config.rpcs.list_docker_images.metadata.to_h
|
264
267
|
|
265
|
-
# Set x-goog-api-client
|
268
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
266
269
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
267
270
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
268
271
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
269
272
|
transports_version_send: [:rest]
|
270
273
|
|
274
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
271
275
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
272
276
|
|
273
277
|
options.apply_defaults timeout: @config.rpcs.list_docker_images.timeout,
|
@@ -341,12 +345,13 @@ module Google
|
|
341
345
|
# Customize the options with defaults
|
342
346
|
call_metadata = @config.rpcs.get_docker_image.metadata.to_h
|
343
347
|
|
344
|
-
# Set x-goog-api-client
|
348
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
345
349
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
346
350
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
347
351
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
348
352
|
transports_version_send: [:rest]
|
349
353
|
|
354
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
350
355
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
351
356
|
|
352
357
|
options.apply_defaults timeout: @config.rpcs.get_docker_image.timeout,
|
@@ -428,12 +433,13 @@ module Google
|
|
428
433
|
# Customize the options with defaults
|
429
434
|
call_metadata = @config.rpcs.list_maven_artifacts.metadata.to_h
|
430
435
|
|
431
|
-
# Set x-goog-api-client
|
436
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
432
437
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
433
438
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
434
439
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
435
440
|
transports_version_send: [:rest]
|
436
441
|
|
442
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
437
443
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
438
444
|
|
439
445
|
options.apply_defaults timeout: @config.rpcs.list_maven_artifacts.timeout,
|
@@ -507,12 +513,13 @@ module Google
|
|
507
513
|
# Customize the options with defaults
|
508
514
|
call_metadata = @config.rpcs.get_maven_artifact.metadata.to_h
|
509
515
|
|
510
|
-
# Set x-goog-api-client
|
516
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
511
517
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
512
518
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
513
519
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
514
520
|
transports_version_send: [:rest]
|
515
521
|
|
522
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
516
523
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
517
524
|
|
518
525
|
options.apply_defaults timeout: @config.rpcs.get_maven_artifact.timeout,
|
@@ -594,12 +601,13 @@ module Google
|
|
594
601
|
# Customize the options with defaults
|
595
602
|
call_metadata = @config.rpcs.list_npm_packages.metadata.to_h
|
596
603
|
|
597
|
-
# Set x-goog-api-client
|
604
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
598
605
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
599
606
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
600
607
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
601
608
|
transports_version_send: [:rest]
|
602
609
|
|
610
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
603
611
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
604
612
|
|
605
613
|
options.apply_defaults timeout: @config.rpcs.list_npm_packages.timeout,
|
@@ -673,12 +681,13 @@ module Google
|
|
673
681
|
# Customize the options with defaults
|
674
682
|
call_metadata = @config.rpcs.get_npm_package.metadata.to_h
|
675
683
|
|
676
|
-
# Set x-goog-api-client
|
684
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
677
685
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
678
686
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
679
687
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
680
688
|
transports_version_send: [:rest]
|
681
689
|
|
690
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
682
691
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
683
692
|
|
684
693
|
options.apply_defaults timeout: @config.rpcs.get_npm_package.timeout,
|
@@ -760,12 +769,13 @@ module Google
|
|
760
769
|
# Customize the options with defaults
|
761
770
|
call_metadata = @config.rpcs.list_python_packages.metadata.to_h
|
762
771
|
|
763
|
-
# Set x-goog-api-client
|
772
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
764
773
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
765
774
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
766
775
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
767
776
|
transports_version_send: [:rest]
|
768
777
|
|
778
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
769
779
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
770
780
|
|
771
781
|
options.apply_defaults timeout: @config.rpcs.list_python_packages.timeout,
|
@@ -839,12 +849,13 @@ module Google
|
|
839
849
|
# Customize the options with defaults
|
840
850
|
call_metadata = @config.rpcs.get_python_package.metadata.to_h
|
841
851
|
|
842
|
-
# Set x-goog-api-client
|
852
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
843
853
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
844
854
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
845
855
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
846
856
|
transports_version_send: [:rest]
|
847
857
|
|
858
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
848
859
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
849
860
|
|
850
861
|
options.apply_defaults timeout: @config.rpcs.get_python_package.timeout,
|
@@ -929,12 +940,13 @@ module Google
|
|
929
940
|
# Customize the options with defaults
|
930
941
|
call_metadata = @config.rpcs.import_apt_artifacts.metadata.to_h
|
931
942
|
|
932
|
-
# Set x-goog-api-client
|
943
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
933
944
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
934
945
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
935
946
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
936
947
|
transports_version_send: [:rest]
|
937
948
|
|
949
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
938
950
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
939
951
|
|
940
952
|
options.apply_defaults timeout: @config.rpcs.import_apt_artifacts.timeout,
|
@@ -1020,12 +1032,13 @@ module Google
|
|
1020
1032
|
# Customize the options with defaults
|
1021
1033
|
call_metadata = @config.rpcs.import_yum_artifacts.metadata.to_h
|
1022
1034
|
|
1023
|
-
# Set x-goog-api-client
|
1035
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1024
1036
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1025
1037
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1026
1038
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1027
1039
|
transports_version_send: [:rest]
|
1028
1040
|
|
1041
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1029
1042
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1030
1043
|
|
1031
1044
|
options.apply_defaults timeout: @config.rpcs.import_yum_artifacts.timeout,
|
@@ -1108,12 +1121,13 @@ module Google
|
|
1108
1121
|
# Customize the options with defaults
|
1109
1122
|
call_metadata = @config.rpcs.list_repositories.metadata.to_h
|
1110
1123
|
|
1111
|
-
# Set x-goog-api-client
|
1124
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1112
1125
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1113
1126
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1114
1127
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1115
1128
|
transports_version_send: [:rest]
|
1116
1129
|
|
1130
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1117
1131
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1118
1132
|
|
1119
1133
|
options.apply_defaults timeout: @config.rpcs.list_repositories.timeout,
|
@@ -1187,12 +1201,13 @@ module Google
|
|
1187
1201
|
# Customize the options with defaults
|
1188
1202
|
call_metadata = @config.rpcs.get_repository.metadata.to_h
|
1189
1203
|
|
1190
|
-
# Set x-goog-api-client
|
1204
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1191
1205
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1192
1206
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1193
1207
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1194
1208
|
transports_version_send: [:rest]
|
1195
1209
|
|
1210
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1196
1211
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1197
1212
|
|
1198
1213
|
options.apply_defaults timeout: @config.rpcs.get_repository.timeout,
|
@@ -1278,12 +1293,13 @@ module Google
|
|
1278
1293
|
# Customize the options with defaults
|
1279
1294
|
call_metadata = @config.rpcs.create_repository.metadata.to_h
|
1280
1295
|
|
1281
|
-
# Set x-goog-api-client
|
1296
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1282
1297
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1283
1298
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1284
1299
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1285
1300
|
transports_version_send: [:rest]
|
1286
1301
|
|
1302
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1287
1303
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1288
1304
|
|
1289
1305
|
options.apply_defaults timeout: @config.rpcs.create_repository.timeout,
|
@@ -1361,12 +1377,13 @@ module Google
|
|
1361
1377
|
# Customize the options with defaults
|
1362
1378
|
call_metadata = @config.rpcs.update_repository.metadata.to_h
|
1363
1379
|
|
1364
|
-
# Set x-goog-api-client
|
1380
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1365
1381
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1366
1382
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1367
1383
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1368
1384
|
transports_version_send: [:rest]
|
1369
1385
|
|
1386
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1370
1387
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1371
1388
|
|
1372
1389
|
options.apply_defaults timeout: @config.rpcs.update_repository.timeout,
|
@@ -1448,12 +1465,13 @@ module Google
|
|
1448
1465
|
# Customize the options with defaults
|
1449
1466
|
call_metadata = @config.rpcs.delete_repository.metadata.to_h
|
1450
1467
|
|
1451
|
-
# Set x-goog-api-client
|
1468
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1452
1469
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1453
1470
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1454
1471
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1455
1472
|
transports_version_send: [:rest]
|
1456
1473
|
|
1474
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1457
1475
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1458
1476
|
|
1459
1477
|
options.apply_defaults timeout: @config.rpcs.delete_repository.timeout,
|
@@ -1535,12 +1553,13 @@ module Google
|
|
1535
1553
|
# Customize the options with defaults
|
1536
1554
|
call_metadata = @config.rpcs.list_packages.metadata.to_h
|
1537
1555
|
|
1538
|
-
# Set x-goog-api-client
|
1556
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1539
1557
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1540
1558
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1541
1559
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1542
1560
|
transports_version_send: [:rest]
|
1543
1561
|
|
1562
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1544
1563
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1545
1564
|
|
1546
1565
|
options.apply_defaults timeout: @config.rpcs.list_packages.timeout,
|
@@ -1614,12 +1633,13 @@ module Google
|
|
1614
1633
|
# Customize the options with defaults
|
1615
1634
|
call_metadata = @config.rpcs.get_package.metadata.to_h
|
1616
1635
|
|
1617
|
-
# Set x-goog-api-client
|
1636
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1618
1637
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1619
1638
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1620
1639
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1621
1640
|
transports_version_send: [:rest]
|
1622
1641
|
|
1642
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1623
1643
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1624
1644
|
|
1625
1645
|
options.apply_defaults timeout: @config.rpcs.get_package.timeout,
|
@@ -1700,12 +1720,13 @@ module Google
|
|
1700
1720
|
# Customize the options with defaults
|
1701
1721
|
call_metadata = @config.rpcs.delete_package.metadata.to_h
|
1702
1722
|
|
1703
|
-
# Set x-goog-api-client
|
1723
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1704
1724
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1705
1725
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1706
1726
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1707
1727
|
transports_version_send: [:rest]
|
1708
1728
|
|
1729
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1709
1730
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1710
1731
|
|
1711
1732
|
options.apply_defaults timeout: @config.rpcs.delete_package.timeout,
|
@@ -1791,12 +1812,13 @@ module Google
|
|
1791
1812
|
# Customize the options with defaults
|
1792
1813
|
call_metadata = @config.rpcs.list_versions.metadata.to_h
|
1793
1814
|
|
1794
|
-
# Set x-goog-api-client
|
1815
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1795
1816
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1796
1817
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1797
1818
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1798
1819
|
transports_version_send: [:rest]
|
1799
1820
|
|
1821
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1800
1822
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1801
1823
|
|
1802
1824
|
options.apply_defaults timeout: @config.rpcs.list_versions.timeout,
|
@@ -1872,12 +1894,13 @@ module Google
|
|
1872
1894
|
# Customize the options with defaults
|
1873
1895
|
call_metadata = @config.rpcs.get_version.metadata.to_h
|
1874
1896
|
|
1875
|
-
# Set x-goog-api-client
|
1897
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1876
1898
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1877
1899
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1878
1900
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1879
1901
|
transports_version_send: [:rest]
|
1880
1902
|
|
1903
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1881
1904
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1882
1905
|
|
1883
1906
|
options.apply_defaults timeout: @config.rpcs.get_version.timeout,
|
@@ -1961,12 +1984,13 @@ module Google
|
|
1961
1984
|
# Customize the options with defaults
|
1962
1985
|
call_metadata = @config.rpcs.delete_version.metadata.to_h
|
1963
1986
|
|
1964
|
-
# Set x-goog-api-client
|
1987
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1965
1988
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1966
1989
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1967
1990
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
1968
1991
|
transports_version_send: [:rest]
|
1969
1992
|
|
1993
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1970
1994
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1971
1995
|
|
1972
1996
|
options.apply_defaults timeout: @config.rpcs.delete_version.timeout,
|
@@ -2053,12 +2077,13 @@ module Google
|
|
2053
2077
|
# Customize the options with defaults
|
2054
2078
|
call_metadata = @config.rpcs.batch_delete_versions.metadata.to_h
|
2055
2079
|
|
2056
|
-
# Set x-goog-api-client
|
2080
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2057
2081
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2058
2082
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2059
2083
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2060
2084
|
transports_version_send: [:rest]
|
2061
2085
|
|
2086
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2062
2087
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2063
2088
|
|
2064
2089
|
options.apply_defaults timeout: @config.rpcs.batch_delete_versions.timeout,
|
@@ -2156,12 +2181,13 @@ module Google
|
|
2156
2181
|
# Customize the options with defaults
|
2157
2182
|
call_metadata = @config.rpcs.list_files.metadata.to_h
|
2158
2183
|
|
2159
|
-
# Set x-goog-api-client
|
2184
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2160
2185
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2161
2186
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2162
2187
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2163
2188
|
transports_version_send: [:rest]
|
2164
2189
|
|
2190
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2165
2191
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2166
2192
|
|
2167
2193
|
options.apply_defaults timeout: @config.rpcs.list_files.timeout,
|
@@ -2235,12 +2261,13 @@ module Google
|
|
2235
2261
|
# Customize the options with defaults
|
2236
2262
|
call_metadata = @config.rpcs.get_file.metadata.to_h
|
2237
2263
|
|
2238
|
-
# Set x-goog-api-client
|
2264
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2239
2265
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2240
2266
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2241
2267
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2242
2268
|
transports_version_send: [:rest]
|
2243
2269
|
|
2270
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2244
2271
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2245
2272
|
|
2246
2273
|
options.apply_defaults timeout: @config.rpcs.get_file.timeout,
|
@@ -2333,12 +2360,13 @@ module Google
|
|
2333
2360
|
# Customize the options with defaults
|
2334
2361
|
call_metadata = @config.rpcs.list_tags.metadata.to_h
|
2335
2362
|
|
2336
|
-
# Set x-goog-api-client
|
2363
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2337
2364
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2338
2365
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2339
2366
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2340
2367
|
transports_version_send: [:rest]
|
2341
2368
|
|
2369
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2342
2370
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2343
2371
|
|
2344
2372
|
options.apply_defaults timeout: @config.rpcs.list_tags.timeout,
|
@@ -2412,12 +2440,13 @@ module Google
|
|
2412
2440
|
# Customize the options with defaults
|
2413
2441
|
call_metadata = @config.rpcs.get_tag.metadata.to_h
|
2414
2442
|
|
2415
|
-
# Set x-goog-api-client
|
2443
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2416
2444
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2417
2445
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2418
2446
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2419
2447
|
transports_version_send: [:rest]
|
2420
2448
|
|
2449
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2421
2450
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2422
2451
|
|
2423
2452
|
options.apply_defaults timeout: @config.rpcs.get_tag.timeout,
|
@@ -2494,12 +2523,13 @@ module Google
|
|
2494
2523
|
# Customize the options with defaults
|
2495
2524
|
call_metadata = @config.rpcs.create_tag.metadata.to_h
|
2496
2525
|
|
2497
|
-
# Set x-goog-api-client
|
2526
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2498
2527
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2499
2528
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2500
2529
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2501
2530
|
transports_version_send: [:rest]
|
2502
2531
|
|
2532
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2503
2533
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2504
2534
|
|
2505
2535
|
options.apply_defaults timeout: @config.rpcs.create_tag.timeout,
|
@@ -2576,12 +2606,13 @@ module Google
|
|
2576
2606
|
# Customize the options with defaults
|
2577
2607
|
call_metadata = @config.rpcs.update_tag.metadata.to_h
|
2578
2608
|
|
2579
|
-
# Set x-goog-api-client
|
2609
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2580
2610
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2581
2611
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2582
2612
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2583
2613
|
transports_version_send: [:rest]
|
2584
2614
|
|
2615
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2585
2616
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2586
2617
|
|
2587
2618
|
options.apply_defaults timeout: @config.rpcs.update_tag.timeout,
|
@@ -2654,12 +2685,13 @@ module Google
|
|
2654
2685
|
# Customize the options with defaults
|
2655
2686
|
call_metadata = @config.rpcs.delete_tag.metadata.to_h
|
2656
2687
|
|
2657
|
-
# Set x-goog-api-client
|
2688
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2658
2689
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2659
2690
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2660
2691
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2661
2692
|
transports_version_send: [:rest]
|
2662
2693
|
|
2694
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2663
2695
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2664
2696
|
|
2665
2697
|
options.apply_defaults timeout: @config.rpcs.delete_tag.timeout,
|
@@ -2744,12 +2776,13 @@ module Google
|
|
2744
2776
|
# Customize the options with defaults
|
2745
2777
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
2746
2778
|
|
2747
|
-
# Set x-goog-api-client
|
2779
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2748
2780
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2749
2781
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2750
2782
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2751
2783
|
transports_version_send: [:rest]
|
2752
2784
|
|
2785
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2753
2786
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2754
2787
|
|
2755
2788
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -2826,12 +2859,13 @@ module Google
|
|
2826
2859
|
# Customize the options with defaults
|
2827
2860
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
2828
2861
|
|
2829
|
-
# Set x-goog-api-client
|
2862
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2830
2863
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2831
2864
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2832
2865
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2833
2866
|
transports_version_send: [:rest]
|
2834
2867
|
|
2868
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2835
2869
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2836
2870
|
|
2837
2871
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -2910,12 +2944,13 @@ module Google
|
|
2910
2944
|
# Customize the options with defaults
|
2911
2945
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
2912
2946
|
|
2913
|
-
# Set x-goog-api-client
|
2947
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2914
2948
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2915
2949
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2916
2950
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2917
2951
|
transports_version_send: [:rest]
|
2918
2952
|
|
2953
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2919
2954
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2920
2955
|
|
2921
2956
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -2988,12 +3023,13 @@ module Google
|
|
2988
3023
|
# Customize the options with defaults
|
2989
3024
|
call_metadata = @config.rpcs.get_project_settings.metadata.to_h
|
2990
3025
|
|
2991
|
-
# Set x-goog-api-client
|
3026
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2992
3027
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2993
3028
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2994
3029
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
2995
3030
|
transports_version_send: [:rest]
|
2996
3031
|
|
3032
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2997
3033
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2998
3034
|
|
2999
3035
|
options.apply_defaults timeout: @config.rpcs.get_project_settings.timeout,
|
@@ -3068,12 +3104,13 @@ module Google
|
|
3068
3104
|
# Customize the options with defaults
|
3069
3105
|
call_metadata = @config.rpcs.update_project_settings.metadata.to_h
|
3070
3106
|
|
3071
|
-
# Set x-goog-api-client
|
3107
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3072
3108
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3073
3109
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3074
3110
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
3075
3111
|
transports_version_send: [:rest]
|
3076
3112
|
|
3113
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3077
3114
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3078
3115
|
|
3079
3116
|
options.apply_defaults timeout: @config.rpcs.update_project_settings.timeout,
|
@@ -3146,12 +3183,13 @@ module Google
|
|
3146
3183
|
# Customize the options with defaults
|
3147
3184
|
call_metadata = @config.rpcs.get_vpcsc_config.metadata.to_h
|
3148
3185
|
|
3149
|
-
# Set x-goog-api-client
|
3186
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3150
3187
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3151
3188
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3152
3189
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
3153
3190
|
transports_version_send: [:rest]
|
3154
3191
|
|
3192
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3155
3193
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3156
3194
|
|
3157
3195
|
options.apply_defaults timeout: @config.rpcs.get_vpcsc_config.timeout,
|
@@ -3226,12 +3264,13 @@ module Google
|
|
3226
3264
|
# Customize the options with defaults
|
3227
3265
|
call_metadata = @config.rpcs.update_vpcsc_config.metadata.to_h
|
3228
3266
|
|
3229
|
-
# Set x-goog-api-client
|
3267
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3230
3268
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3231
3269
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3232
3270
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1::VERSION,
|
3233
3271
|
transports_version_send: [:rest]
|
3234
3272
|
|
3273
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3235
3274
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3236
3275
|
|
3237
3276
|
options.apply_defaults timeout: @config.rpcs.update_vpcsc_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 = "artifactregistry.$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::ArtifactRegistry::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::ArtifactRegistry::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::ArtifactRegistry::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::ArtifactRegistry::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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-artifact_registry-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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
|