google-cloud-artifact_registry-v1beta2 0.3.4 → 0.3.5

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: ca8be383e339507219502c6ba47a331ce25fb6d38bb25999833245e0945a36be
4
- data.tar.gz: af12154f14d791662b27c3fc7586322a14ce61386da86343773c11c888987600
3
+ metadata.gz: f7d521d97b3c792e1239c76648c3cbc6c0712a27bb348d5224f14b11f7ef3eca
4
+ data.tar.gz: f8da2779c9d9d3e71bee6fab9a55899ae80a4443c79588a82078045f4a2d3340
5
5
  SHA512:
6
- metadata.gz: c8e8d6d95085eddb7915ff481d91ffbc8085b0f1a2ba58119de7e020a4ca2a4f6d63a7417adb4f322a0a4a8b74b1bf241b561e26376f5956618cd4e70e2172a5
7
- data.tar.gz: 6cfd17c4d55a0ec5788abf690f7c317b1fe6d965ea81e11867c3743e626da67365c4773166b63b0b5e8ac99924f9e83fee997e09613fe94f9405f3588841e933
6
+ metadata.gz: 016f1afee7ddfdfa3f01f45639d2b73f1c68af03fe5ce3f95e80d71dc09dcb2f0220342fecc9578e0e300a3916922c8b8b22fe0645959d2cc169f02aa0cf6b0d
7
+ data.tar.gz: 4629c7745f1a5f3a18b4f45adc955729c44bdb6268ad6a96068c71fda07c62f35eb11dd31d2a0627f1ee4f525a39d3769dc14f6ddf1c92ed7dcf4a9544f8abb8
@@ -287,6 +287,27 @@ module Google
287
287
  #
288
288
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
289
289
  #
290
+ # @example Basic example
291
+ # require "google/cloud/artifact_registry/v1beta2"
292
+ #
293
+ # # Create a client object. The client can be reused for multiple calls.
294
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
295
+ #
296
+ # # Create a request. To set request fields, pass in keyword arguments.
297
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::ListRepositoriesRequest.new
298
+ #
299
+ # # Call the list_repositories method.
300
+ # result = client.list_repositories request
301
+ #
302
+ # # The returned object is of type Gapic::PagedEnumerable. You can
303
+ # # iterate over all elements by calling #each, and the enumerable
304
+ # # will lazily make API calls to fetch subsequent pages. Other
305
+ # # methods are also available for managing paging directly.
306
+ # result.each do |response|
307
+ # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1beta2::Repository.
308
+ # p response
309
+ # end
310
+ #
290
311
  def list_repositories request, options = nil
291
312
  raise ::ArgumentError, "request must be provided" if request.nil?
292
313
 
@@ -304,9 +325,11 @@ module Google
304
325
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
305
326
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
306
327
 
307
- header_params = {
308
- "parent" => request.parent
309
- }
328
+ header_params = {}
329
+ if request.parent
330
+ header_params["parent"] = request.parent
331
+ end
332
+
310
333
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
311
334
  metadata[:"x-goog-request-params"] ||= request_params_header
312
335
 
@@ -356,6 +379,21 @@ module Google
356
379
  #
357
380
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
358
381
  #
382
+ # @example Basic example
383
+ # require "google/cloud/artifact_registry/v1beta2"
384
+ #
385
+ # # Create a client object. The client can be reused for multiple calls.
386
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
387
+ #
388
+ # # Create a request. To set request fields, pass in keyword arguments.
389
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::GetRepositoryRequest.new
390
+ #
391
+ # # Call the get_repository method.
392
+ # result = client.get_repository request
393
+ #
394
+ # # The returned object is of type Google::Cloud::ArtifactRegistry::V1beta2::Repository.
395
+ # p result
396
+ #
359
397
  def get_repository request, options = nil
360
398
  raise ::ArgumentError, "request must be provided" if request.nil?
361
399
 
@@ -373,9 +411,11 @@ module Google
373
411
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
374
412
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
375
413
 
376
- header_params = {
377
- "name" => request.name
378
- }
414
+ header_params = {}
415
+ if request.name
416
+ header_params["name"] = request.name
417
+ end
418
+
379
419
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
380
420
  metadata[:"x-goog-request-params"] ||= request_params_header
381
421
 
@@ -429,6 +469,28 @@ module Google
429
469
  #
430
470
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
431
471
  #
472
+ # @example Basic example
473
+ # require "google/cloud/artifact_registry/v1beta2"
474
+ #
475
+ # # Create a client object. The client can be reused for multiple calls.
476
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
477
+ #
478
+ # # Create a request. To set request fields, pass in keyword arguments.
479
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::CreateRepositoryRequest.new
480
+ #
481
+ # # Call the create_repository method.
482
+ # result = client.create_repository request
483
+ #
484
+ # # The returned object is of type Gapic::Operation. You can use this
485
+ # # object to check the status of an operation, cancel it, or wait
486
+ # # for results. Here is how to block until completion:
487
+ # result.wait_until_done! timeout: 60
488
+ # if result.response?
489
+ # p result.response
490
+ # else
491
+ # puts "Error!"
492
+ # end
493
+ #
432
494
  def create_repository request, options = nil
