google-cloud-artifact_registry-v1 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: 2b1cd1406a6ab800245d882522e1179d880f15180f62ecfa6fb0e67b24b47078
4
- data.tar.gz: cf7392cd66b0a2fd17e229032854651254a8223826955df1127a1c0c47fbcc11
3
+ metadata.gz: 7b6c48fd2aaa515c507c3f63d34ed96f709dcec1e536e2af5759f077cad775f2
4
+ data.tar.gz: 98568b9d1f22704b2e92575370c4735692aaeb1dbd3dc3a1944f78c799b039e1
5
5
  SHA512:
6
- metadata.gz: '0063021269602868849aa32ec5f09d3d50774ed2d777124ba44d359d4b66ab952fcd74d2c2b894ffbe3b1a98847eda9d768c55e06de58cab9271d847b4944302'
7
- data.tar.gz: 3e13632e56ec7a728b891f6196920ffd1eef493c314f40350dda9473b711b9030b30fc8aca7208d545d927cfabc2e8df4469dc62f79c6a22e2f79d44086f4198
6
+ metadata.gz: 6f2e48d087392376a2cce9b1e2c2957844647eb0b8326e2e6736507792a4cbeb5ec9cd46ccd1b7cee0137979bddd896e2695594b8fe55eb7f0ae69d5f0180d7e
7
+ data.tar.gz: 8019d4f39ad2df859bc0ed6153815b51dde8bd8c3261d9aa0cb86f998d6850b7ccc69033a93601a4fd2fde857aeb008d69f001372bb046ea04b0420936c7b138
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Artifact Registry V1 API
2
2
 
3
- API Client library for the Artifact Registry V1 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
 
@@ -233,13 +233,11 @@ module Google
233
233
  # # Call the list_docker_images method.
234
234
  # result = client.list_docker_images request
235
235
  #
236
- # # The returned object is of type Gapic::PagedEnumerable. You can
237
- # # iterate over all elements by calling #each, and the enumerable
238
- # # will lazily make API calls to fetch subsequent pages. Other
239
- # # methods are also available for managing paging directly.
240
- # result.each do |response|
236
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
237
+ # # over elements, and API calls will be issued to fetch pages as needed.
238
+ # result.each do |item|
241
239
  # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1::DockerImage.
242
- # p response
240
+ # p item
243
241
  # end
244
242
  #
245
243
  def list_docker_images request, options = nil
@@ -415,13 +413,11 @@ module Google
415
413
  # # Call the list_maven_artifacts method.
416
414
  # result = client.list_maven_artifacts request
417
415
  #
418
- # # The returned object is of type Gapic::PagedEnumerable. You can
419
- # # iterate over all elements by calling #each, and the enumerable
420
- # # will lazily make API calls to fetch subsequent pages. Other
421
- # # methods are also available for managing paging directly.
422
- # result.each do |response|
416
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
417
+ # # over elements, and API calls will be issued to fetch pages as needed.
418
+ # result.each do |item|
423
419
  # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1::MavenArtifact.
424
- # p response
420
+ # p item
425
421
  # end
426
422
  #
427
423
  def list_maven_artifacts request, options = nil
@@ -597,13 +593,11 @@ module Google
597
593
  # # Call the list_npm_packages method.
598
594
  # result = client.list_npm_packages request
599
595
  #
600
- # # The returned object is of type Gapic::PagedEnumerable. You can
601
- # # iterate over all elements by calling #each, and the enumerable
602
- # # will lazily make API calls to fetch subsequent pages. Other
603
- # # methods are also available for managing paging directly.
604
- # result.each do |response|
596
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
597
+ # # over elements, and API calls will be issued to fetch pages as needed.
598
+ # result.each do |item|
605
599
  # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1::NpmPackage.
606
- # p response
600
+ # p item
607
601
  # end
608
602
  #
609
603
  def list_npm_packages request, options = nil
@@ -779,13 +773,11 @@ module Google
779
773
  # # Call the list_python_packages method.
780
774
  # result = client.list_python_packages request
781
775
  #
782
- # # The returned object is of type Gapic::PagedEnumerable. You can
783
- # # iterate over all elements by calling #each, and the enumerable
784
- # # will lazily make API calls to fetch subsequent pages. Other
785
- # # methods are also available for managing paging directly.
786
- # result.each do |response|
776
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
777
+ # # over elements, and API calls will be issued to fetch pages as needed.
778
+ # result.each do |item|
787
779
  # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1::PythonPackage.
788
- # p response
780
+ # p item
789
781
  # end
