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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b5c8b29cc705d4b3e604082f023ed454e8e34ea3af782139e621b9147d2aaf8
4
- data.tar.gz: 843d991d3068e9a4217e0285c8d293d08413338c550201d4f1456a54f36ffa09
3
+ metadata.gz: 591d5599cbba021663b8e7a27dd6d3ebf7af290f6cd951e4773c4d84d3aa16e8
4
+ data.tar.gz: 2dbebbbf02537cd89fc01b65c0f577eb6eedd1a85a154e0e1d61a3c76ee5d29f
5
5
  SHA512:
6
- metadata.gz: 8858d325c437a45e8f5aa8bf30b23ccc1aeb4693e32f1f233e568c42c045081ad8774f69c23120b2c688b3392fa247ab8ba31e95723e3cec0475003a7a2e55f3
7
- data.tar.gz: 24150e7c8d03dbba16a094626243d8b1d66cb3cb87bddbf5009f4a0e91c2d2c99cfff1fec5329d717be286cec94d25f515a5326f35f7b7fb53e33609b57a53f8
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
- API Client library for the Artifact Registry V1beta2 API
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 this
318
- # # object to check the status of an operation, cancel it, or wait
319
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
416
- # # object to check the status of an operation, cancel it, or wait
417
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # iterate over all elements by calling #each, and the enumerable
514
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
695
- # # object to check the status of an operation, cancel it, or wait
696
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
879
- # # object to check the status of an operation, cancel it, or wait
880
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # iterate over all elements by calling #each, and the enumerable
978
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
1155
- # # object to check the status of an operation, cancel it, or wait
1156
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # iterate over all elements by calling #each, and the enumerable
1257
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
1439
- # # object to check the status of an operation, cancel it, or wait
1440
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # iterate over all elements by calling #each, and the enumerable
1551
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # iterate over all elements by calling #each, and the enumerable
1742
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # iterate over all elements by calling #each, and the enumerable
163
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
257
- # # object to check the status of an operation, cancel it, or wait
258
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
544
- # # object to check the status of an operation, cancel it, or wait
545
- # # for results. Here is how to block until completion:
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 "Error!"
548
+ # puts "No response received."
551
549
  # end
552
550
  #
553
551
  def wait_operation request, options = nil