433
495
  raise ::ArgumentError, "request must be provided" if request.nil?
434
496
 
@@ -446,9 +508,11 @@ module Google
446
508
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
447
509
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
510
 
449
- header_params = {
450
- "parent" => request.parent
451
- }
511
+ header_params = {}
512
+ if request.parent
513
+ header_params["parent"] = request.parent
514
+ end
515
+
452
516
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
453
517
  metadata[:"x-goog-request-params"] ||= request_params_header
454
518
 
@@ -502,6 +566,21 @@ module Google
502
566
  #
503
567
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
504
568
  #
569
+ # @example Basic example
570
+ # require "google/cloud/artifact_registry/v1beta2"
571
+ #
572
+ # # Create a client object. The client can be reused for multiple calls.
573
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
574
+ #
575
+ # # Create a request. To set request fields, pass in keyword arguments.
576
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::UpdateRepositoryRequest.new
577
+ #
578
+ # # Call the update_repository method.
579
+ # result = client.update_repository request
580
+ #
581
+ # # The returned object is of type Google::Cloud::ArtifactRegistry::V1beta2::Repository.
582
+ # p result
583
+ #
505
584
  def update_repository request, options = nil
506
585
  raise ::ArgumentError, "request must be provided" if request.nil?
507
586
 
@@ -519,9 +598,11 @@ module Google
519
598
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
520
599
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
521
600
 
522
- header_params = {
523
- "repository.name" => request.repository.name
524
- }
601
+ header_params = {}
602
+ if request.repository&.name
603
+ header_params["repository.name"] = request.repository.name
604
+ end
605
+
525
606
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
526
607
  metadata[:"x-goog-request-params"] ||= request_params_header
527
608
 
@@ -572,6 +653,28 @@ module Google
572
653
  #
573
654
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
574
655
  #
656
+ # @example Basic example
657
+ # require "google/cloud/artifact_registry/v1beta2"
658
+ #
659
+ # # Create a client object. The client can be reused for multiple calls.
660
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
661
+ #
662
+ # # Create a request. To set request fields, pass in keyword arguments.
663
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::DeleteRepositoryRequest.new
664
+ #
665
+ # # Call the delete_repository method.
666
+ # result = client.delete_repository request
667
+ #
668
+ # # The returned object is of type Gapic::Operation. You can use this
669
+ # # object to check the status of an operation, cancel it, or wait
670
+ # # for results. Here is how to block until completion:
671
+ # result.wait_until_done! timeout: 60
672
+ # if result.response?
673
+ # p result.response
674
+ # else
675
+ # puts "Error!"
676
+ # end
677
+ #
575
678
  def delete_repository request, options = nil
576
679
  raise ::ArgumentError, "request must be provided" if request.nil?
577
680
 
@@ -589,9 +692,11 @@ module Google
589
692
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
590
693
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
591
694
 
592
- header_params = {
593
- "name" => request.name
594
- }
695
+ header_params = {}
696
+ if request.name
697
+ header_params["name"] = request.name
698
+ end
699
+
595
700
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
596
701
  metadata[:"x-goog-request-params"] ||= request_params_header
597
702
 
@@ -646,6 +751,27 @@ module Google
646
751
  #
647
752
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
648
753
  #
754
+ # @example Basic example
755
+ # require "google/cloud/artifact_registry/v1beta2"
756
+ #
757
+ # # Create a client object. The client can be reused for multiple calls.
758
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
759
+ #
760
+ # # Create a request. To set request fields, pass in keyword arguments.
761
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::ListPackagesRequest.new
762
+ #
763
+ # # Call the list_packages method.
764
+ # result = client.list_packages request
765
+ #
766
+ # # The returned object is of type Gapic::PagedEnumerable. You can
767
+ # # iterate over all elements by calling #each, and the enumerable
768
+ # # will lazily make API calls to fetch subsequent pages. Other
769
+ # # methods are also available for managing paging directly.
770
+ # result.each do |response|
771
+ # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1beta2::Package.
772
+ # p response
773
+ # end
774
+ #
649
775
  def list_packages request, options = nil
650
776
  raise ::ArgumentError, "request must be provided" if request.nil?
651
777
 
@@ -663,9 +789,11 @@ module Google
663
789
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
664
790
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
665
791
 
666
- header_params = {
667
- "parent" => request.parent
668
- }
792
+ header_params = {}
793
+ if request.parent
794
+ header_params["parent"] = request.parent
795
+ end
796
+
669
797
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
670
798
  metadata[:"x-goog-request-params"] ||= request_params_header
671
799
 
@@ -715,6 +843,21 @@ module Google
715
843
  #
716
844
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
717
845
  #