790
782
  #
791
783
  def list_python_packages request, options = nil
@@ -961,14 +953,14 @@ module Google
961
953
  # # Call the import_apt_artifacts method.
962
954
  # result = client.import_apt_artifacts request
963
955
  #
964
- # # The returned object is of type Gapic::Operation. You can use this
965
- # # object to check the status of an operation, cancel it, or wait
966
- # # for results. Here is how to block until completion:
956
+ # # The returned object is of type Gapic::Operation. You can use it to
957
+ # # check the status of an operation, cancel it, or wait for results.
958
+ # # Here is how to wait for a response.
967
959
  # result.wait_until_done! timeout: 60
968
960
  # if result.response?
969
961
  # p result.response
970
962
  # else
971
- # puts "Error!"
963
+ # puts "No response received."
972
964
  # end
973
965
  #
974
966
  def import_apt_artifacts request, options = nil
@@ -1059,14 +1051,14 @@ module Google
1059
1051
  # # Call the import_yum_artifacts method.
1060
1052
  # result = client.import_yum_artifacts request
1061
1053
  #
1062
- # # The returned object is of type Gapic::Operation. You can use this
1063
- # # object to check the status of an operation, cancel it, or wait
1064
- # # for results. Here is how to block until completion:
1054
+ # # The returned object is of type Gapic::Operation. You can use it to
1055
+ # # check the status of an operation, cancel it, or wait for results.
1056
+ # # Here is how to wait for a response.
1065
1057
  # result.wait_until_done! timeout: 60
1066
1058
  # if result.response?
1067
1059
  # p result.response
1068
1060
  # else
1069
- # puts "Error!"
1061
+ # puts "No response received."
1070
1062
  # end
1071
1063
  #
1072
1064
  def import_yum_artifacts request, options = nil
@@ -1156,13 +1148,11 @@ module Google
1156
1148
  # # Call the list_repositories method.
1157
1149
  # result = client.list_repositories request
1158
1150
  #
1159
- # # The returned object is of type Gapic::PagedEnumerable. You can
1160
- # # iterate over all elements by calling #each, and the enumerable
1161
- # # will lazily make API calls to fetch subsequent pages. Other
1162
- # # methods are also available for managing paging directly.
1163
- # result.each do |response|
1151
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1152
+ # # over elements, and API calls will be issued to fetch pages as needed.
1153
+ # result.each do |item|
1164
1154
  # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1::Repository.
1165
- # p response
1155
+ # p item
1166
1156
  # end
1167
1157
  #
1168
1158
  def list_repositories request, options = nil
@@ -1338,14 +1328,14 @@ module Google
1338
1328
  # # Call the create_repository method.
1339
1329
  # result = client.create_repository request
1340
1330
  #
1341
- # # The returned object is of type Gapic::Operation. You can use this
1342
- # # object to check the status of an operation, cancel it, or wait
1343
- # # for results. Here is how to block until completion:
1331
+ # # The returned object is of type Gapic::Operation. You can use it to
1332
+ # # check the status of an operation, cancel it, or wait for results.
1333
+ # # Here is how to wait for a response.
1344
1334
  # result.wait_until_done! timeout: 60
1345
1335
  # if result.response?
1346
1336
  # p result.response
1347
1337
  # else
1348
- # puts "Error!"
1338
+ # puts "No response received."
1349
1339
  # end
1350
1340
  #
1351
1341
  def create_repository request, options = nil
@@ -1522,14 +1512,14 @@ module Google
1522
1512
  # # Call the delete_repository method.
1523
1513
  # result = client.delete_repository request
1524
1514
  #
1525
- # # The returned object is of type Gapic::Operation. You can use this
1526
- # # object to check the status of an operation, cancel it, or wait
1527
- # # for results. Here is how to block until completion:
1515
+ # # The returned object is of type Gapic::Operation. You can use it to
1516
+ # # check the status of an operation, cancel it, or wait for results.
1517
+ # # Here is how to wait for a response.
1528
1518
  # result.wait_until_done! timeout: 60
1529
1519
  # if result.response?
1530
1520
  # p result.response
1531
1521
  # else
1532
- # puts "Error!"
1522
+ # puts "No response received."
1533
1523
  # end
1534
1524
  #
1535
1525
  def delete_repository request, options = nil
@@ -1619,13 +1609,11 @@ module Google
1619
1609
  # # Call the list_packages method.
1620
1610
  # result = client.list_packages request
1621
1611
  #
