google-cloud-artifact_registry-v1beta2 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/client.rb +44 -54
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/operations.rb +12 -14
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/client.rb +2252 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/operations.rb +793 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/service_stub.rb +1532 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest.rb +66 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry.rb +6 -0
- data/lib/google/cloud/artifact_registry/v1beta2/bindings_override.rb +102 -0
- data/lib/google/cloud/artifact_registry/v1beta2/rest.rb +38 -0
- data/lib/google/cloud/artifact_registry/v1beta2/version.rb +1 -1
- data/lib/google/cloud/artifact_registry/v1beta2.rb +5 -0
- metadata +17 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 591d5599cbba021663b8e7a27dd6d3ebf7af290f6cd951e4773c4d84d3aa16e8
|
4
|
+
data.tar.gz: 2dbebbbf02537cd89fc01b65c0f577eb6eedd1a85a154e0e1d61a3c76ee5d29f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e6de1bd5d737401140bce64e107f72ae4db7b5976cc1bd48d07d0dbc1fef5068d7a63e20e3dfcfd91b71f18120f4b53a926d60bc2bc17ed768193d1c4c35d57
|
7
|
+
data.tar.gz: 10c4c210de3d333c1c3bd96b7dcedb010e522dd692dd068fe1478e2857afafc0d9572e58519b90fbfb5c7cc09214dd1dd1dccaf2af5ce449eda8dec2d1e485c6
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Artifact Registry V1beta2 API
|
2
2
|
|
3
|
-
|
3
|
+
Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.
|
4
4
|
|
5
5
|
Artifact Registry stores and manages build artifacts in a scalable and integrated service built on Google infrastructure.
|
6
6
|
|
@@ -314,14 +314,14 @@ module Google
|
|
314
314
|
# # Call the import_apt_artifacts method.
|
315
315
|
# result = client.import_apt_artifacts request
|
316
316
|
#
|
317
|
-
# # The returned object is of type Gapic::Operation. You can use
|
318
|
-
# #
|
319
|
-
# #
|
317
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
318
|
+
# # check the status of an operation, cancel it, or wait for results.
|
319
|
+
# # Here is how to wait for a response.
|
320
320
|
# result.wait_until_done! timeout: 60
|
321
321
|
# if result.response?
|
322
322
|
# p result.response
|
323
323
|
# else
|
324
|
-
# puts "
|
324
|
+
# puts "No response received."
|
325
325
|
# end
|
326
326
|
#
|
327
327
|
def import_apt_artifacts request, options = nil
|
@@ -412,14 +412,14 @@ module Google
|
|
412
412
|
# # Call the import_yum_artifacts method.
|
413
413
|
# result = client.import_yum_artifacts request
|
414
414
|
#
|
415
|
-
# # The returned object is of type Gapic::Operation. You can use
|
416
|
-
# #
|
417
|
-
# #
|
415
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
416
|
+
# # check the status of an operation, cancel it, or wait for results.
|
417
|
+
# # Here is how to wait for a response.
|
418
418
|
# result.wait_until_done! timeout: 60
|
419
419
|
# if result.response?
|
420
420
|
# p result.response
|
421
421
|
# else
|
422
|
-
# puts "
|
422
|
+
# puts "No response received."
|
423
423
|
# end
|
424
424
|
#
|
425
425
|
def import_yum_artifacts request, options = nil
|
@@ -509,13 +509,11 @@ module Google
|
|
509
509
|
# # Call the list_repositories method.
|
510
510
|
# result = client.list_repositories request
|
511
511
|
#
|
512
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
513
|
-
# #
|
514
|
-
#
|
515
|
-
# # methods are also available for managing paging directly.
|
516
|
-
# result.each do |response|
|
512
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
513
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
514
|
+
# result.each do |item|
|
517
515
|
# # Each element is of type ::Google::Cloud::ArtifactRegistry::V1beta2::Repository.
|
518
|
-
# p
|
516
|
+
# p item
|
519
517
|
# end
|
520
518
|
#
|
521
519
|
def list_repositories request, options = nil
|
@@ -691,14 +689,14 @@ module Google
|
|
691
689
|
# # Call the create_repository method.
|
692
690
|
# result = client.create_repository request
|
693
691
|
#
|
694
|
-
# # The returned object is of type Gapic::Operation. You can use
|
695
|
-
# #
|
696
|
-
# #
|
692
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
693
|
+
# # check the status of an operation, cancel it, or wait for results.
|
694
|
+
# # Here is how to wait for a response.
|
697
695
|
# result.wait_until_done! timeout: 60
|
698
696
|
# if result.response?
|
699
697
|
# p result.response
|
700
698
|
# else
|
701
|
-
# puts "
|
699
|
+
# puts "No response received."
|
702
700
|
# end
|
703
701
|
#
|
704
702
|
def create_repository request, options = nil
|
@@ -875,14 +873,14 @@ module Google
|
|
875
873
|
# # Call the delete_repository method.
|
876
874
|
# result = client.delete_repository request
|
877
875
|
#
|
878
|
-
# # The returned object is of type Gapic::Operation. You can use
|
879
|
-
# #
|
880
|
-
# #
|
876
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
877
|
+
# # check the status of an operation, cancel it, or wait for results.
|
878
|
+
# # Here is how to wait for a response.
|
881
879
|
# result.wait_until_done! timeout: 60
|
882
880
|
# if result.response?
|
883
881
|
# p result.response
|
884
882
|
# else
|
885
|
-
# puts "
|
883
|
+
# puts "No response received."
|
886
884
|
# end
|
887
885
|
#
|
888
886
|
def delete_repository request, options = nil
|
@@ -973,13 +971,11 @@ module Google
|
|
973
971
|
# # Call the list_packages method.
|
974
972
|
# result = client.list_packages request
|
975
973
|
#
|
976
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
977
|
-
# #
|
978
|
-
#
|
979
|
-
# # methods are also available for managing paging directly.
|
980
|
-
# result.each do |response|
|
974
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
975
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
976
|
+
# result.each do |item|
|
981
977
|
# # Each element is of type ::Google::Cloud::ArtifactRegistry::V1beta2::Package.
|
982
|
-
# p
|
978
|
+
# p item
|
983
979
|
# end
|
984
980
|
#
|
985
981
|
def list_packages request, options = nil
|
@@ -1151,14 +1147,14 @@ module Google
|
|
1151
1147
|
# # Call the delete_package method.
|
1152
1148
|
# result = client.delete_package request
|
1153
1149
|
#
|
1154
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1155
|
-
# #
|
1156
|
-
# #
|
1150
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1151
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1152
|
+
# # Here is how to wait for a response.
|
1157
1153
|
# result.wait_until_done! timeout: 60
|
1158
1154
|
# if result.response?
|
1159
1155
|
# p result.response
|
1160
1156
|
# else
|
1161
|
-
# puts "
|
1157
|
+
# puts "No response received."
|
1162
1158
|
# end
|
1163
1159
|
#
|
1164
1160
|
def delete_package request, options = nil
|
@@ -1252,13 +1248,11 @@ module Google
|
|
1252
1248
|
# # Call the list_versions method.
|
1253
1249
|
# result = client.list_versions request
|
1254
1250
|
#
|
1255
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1256
|
-
# #
|
1257
|
-
#
|
1258
|
-
# # methods are also available for managing paging directly.
|
1259
|
-
# result.each do |response|
|
1251
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1252
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1253
|
+
# result.each do |item|
|
1260
1254
|
# # Each element is of type ::Google::Cloud::ArtifactRegistry::V1beta2::Version.
|
1261
|
-
# p
|
1255
|
+
# p item
|
1262
1256
|
# end
|
1263
1257
|
#
|
1264
1258
|
def list_versions request, options = nil
|
@@ -1435,14 +1429,14 @@ module Google
|
|
1435
1429
|
# # Call the delete_version method.
|
1436
1430
|
# result = client.delete_version request
|
1437
1431
|
#
|
1438
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1439
|
-
# #
|
1440
|
-
# #
|
1432
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1433
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1434
|
+
# # Here is how to wait for a response.
|
1441
1435
|
# result.wait_until_done! timeout: 60
|
1442
1436
|
# if result.response?
|
1443
1437
|
# p result.response
|
1444
1438
|
# else
|
1445
|
-
# puts "
|
1439
|
+
# puts "No response received."
|
1446
1440
|
# end
|
1447
1441
|
#
|
1448
1442
|
def delete_version request, options = nil
|
@@ -1546,13 +1540,11 @@ module Google
|
|
1546
1540
|
# # Call the list_files method.
|
1547
1541
|
# result = client.list_files request
|
1548
1542
|
#
|
1549
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1550
|
-
# #
|
1551
|
-
#
|
1552
|
-
# # methods are also available for managing paging directly.
|
1553
|
-
# result.each do |response|
|
1543
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1544
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1545
|
+
# result.each do |item|
|
1554
1546
|
# # Each element is of type ::Google::Cloud::ArtifactRegistry::V1beta2::File.
|
1555
|
-
# p
|
1547
|
+
# p item
|
1556
1548
|
# end
|
1557
1549
|
#
|
1558
1550
|
def list_files request, options = nil
|
@@ -1737,13 +1729,11 @@ module Google
|
|
1737
1729
|
# # Call the list_tags method.
|
1738
1730
|
# result = client.list_tags request
|
1739
1731
|
#
|
1740
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1741
|
-
# #
|
1742
|
-
#
|
1743
|
-
# # methods are also available for managing paging directly.
|
1744
|
-
# result.each do |response|
|
1732
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1733
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1734
|
+
# result.each do |item|
|
1745
1735
|
# # Each element is of type ::Google::Cloud::ArtifactRegistry::V1beta2::Tag.
|
1746
|
-
# p
|
1736
|
+
# p item
|
1747
1737
|
# end
|
1748
1738
|
#
|
1749
1739
|
def list_tags request, options = nil
|
@@ -158,13 +158,11 @@ module Google
|
|
158
158
|
# # Call the list_operations method.
|
159
159
|
# result = client.list_operations request
|
160
160
|
#
|
161
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
162
|
-
# #
|
163
|
-
#
|
164
|
-
# # methods are also available for managing paging directly.
|
165
|
-
# result.each do |response|
|
161
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
162
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
163
|
+
# result.each do |item|
|
166
164
|
# # Each element is of type ::Google::Longrunning::Operation.
|
167
|
-
# p
|
165
|
+
# p item
|
168
166
|
# end
|
169
167
|
#
|
170
168
|
def list_operations request, options = nil
|
@@ -253,14 +251,14 @@ module Google
|
|
253
251
|
# # Call the get_operation method.
|
254
252
|
# result = client.get_operation request
|
255
253
|
#
|
256
|
-
# # The returned object is of type Gapic::Operation. You can use
|
257
|
-
# #
|
258
|
-
# #
|
254
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
255
|
+
# # check the status of an operation, cancel it, or wait for results.
|
256
|
+
# # Here is how to wait for a response.
|
259
257
|
# result.wait_until_done! timeout: 60
|
260
258
|
# if result.response?
|
261
259
|
# p result.response
|
262
260
|
# else
|
263
|
-
# puts "
|
261
|
+
# puts "No response received."
|
264
262
|
# end
|
265
263
|
#
|
266
264
|
def get_operation request, options = nil
|
@@ -540,14 +538,14 @@ module Google
|
|
540
538
|
# # Call the wait_operation method.
|
541
539
|
# result = client.wait_operation request
|
542
540
|
#
|
543
|
-
# # The returned object is of type Gapic::Operation. You can use
|
544
|
-
# #
|
545
|
-
# #
|
541
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
542
|
+
# # check the status of an operation, cancel it, or wait for results.
|
543
|
+
# # Here is how to wait for a response.
|
546
544
|
# result.wait_until_done! timeout: 60
|
547
545
|
# if result.response?
|
548
546
|
# p result.response
|
549
547
|
# else
|
550
|
-
# puts "
|
548
|
+
# puts "No response received."
|
551
549
|
# end
|
552
550
|
#
|
553
551
|
def wait_operation request, options = nil
|