google-cloud-artifact_registry-v1beta2 0.12.0 → 0.12.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/v1beta2/artifact_registry/client.rb +53 -25
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/operations.rb +13 -5
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/client.rb +53 -25
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/operations.rb +11 -4
- data/lib/google/cloud/artifact_registry/v1beta2/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: aa4fd7a2d83a483d357298e1fa2d56d3baa893229e4aad391a7228a35d20c487
|
4
|
+
data.tar.gz: 17db5d6dca2acfc1a69c2dcdf7842f8cba017b2d375d004789158d2b10cb5409
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4850d2c243be4884c36312272373e036c5dfbd7d7592fbc1381e34fc6800a3a8990909ec38a0a80d61f5755dc9a152af953ee37bb9926a15b41d8f02877957a4
|
7
|
+
data.tar.gz: 305df44fe37835c31b85a76e4d3ffdebac087a41bf26b470e3636a32b2b92b2b890740e9e7a5c8410373c801c8f4c9755ddbd8b23f8fc09faecc2ea5fc1c1eba
|
@@ -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
|
|
@@ -353,10 +356,11 @@ module Google
|
|
353
356
|
# Customize the options with defaults
|
354
357
|
metadata = @config.rpcs.import_apt_artifacts.metadata.to_h
|
355
358
|
|
356
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
357
360
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
358
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
359
362
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
363
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
364
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
365
|
|
362
366
|
header_params = {}
|
@@ -451,10 +455,11 @@ module Google
|
|
451
455
|
# Customize the options with defaults
|
452
456
|
metadata = @config.rpcs.import_yum_artifacts.metadata.to_h
|
453
457
|
|
454
|
-
# Set x-goog-api-client
|
458
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
455
459
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
456
460
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
457
461
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
462
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
458
463
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
459
464
|
|
460
465
|
header_params = {}
|
@@ -545,10 +550,11 @@ module Google
|
|
545
550
|
# Customize the options with defaults
|
546
551
|
metadata = @config.rpcs.list_repositories.metadata.to_h
|
547
552
|
|
548
|
-
# Set x-goog-api-client
|
553
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
549
554
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
550
555
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
551
556
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
557
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
552
558
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
553
559
|
|
554
560
|
header_params = {}
|
@@ -631,10 +637,11 @@ module Google
|
|
631
637
|
# Customize the options with defaults
|
632
638
|
metadata = @config.rpcs.get_repository.metadata.to_h
|
633
639
|
|
634
|
-
# Set x-goog-api-client
|
640
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
635
641
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
636
642
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
637
643
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
644
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
638
645
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
639
646
|
|
640
647
|
header_params = {}
|
@@ -728,10 +735,11 @@ module Google
|
|
728
735
|
# Customize the options with defaults
|
729
736
|
metadata = @config.rpcs.create_repository.metadata.to_h
|
730
737
|
|
731
|
-
# Set x-goog-api-client
|
738
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
732
739
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
733
740
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
734
741
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
742
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
735
743
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
736
744
|
|
737
745
|
header_params = {}
|
@@ -818,10 +826,11 @@ module Google
|
|
818
826
|
# Customize the options with defaults
|
819
827
|
metadata = @config.rpcs.update_repository.metadata.to_h
|
820
828
|
|
821
|
-
# Set x-goog-api-client
|
829
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
822
830
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
823
831
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
824
832
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
833
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
825
834
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
826
835
|
|
827
836
|
header_params = {}
|
@@ -912,10 +921,11 @@ module Google
|
|
912
921
|
# Customize the options with defaults
|
913
922
|
metadata = @config.rpcs.delete_repository.metadata.to_h
|
914
923
|
|
915
|
-
# Set x-goog-api-client
|
924
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
916
925
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
917
926
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
918
927
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
928
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
919
929
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
920
930
|
|
921
931
|
header_params = {}
|
@@ -1007,10 +1017,11 @@ module Google
|
|
1007
1017
|
# Customize the options with defaults
|
1008
1018
|
metadata = @config.rpcs.list_packages.metadata.to_h
|
1009
1019
|
|
1010
|
-
# Set x-goog-api-client
|
1020
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1011
1021
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1012
1022
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1013
1023
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
1024
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1014
1025
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1015
1026
|
|
1016
1027
|
header_params = {}
|
@@ -1093,10 +1104,11 @@ module Google
|
|
1093
1104
|
# Customize the options with defaults
|
1094
1105
|
metadata = @config.rpcs.get_package.metadata.to_h
|
1095
1106
|
|
1096
|
-
# Set x-goog-api-client
|
1107
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1097
1108
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1098
1109
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1099
1110
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
1111
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1100
1112
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1101
1113
|
|
1102
1114
|
header_params = {}
|
@@ -1186,10 +1198,11 @@ module Google
|
|
1186
1198
|
# Customize the options with defaults
|
1187
1199
|
metadata = @config.rpcs.delete_package.metadata.to_h
|
1188
1200
|
|
1189
|
-
# Set x-goog-api-client
|
1201
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1190
1202
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1191
1203
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1192
1204
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
1205
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1193
1206
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1194
1207
|
|
1195
1208
|
header_params = {}
|
@@ -1284,10 +1297,11 @@ module Google
|
|
1284
1297
|
# Customize the options with defaults
|
1285
1298
|
metadata = @config.rpcs.list_versions.metadata.to_h
|
1286
1299
|
|
1287
|
-
# Set x-goog-api-client
|
1300
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1288
1301
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1289
1302
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1290
1303
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
1304
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1291
1305
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1292
1306
|
|
1293
1307
|
header_params = {}
|
@@ -1372,10 +1386,11 @@ module Google
|
|
1372
1386
|
# Customize the options with defaults
|
1373
1387
|
metadata = @config.rpcs.get_version.metadata.to_h
|
1374
1388
|
|
1375
|
-
# Set x-goog-api-client
|
1389
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1376
1390
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1377
1391
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1378
1392
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
1393
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1379
1394
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1380
1395
|
|
1381
1396
|
header_params = {}
|
@@ -1468,10 +1483,11 @@ module Google
|
|
1468
1483
|
# Customize the options with defaults
|
1469
1484
|
metadata = @config.rpcs.delete_version.metadata.to_h
|
1470
1485
|
|
1471
|
-
# Set x-goog-api-client
|
1486
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1472
1487
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1473
1488
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1474
1489
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
1490
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1475
1491
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1476
1492
|
|
1477
1493
|
header_params = {}
|
@@ -1576,10 +1592,11 @@ module Google
|
|
1576
1592
|
# Customize the options with defaults
|
1577
1593
|
metadata = @config.rpcs.list_files.metadata.to_h
|
1578
1594
|
|
1579
|
-
# Set x-goog-api-client
|
1595
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1580
1596
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1581
1597
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1582
1598
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
1599
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1583
1600
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1584
1601
|
|
1585
1602
|
header_params = {}
|
@@ -1662,10 +1679,11 @@ module Google
|
|
1662
1679
|
# Customize the options with defaults
|
1663
1680
|
metadata = @config.rpcs.get_file.metadata.to_h
|
1664
1681
|
|
1665
|
-
# Set x-goog-api-client
|
1682
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1666
1683
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1667
1684
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1668
1685
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
1686
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1669
1687
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1670
1688
|
|
1671
1689
|
header_params = {}
|
@@ -1765,10 +1783,11 @@ module Google
|
|
1765
1783
|
# Customize the options with defaults
|
1766
1784
|
metadata = @config.rpcs.list_tags.metadata.to_h
|
1767
1785
|
|
1768
|
-
# Set x-goog-api-client
|
1786
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1769
1787
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1770
1788
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1771
1789
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
1790
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1772
1791
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1773
1792
|
|
1774
1793
|
header_params = {}
|
@@ -1851,10 +1870,11 @@ module Google
|
|
1851
1870
|
# Customize the options with defaults
|
1852
1871
|
metadata = @config.rpcs.get_tag.metadata.to_h
|
1853
1872
|
|
1854
|
-
# Set x-goog-api-client
|
1873
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1855
1874
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1856
1875
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1857
1876
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
1877
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1858
1878
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1859
1879
|
|
1860
1880
|
header_params = {}
|
@@ -1940,10 +1960,11 @@ module Google
|
|
1940
1960
|
# Customize the options with defaults
|
1941
1961
|
metadata = @config.rpcs.create_tag.metadata.to_h
|
1942
1962
|
|
1943
|
-
# Set x-goog-api-client
|
1963
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1944
1964
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1945
1965
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1946
1966
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
1967
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1947
1968
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1948
1969
|
|
1949
1970
|
header_params = {}
|
@@ -2029,10 +2050,11 @@ module Google
|
|
2029
2050
|
# Customize the options with defaults
|
2030
2051
|
metadata = @config.rpcs.update_tag.metadata.to_h
|
2031
2052
|
|
2032
|
-
# Set x-goog-api-client
|
2053
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2033
2054
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2034
2055
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2035
2056
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
2057
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2036
2058
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2037
2059
|
|
2038
2060
|
header_params = {}
|
@@ -2114,10 +2136,11 @@ module Google
|
|
2114
2136
|
# Customize the options with defaults
|
2115
2137
|
metadata = @config.rpcs.delete_tag.metadata.to_h
|
2116
2138
|
|
2117
|
-
# Set x-goog-api-client
|
2139
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2118
2140
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2119
2141
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2120
2142
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
2143
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2121
2144
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2122
2145
|
|
2123
2146
|
header_params = {}
|
@@ -2211,10 +2234,11 @@ module Google
|
|
2211
2234
|
# Customize the options with defaults
|
2212
2235
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
2213
2236
|
|
2214
|
-
# Set x-goog-api-client
|
2237
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2215
2238
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2216
2239
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2217
2240
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
2241
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2218
2242
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2219
2243
|
|
2220
2244
|
header_params = {}
|
@@ -2300,10 +2324,11 @@ module Google
|
|
2300
2324
|
# Customize the options with defaults
|
2301
2325
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
2302
2326
|
|
2303
|
-
# Set x-goog-api-client
|
2327
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2304
2328
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2305
2329
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2306
2330
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
2331
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2307
2332
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2308
2333
|
|
2309
2334
|
header_params = {}
|
@@ -2391,10 +2416,11 @@ module Google
|
|
2391
2416
|
# Customize the options with defaults
|
2392
2417
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
2393
2418
|
|
2394
|
-
# Set x-goog-api-client
|
2419
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2395
2420
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2396
2421
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2397
2422
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
2423
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2398
2424
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2399
2425
|
|
2400
2426
|
header_params = {}
|
@@ -2476,10 +2502,11 @@ module Google
|
|
2476
2502
|
# Customize the options with defaults
|
2477
2503
|
metadata = @config.rpcs.get_project_settings.metadata.to_h
|
2478
2504
|
|
2479
|
-
# Set x-goog-api-client
|
2505
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2480
2506
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2481
2507
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2482
2508
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
2509
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2483
2510
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2484
2511
|
|
2485
2512
|
header_params = {}
|
@@ -2563,10 +2590,11 @@ module Google
|
|
2563
2590
|
# Customize the options with defaults
|
2564
2591
|
metadata = @config.rpcs.update_project_settings.metadata.to_h
|
2565
2592
|
|
2566
|
-
# Set x-goog-api-client
|
2593
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2567
2594
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2568
2595
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2569
2596
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
|
2597
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2570
2598
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2571
2599
|
|
2572
2600
|
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::V1beta2::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::V1beta2::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::V1beta2::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::V1beta2::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::V1beta2::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
|
|
@@ -346,12 +349,13 @@ module Google
|
|
346
349
|
# Customize the options with defaults
|
347
350
|
call_metadata = @config.rpcs.import_apt_artifacts.metadata.to_h
|
348
351
|
|
349
|
-
# Set x-goog-api-client
|
352
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
350
353
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
351
354
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
352
355
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
353
356
|
transports_version_send: [:rest]
|
354
357
|
|
358
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
355
359
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
356
360
|
|
357
361
|
options.apply_defaults timeout: @config.rpcs.import_apt_artifacts.timeout,
|
@@ -437,12 +441,13 @@ module Google
|
|
437
441
|
# Customize the options with defaults
|
438
442
|
call_metadata = @config.rpcs.import_yum_artifacts.metadata.to_h
|
439
443
|
|
440
|
-
# Set x-goog-api-client
|
444
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
441
445
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
442
446
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
443
447
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
444
448
|
transports_version_send: [:rest]
|
445
449
|
|
450
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
446
451
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
447
452
|
|
448
453
|
options.apply_defaults timeout: @config.rpcs.import_yum_artifacts.timeout,
|
@@ -524,12 +529,13 @@ module Google
|
|
524
529
|
# Customize the options with defaults
|
525
530
|
call_metadata = @config.rpcs.list_repositories.metadata.to_h
|
526
531
|
|
527
|
-
# Set x-goog-api-client
|
532
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
528
533
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
529
534
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
530
535
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
531
536
|
transports_version_send: [:rest]
|
532
537
|
|
538
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
533
539
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
534
540
|
|
535
541
|
options.apply_defaults timeout: @config.rpcs.list_repositories.timeout,
|
@@ -603,12 +609,13 @@ module Google
|
|
603
609
|
# Customize the options with defaults
|
604
610
|
call_metadata = @config.rpcs.get_repository.metadata.to_h
|
605
611
|
|
606
|
-
# Set x-goog-api-client
|
612
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
607
613
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
608
614
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
609
615
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
610
616
|
transports_version_send: [:rest]
|
611
617
|
|
618
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
612
619
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
613
620
|
|
614
621
|
options.apply_defaults timeout: @config.rpcs.get_repository.timeout,
|
@@ -693,12 +700,13 @@ module Google
|
|
693
700
|
# Customize the options with defaults
|
694
701
|
call_metadata = @config.rpcs.create_repository.metadata.to_h
|
695
702
|
|
696
|
-
# Set x-goog-api-client
|
703
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
697
704
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
698
705
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
699
706
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
700
707
|
transports_version_send: [:rest]
|
701
708
|
|
709
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
702
710
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
703
711
|
|
704
712
|
options.apply_defaults timeout: @config.rpcs.create_repository.timeout,
|
@@ -776,12 +784,13 @@ module Google
|
|
776
784
|
# Customize the options with defaults
|
777
785
|
call_metadata = @config.rpcs.update_repository.metadata.to_h
|
778
786
|
|
779
|
-
# Set x-goog-api-client
|
787
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
780
788
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
781
789
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
782
790
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
783
791
|
transports_version_send: [:rest]
|
784
792
|
|
793
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
785
794
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
786
795
|
|
787
796
|
options.apply_defaults timeout: @config.rpcs.update_repository.timeout,
|
@@ -863,12 +872,13 @@ module Google
|
|
863
872
|
# Customize the options with defaults
|
864
873
|
call_metadata = @config.rpcs.delete_repository.metadata.to_h
|
865
874
|
|
866
|
-
# Set x-goog-api-client
|
875
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
867
876
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
868
877
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
869
878
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
870
879
|
transports_version_send: [:rest]
|
871
880
|
|
881
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
872
882
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
873
883
|
|
874
884
|
options.apply_defaults timeout: @config.rpcs.delete_repository.timeout,
|
@@ -951,12 +961,13 @@ module Google
|
|
951
961
|
# Customize the options with defaults
|
952
962
|
call_metadata = @config.rpcs.list_packages.metadata.to_h
|
953
963
|
|
954
|
-
# Set x-goog-api-client
|
964
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
955
965
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
956
966
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
957
967
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
958
968
|
transports_version_send: [:rest]
|
959
969
|
|
970
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
960
971
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
961
972
|
|
962
973
|
options.apply_defaults timeout: @config.rpcs.list_packages.timeout,
|
@@ -1030,12 +1041,13 @@ module Google
|
|
1030
1041
|
# Customize the options with defaults
|
1031
1042
|
call_metadata = @config.rpcs.get_package.metadata.to_h
|
1032
1043
|
|
1033
|
-
# Set x-goog-api-client
|
1044
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1034
1045
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1035
1046
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1036
1047
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1037
1048
|
transports_version_send: [:rest]
|
1038
1049
|
|
1050
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1039
1051
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1040
1052
|
|
1041
1053
|
options.apply_defaults timeout: @config.rpcs.get_package.timeout,
|
@@ -1116,12 +1128,13 @@ module Google
|
|
1116
1128
|
# Customize the options with defaults
|
1117
1129
|
call_metadata = @config.rpcs.delete_package.metadata.to_h
|
1118
1130
|
|
1119
|
-
# Set x-goog-api-client
|
1131
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1120
1132
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1121
1133
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1122
1134
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1123
1135
|
transports_version_send: [:rest]
|
1124
1136
|
|
1137
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1125
1138
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1126
1139
|
|
1127
1140
|
options.apply_defaults timeout: @config.rpcs.delete_package.timeout,
|
@@ -1207,12 +1220,13 @@ module Google
|
|
1207
1220
|
# Customize the options with defaults
|
1208
1221
|
call_metadata = @config.rpcs.list_versions.metadata.to_h
|
1209
1222
|
|
1210
|
-
# Set x-goog-api-client
|
1223
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1211
1224
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1212
1225
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1213
1226
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1214
1227
|
transports_version_send: [:rest]
|
1215
1228
|
|
1229
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1216
1230
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1217
1231
|
|
1218
1232
|
options.apply_defaults timeout: @config.rpcs.list_versions.timeout,
|
@@ -1288,12 +1302,13 @@ module Google
|
|
1288
1302
|
# Customize the options with defaults
|
1289
1303
|
call_metadata = @config.rpcs.get_version.metadata.to_h
|
1290
1304
|
|
1291
|
-
# Set x-goog-api-client
|
1305
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1292
1306
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1293
1307
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1294
1308
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1295
1309
|
transports_version_send: [:rest]
|
1296
1310
|
|
1311
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1297
1312
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1298
1313
|
|
1299
1314
|
options.apply_defaults timeout: @config.rpcs.get_version.timeout,
|
@@ -1377,12 +1392,13 @@ module Google
|
|
1377
1392
|
# Customize the options with defaults
|
1378
1393
|
call_metadata = @config.rpcs.delete_version.metadata.to_h
|
1379
1394
|
|
1380
|
-
# Set x-goog-api-client
|
1395
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1381
1396
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1382
1397
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1383
1398
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1384
1399
|
transports_version_send: [:rest]
|
1385
1400
|
|
1401
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1386
1402
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1387
1403
|
|
1388
1404
|
options.apply_defaults timeout: @config.rpcs.delete_version.timeout,
|
@@ -1478,12 +1494,13 @@ module Google
|
|
1478
1494
|
# Customize the options with defaults
|
1479
1495
|
call_metadata = @config.rpcs.list_files.metadata.to_h
|
1480
1496
|
|
1481
|
-
# Set x-goog-api-client
|
1497
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1482
1498
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1483
1499
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1484
1500
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1485
1501
|
transports_version_send: [:rest]
|
1486
1502
|
|
1503
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1487
1504
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1488
1505
|
|
1489
1506
|
options.apply_defaults timeout: @config.rpcs.list_files.timeout,
|
@@ -1557,12 +1574,13 @@ module Google
|
|
1557
1574
|
# Customize the options with defaults
|
1558
1575
|
call_metadata = @config.rpcs.get_file.metadata.to_h
|
1559
1576
|
|
1560
|
-
# Set x-goog-api-client
|
1577
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1561
1578
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1562
1579
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1563
1580
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1564
1581
|
transports_version_send: [:rest]
|
1565
1582
|
|
1583
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1566
1584
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1567
1585
|
|
1568
1586
|
options.apply_defaults timeout: @config.rpcs.get_file.timeout,
|
@@ -1653,12 +1671,13 @@ module Google
|
|
1653
1671
|
# Customize the options with defaults
|
1654
1672
|
call_metadata = @config.rpcs.list_tags.metadata.to_h
|
1655
1673
|
|
1656
|
-
# Set x-goog-api-client
|
1674
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1657
1675
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1658
1676
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1659
1677
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1660
1678
|
transports_version_send: [:rest]
|
1661
1679
|
|
1680
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1662
1681
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1663
1682
|
|
1664
1683
|
options.apply_defaults timeout: @config.rpcs.list_tags.timeout,
|
@@ -1732,12 +1751,13 @@ module Google
|
|
1732
1751
|
# Customize the options with defaults
|
1733
1752
|
call_metadata = @config.rpcs.get_tag.metadata.to_h
|
1734
1753
|
|
1735
|
-
# Set x-goog-api-client
|
1754
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1736
1755
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1737
1756
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1738
1757
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1739
1758
|
transports_version_send: [:rest]
|
1740
1759
|
|
1760
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1741
1761
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1742
1762
|
|
1743
1763
|
options.apply_defaults timeout: @config.rpcs.get_tag.timeout,
|
@@ -1814,12 +1834,13 @@ module Google
|
|
1814
1834
|
# Customize the options with defaults
|
1815
1835
|
call_metadata = @config.rpcs.create_tag.metadata.to_h
|
1816
1836
|
|
1817
|
-
# Set x-goog-api-client
|
1837
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1818
1838
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1819
1839
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1820
1840
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1821
1841
|
transports_version_send: [:rest]
|
1822
1842
|
|
1843
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1823
1844
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1824
1845
|
|
1825
1846
|
options.apply_defaults timeout: @config.rpcs.create_tag.timeout,
|
@@ -1896,12 +1917,13 @@ module Google
|
|
1896
1917
|
# Customize the options with defaults
|
1897
1918
|
call_metadata = @config.rpcs.update_tag.metadata.to_h
|
1898
1919
|
|
1899
|
-
# Set x-goog-api-client
|
1920
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1900
1921
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1901
1922
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1902
1923
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1903
1924
|
transports_version_send: [:rest]
|
1904
1925
|
|
1926
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1905
1927
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1906
1928
|
|
1907
1929
|
options.apply_defaults timeout: @config.rpcs.update_tag.timeout,
|
@@ -1974,12 +1996,13 @@ module Google
|
|
1974
1996
|
# Customize the options with defaults
|
1975
1997
|
call_metadata = @config.rpcs.delete_tag.metadata.to_h
|
1976
1998
|
|
1977
|
-
# Set x-goog-api-client
|
1999
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1978
2000
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1979
2001
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1980
2002
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
1981
2003
|
transports_version_send: [:rest]
|
1982
2004
|
|
2005
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1983
2006
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1984
2007
|
|
1985
2008
|
options.apply_defaults timeout: @config.rpcs.delete_tag.timeout,
|
@@ -2064,12 +2087,13 @@ module Google
|
|
2064
2087
|
# Customize the options with defaults
|
2065
2088
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
2066
2089
|
|
2067
|
-
# Set x-goog-api-client
|
2090
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2068
2091
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2069
2092
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2070
2093
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
2071
2094
|
transports_version_send: [:rest]
|
2072
2095
|
|
2096
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2073
2097
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2074
2098
|
|
2075
2099
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -2146,12 +2170,13 @@ module Google
|
|
2146
2170
|
# Customize the options with defaults
|
2147
2171
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
2148
2172
|
|
2149
|
-
# Set x-goog-api-client
|
2173
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2150
2174
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2151
2175
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2152
2176
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
2153
2177
|
transports_version_send: [:rest]
|
2154
2178
|
|
2179
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2155
2180
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2156
2181
|
|
2157
2182
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -2230,12 +2255,13 @@ module Google
|
|
2230
2255
|
# Customize the options with defaults
|
2231
2256
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
2232
2257
|
|
2233
|
-
# Set x-goog-api-client
|
2258
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2234
2259
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2235
2260
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2236
2261
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
2237
2262
|
transports_version_send: [:rest]
|
2238
2263
|
|
2264
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2239
2265
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2240
2266
|
|
2241
2267
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -2308,12 +2334,13 @@ module Google
|
|
2308
2334
|
# Customize the options with defaults
|
2309
2335
|
call_metadata = @config.rpcs.get_project_settings.metadata.to_h
|
2310
2336
|
|
2311
|
-
# Set x-goog-api-client
|
2337
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2312
2338
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2313
2339
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2314
2340
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
2315
2341
|
transports_version_send: [:rest]
|
2316
2342
|
|
2343
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2317
2344
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2318
2345
|
|
2319
2346
|
options.apply_defaults timeout: @config.rpcs.get_project_settings.timeout,
|
@@ -2388,12 +2415,13 @@ module Google
|
|
2388
2415
|
# Customize the options with defaults
|
2389
2416
|
call_metadata = @config.rpcs.update_project_settings.metadata.to_h
|
2390
2417
|
|
2391
|
-
# Set x-goog-api-client
|
2418
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2392
2419
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2393
2420
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2394
2421
|
gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION,
|
2395
2422
|
transports_version_send: [:rest]
|
2396
2423
|
|
2424
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2397
2425
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2398
2426
|
|
2399
2427
|
options.apply_defaults timeout: @config.rpcs.update_project_settings.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::V1beta2::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::V1beta2::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::V1beta2::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::V1beta2::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-v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.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
|