846
+ # @example Basic example
847
+ # require "google/cloud/artifact_registry/v1beta2"
848
+ #
849
+ # # Create a client object. The client can be reused for multiple calls.
850
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
851
+ #
852
+ # # Create a request. To set request fields, pass in keyword arguments.
853
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::GetPackageRequest.new
854
+ #
855
+ # # Call the get_package method.
856
+ # result = client.get_package request
857
+ #
858
+ # # The returned object is of type Google::Cloud::ArtifactRegistry::V1beta2::Package.
859
+ # p result
860
+ #
718
861
  def get_package request, options = nil
719
862
  raise ::ArgumentError, "request must be provided" if request.nil?
720
863
 
@@ -732,9 +875,11 @@ module Google
732
875
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
733
876
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
734
877
 
735
- header_params = {
736
- "name" => request.name
737
- }
878
+ header_params = {}
879
+ if request.name
880
+ header_params["name"] = request.name
881
+ end
882
+
738
883
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
739
884
  metadata[:"x-goog-request-params"] ||= request_params_header
740
885
 
@@ -784,6 +929,28 @@ module Google
784
929
  #
785
930
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
786
931
  #
932
+ # @example Basic example
933
+ # require "google/cloud/artifact_registry/v1beta2"
934
+ #
935
+ # # Create a client object. The client can be reused for multiple calls.
936
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
937
+ #
938
+ # # Create a request. To set request fields, pass in keyword arguments.
939
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::DeletePackageRequest.new
940
+ #
941
+ # # Call the delete_package method.
942
+ # result = client.delete_package request
943
+ #
944
+ # # The returned object is of type Gapic::Operation. You can use this
945
+ # # object to check the status of an operation, cancel it, or wait
946
+ # # for results. Here is how to block until completion:
947
+ # result.wait_until_done! timeout: 60
948
+ # if result.response?
949
+ # p result.response
950
+ # else
951
+ # puts "Error!"
952
+ # end
953
+ #
787
954
  def delete_package request, options = nil
788
955
  raise ::ArgumentError, "request must be provided" if request.nil?
789
956
 
@@ -801,9 +968,11 @@ module Google
801
968
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
802
969
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
803
970
 
804
- header_params = {
805
- "name" => request.name
806
- }
971
+ header_params = {}
972
+ if request.name
973
+ header_params["name"] = request.name
974
+ end
975
+
807
976
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
808
977
  metadata[:"x-goog-request-params"] ||= request_params_header
809
978
 
@@ -860,6 +1029,27 @@ module Google
860
1029
  #
861
1030
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
862
1031
  #
1032
+ # @example Basic example
1033
+ # require "google/cloud/artifact_registry/v1beta2"
1034
+ #
1035
+ # # Create a client object. The client can be reused for multiple calls.
1036
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
1037
+ #
1038
+ # # Create a request. To set request fields, pass in keyword arguments.
1039
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::ListVersionsRequest.new
1040
+ #
1041
+ # # Call the list_versions method.
1042
+ # result = client.list_versions request
1043
+ #
1044
+ # # The returned object is of type Gapic::PagedEnumerable. You can
1045
+ # # iterate over all elements by calling #each, and the enumerable
1046
+ # # will lazily make API calls to fetch subsequent pages. Other
1047
+ # # methods are also available for managing paging directly.
1048
+ # result.each do |response|
1049
+ # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1beta2::Version.
1050
+ # p response
1051
+ # end
1052
+ #
863
1053
  def list_versions request, options = nil
864
1054
  raise ::ArgumentError, "request must be provided" if request.nil?
865
1055
 
@@ -877,9 +1067,11 @@ module Google
877
1067
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
878
1068
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
879
1069
 
880
- header_params = {
881
- "parent" => request.parent
882
- }
1070
+ header_params = {}
1071
+ if request.parent
1072
+ header_params["parent"] = request.parent
1073
+ end
1074
+
883
1075
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
884
1076
  metadata[:"x-goog-request-params"] ||= request_params_header
885
1077
 
@@ -931,6 +1123,21 @@ module Google
931
1123
  #
932
1124
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
933
1125
  #
1126
+ # @example Basic example
1127
+ # require "google/cloud/artifact_registry/v1beta2"
1128
+ #
1129
+ # # Create a client object. The client can be reused for multiple calls.
1130
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
1131
+ #
1132
+ # # Create a request. To set request fields, pass in keyword arguments.
1133
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::GetVersionRequest.new
1134
+ #
1135
+ # # Call the get_version method.
1136
+ # result = client.get_version request
1137
+ #
1138
+ # # The returned object is of type Google::Cloud::ArtifactRegistry::V1beta2::Version.
1139
+ # p result
1140
+ #
934
1141
  def get_version request, options = nil
935
1142
  raise ::ArgumentError, "request must be provided" if request.nil?
936
1143
 
@@ -948,9 +1155,11 @@ module Google
948
1155
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
949
1156
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
950
1157
 
951
- header_params = {
952
- "name" => request.name
953
- }
1158
+ header_params = {}
1159
+ if request.name
1160
+ header_params["name"] = request.name
1161
+ end
1162
+
954
1163
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
955
1164
  metadata[:"x-goog-request-params"] ||= request_params_header
956
1165
 
@@ -1003,6 +1212,28 @@ module Google
1003
1212
  #