1622
- # # The returned object is of type Gapic::PagedEnumerable. You can
1623
- # # iterate over all elements by calling #each, and the enumerable
1624
- # # will lazily make API calls to fetch subsequent pages. Other
1625
- # # methods are also available for managing paging directly.
1626
- # result.each do |response|
1612
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1613
+ # # over elements, and API calls will be issued to fetch pages as needed.
1614
+ # result.each do |item|
1627
1615
  # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1::Package.
1628
- # p response
1616
+ # p item
1629
1617
  # end
1630
1618
  #
1631
1619
  def list_packages request, options = nil
@@ -1797,14 +1785,14 @@ module Google
1797
1785
  # # Call the delete_package method.
1798
1786
  # result = client.delete_package request
1799
1787
  #
1800
- # # The returned object is of type Gapic::Operation. You can use this
1801
- # # object to check the status of an operation, cancel it, or wait
1802
- # # for results. Here is how to block until completion:
1788
+ # # The returned object is of type Gapic::Operation. You can use it to
1789
+ # # check the status of an operation, cancel it, or wait for results.
1790
+ # # Here is how to wait for a response.
1803
1791
  # result.wait_until_done! timeout: 60
1804
1792
  # if result.response?
1805
1793
  # p result.response
1806
1794
  # else
1807
- # puts "Error!"
1795
+ # puts "No response received."
1808
1796
  # end
1809
1797
  #
1810
1798
  def delete_package request, options = nil
@@ -1898,13 +1886,11 @@ module Google
1898
1886
  # # Call the list_versions method.
1899
1887
  # result = client.list_versions request
1900
1888
  #
1901
- # # The returned object is of type Gapic::PagedEnumerable. You can
1902
- # # iterate over all elements by calling #each, and the enumerable
1903
- # # will lazily make API calls to fetch subsequent pages. Other
1904
- # # methods are also available for managing paging directly.
1905
- # result.each do |response|
1889
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1890
+ # # over elements, and API calls will be issued to fetch pages as needed.
1891
+ # result.each do |item|
1906
1892
  # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1::Version.
1907
- # p response
1893
+ # p item
1908
1894
  # end
1909
1895
  #
1910
1896
  def list_versions request, options = nil
@@ -2081,14 +2067,14 @@ module Google
2081
2067
  # # Call the delete_version method.
2082
2068
  # result = client.delete_version request
2083
2069
  #
2084
- # # The returned object is of type Gapic::Operation. You can use this
2085
- # # object to check the status of an operation, cancel it, or wait
2086
- # # for results. Here is how to block until completion:
2070
+ # # The returned object is of type Gapic::Operation. You can use it to
2071
+ # # check the status of an operation, cancel it, or wait for results.
2072
+ # # Here is how to wait for a response.
2087
2073
  # result.wait_until_done! timeout: 60
2088
2074
  # if result.response?
2089
2075
  # p result.response
2090
2076
  # else
2091
- # puts "Error!"
2077
+ # puts "No response received."
2092
2078
  # end
2093
2079
  #
2094
2080
  def delete_version request, options = nil
@@ -2194,13 +2180,11 @@ module Google
2194
2180
  # # Call the list_files method.
2195
2181
  # result = client.list_files request
2196
2182
  #
2197
- # # The returned object is of type Gapic::PagedEnumerable. You can
2198
- # # iterate over all elements by calling #each, and the enumerable
2199
- # # will lazily make API calls to fetch subsequent pages. Other
2200
- # # methods are also available for managing paging directly.
2201
- # result.each do |response|
2183
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2184
+ # # over elements, and API calls will be issued to fetch pages as needed.
2185
+ # result.each do |item|
2202
2186
  # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1::File.
2203
- # p response
2187
+ # p item
2204
2188
  # end
2205
2189
  #
2206
2190
  def list_files request, options = nil
@@ -2385,13 +2369,11 @@ module Google
2385
2369
  # # Call the list_tags method.
2386
2370
  # result = client.list_tags request
2387
2371
  #
2388
- # # The returned object is of type Gapic::PagedEnumerable. You can
2389
- # # iterate over all elements by calling #each, and the enumerable
2390
- # # will lazily make API calls to fetch subsequent pages. Other
2391
- # # methods are also available for managing paging directly.
2392
- # result.each do |response|
2372
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2373
+ # # over elements, and API calls will be issued to fetch pages as needed.
2374
+ # result.each do |item|
2393
2375
  # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1::Tag.
2394
- # p response
2376
+ # p item
2395
2377
  # end
2396
2378
  #
2397
2379
  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