1004
1213
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1005
1214
  #
1215
+ # @example Basic example
1216
+ # require "google/cloud/artifact_registry/v1beta2"
1217
+ #
1218
+ # # Create a client object. The client can be reused for multiple calls.
1219
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
1220
+ #
1221
+ # # Create a request. To set request fields, pass in keyword arguments.
1222
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::DeleteVersionRequest.new
1223
+ #
1224
+ # # Call the delete_version method.
1225
+ # result = client.delete_version request
1226
+ #
1227
+ # # The returned object is of type Gapic::Operation. You can use this
1228
+ # # object to check the status of an operation, cancel it, or wait
1229
+ # # for results. Here is how to block until completion:
1230
+ # result.wait_until_done! timeout: 60
1231
+ # if result.response?
1232
+ # p result.response
1233
+ # else
1234
+ # puts "Error!"
1235
+ # end
1236
+ #
1006
1237
  def delete_version request, options = nil
1007
1238
  raise ::ArgumentError, "request must be provided" if request.nil?
1008
1239
 
@@ -1020,9 +1251,11 @@ module Google
1020
1251
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
1021
1252
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1022
1253
 
1023
- header_params = {
1024
- "name" => request.name
1025
- }
1254
+ header_params = {}
1255
+ if request.name
1256
+ header_params["name"] = request.name
1257
+ end
1258
+
1026
1259
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1027
1260
  metadata[:"x-goog-request-params"] ||= request_params_header
1028
1261
 
@@ -1089,6 +1322,27 @@ module Google
1089
1322
  #
1090
1323
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1091
1324
  #
1325
+ # @example Basic example
1326
+ # require "google/cloud/artifact_registry/v1beta2"
1327
+ #
1328
+ # # Create a client object. The client can be reused for multiple calls.
1329
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
1330
+ #
1331
+ # # Create a request. To set request fields, pass in keyword arguments.
1332
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::ListFilesRequest.new
1333
+ #
1334
+ # # Call the list_files method.
1335
+ # result = client.list_files request
1336
+ #
1337
+ # # The returned object is of type Gapic::PagedEnumerable. You can
1338
+ # # iterate over all elements by calling #each, and the enumerable
1339
+ # # will lazily make API calls to fetch subsequent pages. Other
1340
+ # # methods are also available for managing paging directly.
1341
+ # result.each do |response|
1342
+ # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1beta2::File.
1343
+ # p response
1344
+ # end
1345
+ #
1092
1346
  def list_files request, options = nil
1093
1347
  raise ::ArgumentError, "request must be provided" if request.nil?
1094
1348
 
@@ -1106,9 +1360,11 @@ module Google
1106
1360
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
1107
1361
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1108
1362
 
1109
- header_params = {
1110
- "parent" => request.parent
1111
- }
1363
+ header_params = {}
1364
+ if request.parent
1365
+ header_params["parent"] = request.parent
1366
+ end
1367
+
1112
1368
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1113
1369
  metadata[:"x-goog-request-params"] ||= request_params_header
1114
1370
 
@@ -1158,6 +1414,21 @@ module Google
1158
1414
  #
1159
1415
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1160
1416
  #
1417
+ # @example Basic example
1418
+ # require "google/cloud/artifact_registry/v1beta2"
1419
+ #
1420
+ # # Create a client object. The client can be reused for multiple calls.
1421
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
1422
+ #
1423
+ # # Create a request. To set request fields, pass in keyword arguments.
1424
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::GetFileRequest.new
1425
+ #
1426
+ # # Call the get_file method.
1427
+ # result = client.get_file request
1428
+ #
1429
+ # # The returned object is of type Google::Cloud::ArtifactRegistry::V1beta2::File.
1430
+ # p result
1431
+ #
1161
1432
  def get_file request, options = nil
1162
1433
  raise ::ArgumentError, "request must be provided" if request.nil?
1163
1434
 
@@ -1175,9 +1446,11 @@ module Google
1175
1446
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
1176
1447
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1177
1448
 
1178
- header_params = {
1179
- "name" => request.name
1180
- }
1449
+ header_params = {}
1450
+ if request.name
1451
+ header_params["name"] = request.name
1452
+ end
1453
+
1181
1454
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1182
1455
  metadata[:"x-goog-request-params"] ||= request_params_header
1183
1456
 
@@ -1241,6 +1514,27 @@ module Google
1241
1514
  #
1242
1515
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1243
1516
  #
1517
+ # @example Basic example
1518
+ # require "google/cloud/artifact_registry/v1beta2"
1519
+ #
1520
+ # # Create a client object. The client can be reused for multiple calls.
1521
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
1522
+ #
1523
+ # # Create a request. To set request fields, pass in keyword arguments.
1524
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::ListTagsRequest.new
1525
+ #
1526
+ # # Call the list_tags method.
1527
+ # result = client.list_tags request
1528
+ #
1529
+ # # The returned object is of type Gapic::PagedEnumerable. You can
1530
+ # # iterate over all elements by calling #each, and the enumerable
1531
+ # # will lazily make API calls to fetch subsequent pages. Other
1532
+ # # methods are also available for managing paging directly.
1533
+ # result.each do |response|
1534
+ # # Each element is of type ::Google::Cloud::ArtifactRegistry::V1beta2::Tag.
1535
+ # p response
1536
+ # end
1537
+ #
1244
1538
  def list_tags request, options = nil
1245
1539
  raise ::ArgumentError, "request must be provided" if request.nil?
1246
1540
 
@@ -1258,9 +1552,11 @@ module Google
1258
1552
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
1259
1553
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1260
1554
 
1261
- header_params = {
1262
- "parent" => request.parent
1263
- }
1555
+ header_params = {}
1556
+ if request.parent
1557
+ header_params["parent"] = request.parent
1558
+ end
1559
+
1264
1560
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1265
1561
  metadata[:"x-goog-request-params"] ||= request_params_header
1266
1562
 
@@ -1310,6 +1606,21 @@ module Google
1310
1606
  #
1311
1607
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1312
1608
  #
1609
+ # @example Basic example
1610
+ # require "google/cloud/artifact_registry/v1beta2"
1611
+ #
1612
+ # # Create a client object. The client can be reused for multiple calls.
1613
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
1614
+ #
1615
+ # # Create a request. To set request fields, pass in keyword arguments.
1616
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::GetTagRequest.new
1617
+ #
1618
+ # # Call the get_tag method.
1619
+ # result = client.get_tag request
1620
+ #
1621
+ # # The returned object is of type Google::Cloud::ArtifactRegistry::V1beta2::Tag.
1622
+ # p result
1623
+ #
1313
1624
  def get_tag request, options = nil
1314
1625
  raise ::ArgumentError, "request must be provided" if request.nil?
1315
1626
 
@@ -1327,9 +1638,11 @@ module Google
1327
1638
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
1328
1639
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1329
1640
 
1330
- header_params = {
1331
- "name" => request.name
1332
- }
1641
+ header_params = {}
1642
+ if request.name
1643
+ header_params["name"] = request.name
1644
+ end
1645
+
1333
1646
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1334
1647
  metadata[:"x-goog-request-params"] ||= request_params_header
1335
1648
 
@@ -1382,6 +1695,21 @@ module Google
1382
1695
  #
1383
1696
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1384
1697
  #
1698
+ # @example Basic example
1699
+ # require "google/cloud/artifact_registry/v1beta2"
1700
+ #
1701
+ # # Create a client object. The client can be reused for multiple calls.
1702
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
1703
+ #
1704
+ # # Create a request. To set request fields, pass in keyword arguments.
1705
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::CreateTagRequest.new
1706
+ #
1707
+ # # Call the create_tag method.
1708
+ # result = client.create_tag request
1709
+ #
1710
+ # # The returned object is of type Google::Cloud::ArtifactRegistry::V1beta2::Tag.
1711
+ # p result
1712
+ #
1385
1713
  def create_tag request, options = nil
1386
1714
  raise ::ArgumentError, "request must be provided" if request.nil?
1387
1715
 
@@ -1399,9 +1727,11 @@ module Google
1399
1727
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
1400
1728
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1401
1729
 
1402
- header_params = {
1403
- "parent" => request.parent
1404
- }
1730
+ header_params = {}
1731
+ if request.parent
1732
+ header_params["parent"] = request.parent
1733
+ end
1734
+
1405
1735
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1406
1736
  metadata[:"x-goog-request-params"] ||= request_params_header
1407
1737
 
@@ -1454,6 +1784,21 @@ module Google
1454
1784
  #
1455
1785
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1456
1786
  #
1787
+ # @example Basic example
1788
+ # require "google/cloud/artifact_registry/v1beta2"
1789
+ #
1790
+ # # Create a client object. The client can be reused for multiple calls.
1791
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
1792
+ #
1793
+ # # Create a request. To set request fields, pass in keyword arguments.
1794
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::UpdateTagRequest.new
1795
+ #
1796
+ # # Call the update_tag method.
1797
+ # result = client.update_tag request
1798
+ #
1799
+ # # The returned object is of type Google::Cloud::ArtifactRegistry::V1beta2::Tag.
1800
+ # p result
1801
+ #
1457
1802
  def update_tag request, options = nil
1458
1803
  raise ::ArgumentError, "request must be provided" if request.nil?
1459
1804
 
@@ -1471,9 +1816,11 @@ module Google
1471
1816
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
1472
1817
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1473
1818
 
1474
- header_params = {
1475
- "tag.name" => request.tag.name
1476
- }
1819
+ header_params = {}
1820
+ if request.tag&.name
1821
+ header_params["tag.name"] = request.tag.name
1822
+ end
1823
+
1477
1824
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1478
1825
  metadata[:"x-goog-request-params"] ||= request_params_header
1479
1826
 
@@ -1522,6 +1869,21 @@ module Google
1522
1869
  #
1523
1870
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1524
1871
  #
1872
+ # @example Basic example
1873
+ # require "google/cloud/artifact_registry/v1beta2"
1874
+ #
1875
+ # # Create a client object. The client can be reused for multiple calls.
1876
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
1877
+ #
1878
+ # # Create a request. To set request fields, pass in keyword arguments.
1879
+ # request = Google::Cloud::ArtifactRegistry::V1beta2::DeleteTagRequest.new
1880
+ #
1881
+ # # Call the delete_tag method.
1882
+ # result = client.delete_tag request
1883
+ #
1884
+ # # The returned object is of type Google::Protobuf::Empty.
1885
+ # p result
1886
+ #
1525
1887
  def delete_tag request, options = nil
1526
1888
  raise ::ArgumentError, "request must be provided" if request.nil?
1527
1889
 
@@ -1539,9 +1901,11 @@ module Google
1539
1901
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
1540
1902
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1541
1903
 
1542
- header_params = {
1543
- "name" => request.name
1544
- }
1904
+ header_params = {}
1905
+ if request.name
1906
+ header_params["name"] = request.name
1907
+ end
1908
+
1545
1909
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1546
1910
  metadata[:"x-goog-request-params"] ||= request_params_header
1547
1911
 
@@ -1596,6 +1960,21 @@ module Google
1596
1960
  #
1597
1961
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1598
1962
  #
1963
+ # @example Basic example
1964
+ # require "google/cloud/artifact_registry/v1beta2"
1965
+ #
1966
+ # # Create a client object. The client can be reused for multiple calls.
1967
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
1968
+ #
1969
+ # # Create a request. To set request fields, pass in keyword arguments.
1970
+ # request = Google::Iam::V1::SetIamPolicyRequest.new
1971
+ #
1972
+ # # Call the set_iam_policy method.
1973
+ # result = client.set_iam_policy request
1974
+ #
1975
+ # # The returned object is of type Google::Iam::V1::Policy.
1976
+ # p result
1977
+ #
1599
1978
  def set_iam_policy request, options = nil
1600
1979
  raise ::ArgumentError, "request must be provided" if request.nil?
1601
1980
 
@@ -1613,9 +1992,11 @@ module Google
1613
1992
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
1614
1993
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1615
1994
 
1616
- header_params = {
1617
- "resource" => request.resource
1618
- }
1995
+ header_params = {}
1996
+ if request.resource
1997
+ header_params["resource"] = request.resource
1998
+ end
1999
+
1619
2000
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1620
2001
  metadata[:"x-goog-request-params"] ||= request_params_header
1621
2002
 
@@ -1668,6 +2049,21 @@ module Google
1668
2049
  #
1669
2050
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1670
2051
  #
2052
+ # @example Basic example
2053
+ # require "google/cloud/artifact_registry/v1beta2"
2054
+ #
2055
+ # # Create a client object. The client can be reused for multiple calls.
2056
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
2057
+ #
2058
+ # # Create a request. To set request fields, pass in keyword arguments.
2059
+ # request = Google::Iam::V1::GetIamPolicyRequest.new
2060
+ #
2061
+ # # Call the get_iam_policy method.
2062
+ # result = client.get_iam_policy request
2063
+ #
2064
+ # # The returned object is of type Google::Iam::V1::Policy.
2065
+ # p result
2066
+ #
1671
2067
  def get_iam_policy request, options = nil
1672
2068
  raise ::ArgumentError, "request must be provided" if request.nil?
1673
2069
 
@@ -1685,9 +2081,11 @@ module Google
1685
2081
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
1686
2082
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1687
2083
 
1688
- header_params = {
1689
- "resource" => request.resource
1690
- }
2084
+ header_params = {}
2085
+ if request.resource
2086
+ header_params["resource"] = request.resource
2087
+ end
2088
+
1691
2089
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1692
2090
  metadata[:"x-goog-request-params"] ||= request_params_header
1693
2091
 
@@ -1742,6 +2140,21 @@ module Google
1742
2140
  #
1743
2141
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1744
2142
  #
2143
+ # @example Basic example
2144
+ # require "google/cloud/artifact_registry/v1beta2"
2145
+ #
2146
+ # # Create a client object. The client can be reused for multiple calls.
2147
+ # client = Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
2148
+ #
2149
+ # # Create a request. To set request fields, pass in keyword arguments.
2150
+ # request = Google::Iam::V1::TestIamPermissionsRequest.new
2151
+ #
2152
+ # # Call the test_iam_permissions method.
2153
+ # result = client.test_iam_permissions request
2154
+ #
2155
+ # # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
2156
+ # p result
2157
+ #
1745
2158
  def test_iam_permissions request, options = nil
1746
2159
  raise ::ArgumentError, "request must be provided" if request.nil?
1747
2160
 
@@ -1759,9 +2172,11 @@ module Google
1759
2172
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
1760
2173
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1761
2174
 
1762
- header_params = {
1763
- "resource" => request.resource
1764
- }
2175
+ header_params = {}
2176
+ if request.resource
2177
+ header_params["resource"] = request.resource
2178
+ end
2179
+
1765
2180
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1766
2181
  metadata[:"x-goog-request-params"] ||= request_params_header
1767
2182
 
@@ -143,6 +143,27 @@ module Google
143
143
  #
144
144
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
145
145
  #
146
+ # @example Basic example
147
+ # require "google/longrunning"
148
+ #
149
+ # # Create a client object. The client can be reused for multiple calls.
150
+ # client = Google::Longrunning::Operations::Client.new
151
+ #
152
+ # # Create a request. To set request fields, pass in keyword arguments.
153
+ # request = Google::Longrunning::ListOperationsRequest.new
154
+ #
155
+ # # Call the list_operations method.
156
+ # result = client.list_operations request
157
+ #
158
+ # # The returned object is of type Gapic::PagedEnumerable. You can
159
+ # # iterate over all elements by calling #each, and the enumerable
160
+ # # will lazily make API calls to fetch subsequent pages. Other
161
+ # # methods are also available for managing paging directly.
162
+ # result.each do |response|
163
+ # # Each element is of type ::Google::Longrunning::Operation.
164
+ # p response
165
+ # end
166
+ #
146
167
  def list_operations request, options = nil
147
168
  raise ::ArgumentError, "request must be provided" if request.nil?
148
169
 
@@ -160,9 +181,11 @@ module Google
160
181
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
161
182
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
162
183
 
163
- header_params = {
164
- "name" => request.name
165
- }
184
+ header_params = {}
185
+ if request.name
186
+ header_params["name"] = request.name
187
+ end
188
+
166
189
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
167
190
  metadata[:"x-goog-request-params"] ||= request_params_header
168
191
 
@@ -215,6 +238,28 @@ module Google
215
238
  #
216
239
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
217
240
  #
241
+ # @example Basic example
242
+ # require "google/longrunning"
243
+ #
244
+ # # Create a client object. The client can be reused for multiple calls.
245
+ # client = Google::Longrunning::Operations::Client.new
246
+ #
247
+ # # Create a request. To set request fields, pass in keyword arguments.
248
+ # request = Google::Longrunning::GetOperationRequest.new
249
+ #
250
+ # # Call the get_operation method.
251
+ # result = client.get_operation request
252
+ #
253
+ # # The returned object is of type Gapic::Operation. You can use this
254
+ # # object to check the status of an operation, cancel it, or wait
255
+ # # for results. Here is how to block until completion:
256
+ # result.wait_until_done! timeout: 60
257
+ # if result.response?
258
+ # p result.response
259
+ # else
260
+ # puts "Error!"
261
+ # end
262
+ #
218
263
  def get_operation request, options = nil
219
264
  raise ::ArgumentError, "request must be provided" if request.nil?
220
265
 
@@ -232,9 +277,11 @@ module Google
232
277
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
233
278
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
234
279
 
235
- header_params = {
236
- "name" => request.name
237
- }
280
+ header_params = {}
281
+ if request.name
282
+ header_params["name"] = request.name
283
+ end
284
+
238
285
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
239
286
  metadata[:"x-goog-request-params"] ||= request_params_header
240
287
 
@@ -287,6 +334,21 @@ module Google
287
334
  #
288
335
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
289
336
  #
337
+ # @example Basic example
338
+ # require "google/longrunning"
339
+ #
340
+ # # Create a client object. The client can be reused for multiple calls.
341
+ # client = Google::Longrunning::Operations::Client.new
342
+ #
343
+ # # Create a request. To set request fields, pass in keyword arguments.
344
+ # request = Google::Longrunning::DeleteOperationRequest.new
345
+ #
346
+ # # Call the delete_operation method.
347
+ # result = client.delete_operation request
348
+ #
349
+ # # The returned object is of type Google::Protobuf::Empty.
350
+ # p result
351
+ #
290
352
  def delete_operation request, options = nil
291
353
  raise ::ArgumentError, "request must be provided" if request.nil?
292
354
 
@@ -304,9 +366,11 @@ module Google
304
366
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
305
367
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
306
368
 
307
- header_params = {
308
- "name" => request.name
309
- }
369
+ header_params = {}
370
+ if request.name
371
+ header_params["name"] = request.name
372
+ end
373
+
310
374
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
311
375
  metadata[:"x-goog-request-params"] ||= request_params_header
312
376
 
@@ -364,6 +428,21 @@ module Google
364
428
  #
365
429
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
366
430
  #
431
+ # @example Basic example
432
+ # require "google/longrunning"
433
+ #
434
+ # # Create a client object. The client can be reused for multiple calls.
435
+ # client = Google::Longrunning::Operations::Client.new
436
+ #
437
+ # # Create a request. To set request fields, pass in keyword arguments.
438
+ # request = Google::Longrunning::CancelOperationRequest.new
439
+ #
440
+ # # Call the cancel_operation method.
441
+ # result = client.cancel_operation request
442
+ #
443
+ # # The returned object is of type Google::Protobuf::Empty.
444
+ # p result
445
+ #
367
446
  def cancel_operation request, options = nil
368
447
  raise ::ArgumentError, "request must be provided" if request.nil?
369
448
 
@@ -381,9 +460,11 @@ module Google
381
460
  gapic_version: ::Google::Cloud::ArtifactRegistry::V1beta2::VERSION
382
461
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
383
462
 
384
- header_params = {
385
- "name" => request.name
386
- }
463
+ header_params = {}
464
+ if request.name
465
+ header_params["name"] = request.name
466
+ end
467
+
387
468
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
388
469
  metadata[:"x-goog-request-params"] ||= request_params_header
389
470
 
@@ -444,6 +525,28 @@ module Google
444
525
  #
445
526
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
446
527
  #
528
+ # @example Basic example
529
+ # require "google/longrunning"
530
+ #
531
+ # # Create a client object. The client can be reused for multiple calls.
532
+ # client = Google::Longrunning::Operations::Client.new
533
+ #
534
+ # # Create a request. To set request fields, pass in keyword arguments.
535
+ # request = Google::Longrunning::WaitOperationRequest.new
536
+ #
537
+ # # Call the wait_operation method.
538
+ # result = client.wait_operation request
539
+ #
540
+ # # The returned object is of type Gapic::Operation. You can use this
541
+ # # object to check the status of an operation, cancel it, or wait
542
+ # # for results. Here is how to block until completion:
543
+ # result.wait_until_done! timeout: 60
544
+ # if result.response?
545
+ # p result.response
546
+ # else
547
+ # puts "Error!"
548
+ # end
549
+ #
447
550
  def wait_operation request, options = nil
448
551
  raise ::ArgumentError, "request must be provided" if request.nil?
449
552
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ArtifactRegistry
23
23
  module V1beta2
24
- VERSION = "0.3.4"
24
+ VERSION = "0.3.5"
25
25
  end
26
26
  end
27
27
  end
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/devtools/artifactregistry/v1beta2/file.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/resource_pb'
7
5
  require 'google/protobuf/timestamp_pb'
8
6
  require 'google/api/annotations_pb'
7
+ require 'google/protobuf'
8
+
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("google/devtools/artifactregistry/v1beta2/file.proto", :syntax => :proto3) do
11
11
  add_message "google.devtools.artifactregistry.v1beta2.Hash" do
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/devtools/artifactregistry/v1beta2/package.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/protobuf/timestamp_pb'
7
5
  require 'google/api/annotations_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/devtools/artifactregistry/v1beta2/package.proto", :syntax => :proto3) do
10
10
  add_message "google.devtools.artifactregistry.v1beta2.Package" do
@@ -1,12 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/devtools/artifactregistry/v1beta2/repository.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/resource_pb'
7
5
  require 'google/protobuf/field_mask_pb'
8
6
  require 'google/protobuf/timestamp_pb'
9
7
  require 'google/api/annotations_pb'
8
+ require 'google/protobuf'
9
+
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("google/devtools/artifactregistry/v1beta2/repository.proto", :syntax => :proto3) do
12
12
  add_message "google.devtools.artifactregistry.v1beta2.Repository" do
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/devtools/artifactregistry/v1beta2/service.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/devtools/artifactregistry/v1beta2/file_pb'
@@ -14,6 +12,8 @@ require 'google/iam/v1/iam_policy_pb'
14
12
  require 'google/iam/v1/policy_pb'
15
13
  require 'google/longrunning/operations_pb'
16
14
  require 'google/protobuf/empty_pb'
15
+ require 'google/protobuf'
16
+
17
17
  Google::Protobuf::DescriptorPool.generated_pool.build do
18
18
  add_file("google/devtools/artifactregistry/v1beta2/service.proto", :syntax => :proto3) do
19
19
  add_message "google.devtools.artifactregistry.v1beta2.OperationMetadata" do
@@ -39,7 +39,7 @@ module Google
39
39
  # or Version.
40
40
  class Service
41
41
 
42
- include GRPC::GenericService
42
+ include ::GRPC::GenericService
43
43
 
44
44
  self.marshal_class_method = :encode
45
45
  self.unmarshal_class_method = :decode
@@ -1,12 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/devtools/artifactregistry/v1beta2/settings.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/api/resource_pb'
8
6
  require 'google/protobuf/field_mask_pb'
9
7
  require 'google/api/annotations_pb'
8
+ require 'google/protobuf'
9
+
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("google/devtools/artifactregistry/v1beta2/settings.proto", :syntax => :proto3) do
12
12
  end
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/devtools/artifactregistry/v1beta2/tag.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/protobuf/field_mask_pb'
7
5
  require 'google/api/annotations_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/devtools/artifactregistry/v1beta2/tag.proto", :syntax => :proto3) do
10
10
  add_message "google.devtools.artifactregistry.v1beta2.Tag" do
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/devtools/artifactregistry/v1beta2/version.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/devtools/artifactregistry/v1beta2/tag_pb'
7
5
  require 'google/protobuf/timestamp_pb'
8
6
  require 'google/api/annotations_pb'
7
+ require 'google/protobuf'
8
+
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("google/devtools/artifactregistry/v1beta2/version.proto", :syntax => :proto3) do
11
11
  add_message "google.devtools.artifactregistry.v1beta2.Version" do
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.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common