google-apis-artifactregistry_v1 0.17.0 → 0.20.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: c6d779ab9003c921b118a8dfebe77d531cdd015a8cfc6c38a3a843f186e74286
4
- data.tar.gz: 0475e5e51b9654b2527d0b87aa491860a901e386b690d8445e2c35d584a72f76
3
+ metadata.gz: 23d549c8cd0629de7692790bb3438b35d293f1f1b2cb99206744eba152474277
4
+ data.tar.gz: 76acae6ed74992c00babb3b16de94de75de86643a53cafe8bb3b6ae493c1e849
5
5
  SHA512:
6
- metadata.gz: 6644de9adcb242b595dd464598c8a28f546cce4511f8207f833211c9ec84e3776d43ecdc0f6368dcc9d0d54d2b46df3dca4d6860602e920678a2e3ecd92a24e2
7
- data.tar.gz: 84ab4053ff3742b0aaaf2cc62aea1ebfe24aa7d0a365040a0937a6346383db27eb0a733aba9a086ab34758dee9c440396ae690132ccfb23eee0853dc65b7a9da
6
+ metadata.gz: c8d9744f39b674dcbdd37c639bc384f4ccba10a175c9df9cf8a67061cb011b084f717ce6546501db31a371a47e6297e1c53147c451765331d97fbddac3f40783
7
+ data.tar.gz: 5bee37aa87a439d0dd88731dd810914de32f557af1ed2d3b1b4a922bfdfb2c12e62efb3da31488d8484ac1c6763bd50daefd052ed57266f9268e83260ce24aa3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.20.0 (2022-03-10)
4
+
5
+ * Regenerated from discovery document revision 20220307
6
+
7
+ ### v0.19.0 (2022-02-17)
8
+
9
+ * Regenerated from discovery document revision 20220212
10
+
11
+ ### v0.18.0 (2022-02-08)
12
+
13
+ * Regenerated from discovery document revision 20220203
14
+
3
15
  ### v0.17.0 (2022-01-27)
4
16
 
5
17
  * Regenerated from discovery document revision 20220121
@@ -359,51 +359,6 @@ module Google
359
359
  end
360
360
  end
361
361
 
362
- # Google Cloud Storage location where the artifacts currently reside.
363
- class ImportGooGetArtifactsGcsSource
364
- include Google::Apis::Core::Hashable
365
-
366
- # Cloud Storage paths URI (e.g., gs://my_bucket/my_object).
367
- # Corresponds to the JSON property `uris`
368
- # @return [Array<String>]
369
- attr_accessor :uris
370
-
371
- # Supports URI wildcards for matching multiple objects from a single URI.
372
- # Corresponds to the JSON property `useWildcards`
373
- # @return [Boolean]
374
- attr_accessor :use_wildcards
375
- alias_method :use_wildcards?, :use_wildcards
376
-
377
- def initialize(**args)
378
- update!(**args)
379
- end
380
-
381
- # Update properties of this object
382
- def update!(**args)
383
- @uris = args[:uris] if args.key?(:uris)
384
- @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
385
- end
386
- end
387
-
388
- # The request to import new googet artifacts.
389
- class ImportGooGetArtifactsRequest
390
- include Google::Apis::Core::Hashable
391
-
392
- # Google Cloud Storage location where the artifacts currently reside.
393
- # Corresponds to the JSON property `gcsSource`
394
- # @return [Google::Apis::ArtifactregistryV1::ImportGooGetArtifactsGcsSource]
395
- attr_accessor :gcs_source
396
-
397
- def initialize(**args)
398
- update!(**args)
399
- end
400
-
401
- # Update properties of this object
402
- def update!(**args)
403
- @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
404
- end
405
- end
406
-
407
362
  # Google Cloud Storage location where the artifacts currently reside.
408
363
  class ImportYumArtifactsGcsSource
409
364
  include Google::Apis::Core::Hashable
@@ -868,7 +823,7 @@ module Google
868
823
  # @return [String]
869
824
  attr_accessor :format
870
825
 
871
- # The Cloud KMS resource name of the customer managed encryption key thats used
826
+ # The Cloud KMS resource name of the customer managed encryption key that's used
872
827
  # to encrypt the contents of the Repository. Has the form: `projects/my-project/
873
828
  # locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be
874
829
  # changed after the Repository has been created.
@@ -1106,39 +1061,6 @@ module Google
1106
1061
  end
1107
1062
  end
1108
1063
 
1109
- # The response to upload an artifact.
1110
- class UploadGooGetArtifactMediaResponse
1111
- include Google::Apis::Core::Hashable
1112
-
1113
- # This resource represents a long-running operation that is the result of a
1114
- # network API call.
1115
- # Corresponds to the JSON property `operation`
1116
- # @return [Google::Apis::ArtifactregistryV1::Operation]
1117
- attr_accessor :operation
1118
-
1119
- def initialize(**args)
1120
- update!(**args)
1121
- end
1122
-
1123
- # Update properties of this object
1124
- def update!(**args)
1125
- @operation = args[:operation] if args.key?(:operation)
1126
- end
1127
- end
1128
-
1129
- # The request to upload an artifact.
1130
- class UploadGooGetArtifactRequest
1131
- include Google::Apis::Core::Hashable
1132
-
1133
- def initialize(**args)
1134
- update!(**args)
1135
- end
1136
-
1137
- # Update properties of this object
1138
- def update!(**args)
1139
- end
1140
- end
1141
-
1142
1064
  # The response to upload an artifact.
1143
1065
  class UploadYumArtifactMediaResponse
1144
1066
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ArtifactregistryV1
18
18
  # Version of the google-apis-artifactregistry_v1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220121"
25
+ REVISION = "20220307"
26
26
  end
27
27
  end
28
28
  end
@@ -70,18 +70,6 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class ImportGooGetArtifactsGcsSource
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
- class ImportGooGetArtifactsRequest
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
73
  class ImportYumArtifactsGcsSource
86
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
75
 
@@ -208,18 +196,6 @@ module Google
208
196
  include Google::Apis::Core::JsonObjectSupport
209
197
  end
210
198
 
211
- class UploadGooGetArtifactMediaResponse
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
- class UploadGooGetArtifactRequest
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
219
-
220
- include Google::Apis::Core::JsonObjectSupport
221
- end
222
-
223
199
  class UploadYumArtifactMediaResponse
224
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
201
 
@@ -314,22 +290,6 @@ module Google
314
290
  end
315
291
  end
316
292
 
317
- class ImportGooGetArtifactsGcsSource
318
- # @private
319
- class Representation < Google::Apis::Core::JsonRepresentation
320
- collection :uris, as: 'uris'
321
- property :use_wildcards, as: 'useWildcards'
322
- end
323
- end
324
-
325
- class ImportGooGetArtifactsRequest
326
- # @private
327
- class Representation < Google::Apis::Core::JsonRepresentation
328
- property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportGooGetArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportGooGetArtifactsGcsSource::Representation
329
-
330
- end
331
- end
332
-
333
293
  class ImportYumArtifactsGcsSource
334
294
  # @private
335
295
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -516,20 +476,6 @@ module Google
516
476
  end
517
477
  end
518
478
 
519
- class UploadGooGetArtifactMediaResponse
520
- # @private
521
- class Representation < Google::Apis::Core::JsonRepresentation
522
- property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1::Operation, decorator: Google::Apis::ArtifactregistryV1::Operation::Representation
523
-
524
- end
525
- end
526
-
527
- class UploadGooGetArtifactRequest
528
- # @private
529
- class Representation < Google::Apis::Core::JsonRepresentation
530
- end
531
- end
532
-
533
479
  class UploadYumArtifactMediaResponse
534
480
  # @private
535
481
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -50,10 +50,9 @@ module Google
50
50
  @batch_path = 'batch'
51
51
  end
52
52
 
53
- # Gets the latest state of a long-running operation. Clients can use this method
54
- # to poll the operation result at intervals as recommended by the API service.
53
+ # Retrieves the Settings for the Project.
55
54
  # @param [String] name
56
- # The name of the operation resource.
55
+ # Required. The name of the projectSettings resource.
57
56
  # @param [String] fields
58
57
  # Selector specifying which fields to include in a partial response.
59
58
  # @param [String] quota_user
@@ -63,27 +62,31 @@ module Google
63
62
  # Request-specific options
64
63
  #
65
64
  # @yield [result, err] Result & error if block supplied
66
- # @yieldparam result [Google::Apis::ArtifactregistryV1::Operation] parsed result object
65
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::ProjectSettings] parsed result object
67
66
  # @yieldparam err [StandardError] error object if request failed
68
67
  #
69
- # @return [Google::Apis::ArtifactregistryV1::Operation]
68
+ # @return [Google::Apis::ArtifactregistryV1::ProjectSettings]
70
69
  #
71
70
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
71
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
72
  # @raise [Google::Apis::AuthorizationError] Authorization is required
74
- def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
73
+ def get_project_project_settings(name, fields: nil, quota_user: nil, options: nil, &block)
75
74
  command = make_simple_command(:get, 'v1/{+name}', options)
76
- command.response_representation = Google::Apis::ArtifactregistryV1::Operation::Representation
77
- command.response_class = Google::Apis::ArtifactregistryV1::Operation
75
+ command.response_representation = Google::Apis::ArtifactregistryV1::ProjectSettings::Representation
76
+ command.response_class = Google::Apis::ArtifactregistryV1::ProjectSettings
78
77
  command.params['name'] = name unless name.nil?
79
78
  command.query['fields'] = fields unless fields.nil?
80
79
  command.query['quotaUser'] = quota_user unless quota_user.nil?
81
80
  execute_or_queue_command(command, &block)
82
81
  end
83
82
 
84
- # Retrieves the Settings for the Project.
83
+ # Updates the Settings for the Project.
85
84
  # @param [String] name
86
- # Required. The name of the projectSettings resource.
85
+ # The name of the project's settings. Always of the form: projects/`project-id`/
86
+ # projectSettings In update request: never set In response: always set
87
+ # @param [Google::Apis::ArtifactregistryV1::ProjectSettings] project_settings_object
88
+ # @param [String] update_mask
89
+ # Field mask to support partial updates.
87
90
  # @param [String] fields
88
91
  # Selector specifying which fields to include in a partial response.
89
92
  # @param [String] quota_user
@@ -101,23 +104,23 @@ module Google
101
104
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
102
105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
103
106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
104
- def get_project_project_settings(name, fields: nil, quota_user: nil, options: nil, &block)
105
- command = make_simple_command(:get, 'v1/{+name}', options)
107
+ def update_project_project_settings(name, project_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
108
+ command = make_simple_command(:patch, 'v1/{+name}', options)
109
+ command.request_representation = Google::Apis::ArtifactregistryV1::ProjectSettings::Representation
110
+ command.request_object = project_settings_object
106
111
  command.response_representation = Google::Apis::ArtifactregistryV1::ProjectSettings::Representation
107
112
  command.response_class = Google::Apis::ArtifactregistryV1::ProjectSettings
108
113
  command.params['name'] = name unless name.nil?
114
+ command.query['updateMask'] = update_mask unless update_mask.nil?
109
115
  command.query['fields'] = fields unless fields.nil?
110
116
  command.query['quotaUser'] = quota_user unless quota_user.nil?
111
117
  execute_or_queue_command(command, &block)
112
118
  end
113
119
 
114
- # Updates the Settings for the Project.
120
+ # Gets the latest state of a long-running operation. Clients can use this method
121
+ # to poll the operation result at intervals as recommended by the API service.
115
122
  # @param [String] name
116
- # The name of the project's settings. Always of the form: projects/`project-id`/
117
- # projectSettings In update request: never set In response: always set
118
- # @param [Google::Apis::ArtifactregistryV1::ProjectSettings] project_settings_object
119
- # @param [String] update_mask
120
- # Field mask to support partial updates.
123
+ # The name of the operation resource.
121
124
  # @param [String] fields
122
125
  # Selector specifying which fields to include in a partial response.
123
126
  # @param [String] quota_user
@@ -127,22 +130,19 @@ module Google
127
130
  # Request-specific options
128
131
  #
129
132
  # @yield [result, err] Result & error if block supplied
130
- # @yieldparam result [Google::Apis::ArtifactregistryV1::ProjectSettings] parsed result object
133
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::Operation] parsed result object
131
134
  # @yieldparam err [StandardError] error object if request failed
132
135
  #
133
- # @return [Google::Apis::ArtifactregistryV1::ProjectSettings]
136
+ # @return [Google::Apis::ArtifactregistryV1::Operation]
134
137
  #
135
138
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
136
139
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
137
140
  # @raise [Google::Apis::AuthorizationError] Authorization is required
138
- def update_project_project_settings(name, project_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
139
- command = make_simple_command(:patch, 'v1/{+name}', options)
140
- command.request_representation = Google::Apis::ArtifactregistryV1::ProjectSettings::Representation
141
- command.request_object = project_settings_object
142
- command.response_representation = Google::Apis::ArtifactregistryV1::ProjectSettings::Representation
143
- command.response_class = Google::Apis::ArtifactregistryV1::ProjectSettings
141
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
142
+ command = make_simple_command(:get, 'v1/{+name}', options)
143
+ command.response_representation = Google::Apis::ArtifactregistryV1::Operation::Representation
144
+ command.response_class = Google::Apis::ArtifactregistryV1::Operation
144
145
  command.params['name'] = name unless name.nil?
145
- command.query['updateMask'] = update_mask unless update_mask.nil?
146
146
  command.query['fields'] = fields unless fields.nil?
147
147
  command.query['quotaUser'] = quota_user unless quota_user.nil?
148
148
  execute_or_queue_command(command, &block)
@@ -497,7 +497,7 @@ module Google
497
497
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
498
498
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
499
499
  # @raise [Google::Apis::AuthorizationError] Authorization is required
500
- def upload_aptartifact_apt_artifact(parent, upload_apt_artifact_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
500
+ def upload_apt_artifact(parent, upload_apt_artifact_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
501
501
  if upload_source.nil?
502
502
  command = make_simple_command(:post, 'v1/{+parent}/aptArtifacts:create', options)
503
503
  else
@@ -613,7 +613,8 @@ module Google
613
613
 
614
614
  # Lists files.
615
615
  # @param [String] parent
616
- # The name of the parent resource whose files will be listed.
616
+ # The name of the repository whose files will be listed. For example: "projects/
617
+ # p1/locations/us-central1/repositories/repo1
617
618
  # @param [String] filter
618
619
  # An expression for filtering the results of the request. Filter rules are case
619
620
  # insensitive. The fields eligible for filtering are: * `name` * `owner` An
@@ -621,6 +622,8 @@ module Google
621
622
  # repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * `
622
623
  # owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/
623
624
  # versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.
625
+ # @param [String] order_by
626
+ # The field to order the results by.
624
627
  # @param [Fixnum] page_size
625
628
  # The maximum number of files to return.
626
629
  # @param [String] page_token
@@ -642,12 +645,13 @@ module Google
642
645
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
643
646
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
644
647
  # @raise [Google::Apis::AuthorizationError] Authorization is required
645
- def list_project_location_repository_files(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
648
+ def list_project_location_repository_files(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
646
649
  command = make_simple_command(:get, 'v1/{+parent}/files', options)
647
650
  command.response_representation = Google::Apis::ArtifactregistryV1::ListFilesResponse::Representation
648
651
  command.response_class = Google::Apis::ArtifactregistryV1::ListFilesResponse
649
652
  command.params['parent'] = parent unless parent.nil?
650
653
  command.query['filter'] = filter unless filter.nil?
654
+ command.query['orderBy'] = order_by unless order_by.nil?
651
655
  command.query['pageSize'] = page_size unless page_size.nil?
652
656
  command.query['pageToken'] = page_token unless page_token.nil?
653
657
  command.query['fields'] = fields unless fields.nil?
@@ -655,88 +659,6 @@ module Google
655
659
  execute_or_queue_command(command, &block)
656
660
  end
657
661
 
658
- # Imports GooGet artifacts. The returned Operation will complete once the
659
- # resources are imported. Package, Version, and File resources are created based
660
- # on the imported artifacts. Imported artifacts that conflict with existing
661
- # resources are ignored.
662
- # @param [String] parent
663
- # The name of the parent resource where the artifacts will be imported.
664
- # @param [Google::Apis::ArtifactregistryV1::ImportGooGetArtifactsRequest] import_goo_get_artifacts_request_object
665
- # @param [String] fields
666
- # Selector specifying which fields to include in a partial response.
667
- # @param [String] quota_user
668
- # Available to use for quota purposes for server-side applications. Can be any
669
- # arbitrary string assigned to a user, but should not exceed 40 characters.
670
- # @param [Google::Apis::RequestOptions] options
671
- # Request-specific options
672
- #
673
- # @yield [result, err] Result & error if block supplied
674
- # @yieldparam result [Google::Apis::ArtifactregistryV1::Operation] parsed result object
675
- # @yieldparam err [StandardError] error object if request failed
676
- #
677
- # @return [Google::Apis::ArtifactregistryV1::Operation]
678
- #
679
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
680
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
681
- # @raise [Google::Apis::AuthorizationError] Authorization is required
682
- def import_goo_get_artifacts(parent, import_goo_get_artifacts_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
683
- command = make_simple_command(:post, 'v1/{+parent}/gooGetArtifacts:import', options)
684
- command.request_representation = Google::Apis::ArtifactregistryV1::ImportGooGetArtifactsRequest::Representation
685
- command.request_object = import_goo_get_artifacts_request_object
686
- command.response_representation = Google::Apis::ArtifactregistryV1::Operation::Representation
687
- command.response_class = Google::Apis::ArtifactregistryV1::Operation
688
- command.params['parent'] = parent unless parent.nil?
689
- command.query['fields'] = fields unless fields.nil?
690
- command.query['quotaUser'] = quota_user unless quota_user.nil?
691
- execute_or_queue_command(command, &block)
692
- end
693
-
694
- # Directly uploads a GooGet artifact. The returned Operation will complete once
695
- # the resources are uploaded. Package, Version, and File resources are created
696
- # based on the imported artifact. Imported artifacts that conflict with existing
697
- # resources are ignored.
698
- # @param [String] parent
699
- # The name of the parent resource where the artifacts will be uploaded.
700
- # @param [Google::Apis::ArtifactregistryV1::UploadGooGetArtifactRequest] upload_goo_get_artifact_request_object
701
- # @param [String] fields
702
- # Selector specifying which fields to include in a partial response.
703
- # @param [String] quota_user
704
- # Available to use for quota purposes for server-side applications. Can be any
705
- # arbitrary string assigned to a user, but should not exceed 40 characters.
706
- # @param [IO, String] upload_source
707
- # IO stream or filename containing content to upload
708
- # @param [String] content_type
709
- # Content type of the uploaded content.
710
- # @param [Google::Apis::RequestOptions] options
711
- # Request-specific options
712
- #
713
- # @yield [result, err] Result & error if block supplied
714
- # @yieldparam result [Google::Apis::ArtifactregistryV1::UploadGooGetArtifactMediaResponse] parsed result object
715
- # @yieldparam err [StandardError] error object if request failed
716
- #
717
- # @return [Google::Apis::ArtifactregistryV1::UploadGooGetArtifactMediaResponse]
718
- #
719
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
720
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
721
- # @raise [Google::Apis::AuthorizationError] Authorization is required
722
- def upload_googetartifact_goo_get_artifact(parent, upload_goo_get_artifact_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
723
- if upload_source.nil?
724
- command = make_simple_command(:post, 'v1/{+parent}/googetArtifacts:create', options)
725
- else
726
- command = make_upload_command(:post, 'v1/{+parent}/googetArtifacts:create', options)
727
- command.upload_source = upload_source
728
- command.upload_content_type = content_type
729
- end
730
- command.request_representation = Google::Apis::ArtifactregistryV1::UploadGooGetArtifactRequest::Representation
731
- command.request_object = upload_goo_get_artifact_request_object
732
- command.response_representation = Google::Apis::ArtifactregistryV1::UploadGooGetArtifactMediaResponse::Representation
733
- command.response_class = Google::Apis::ArtifactregistryV1::UploadGooGetArtifactMediaResponse
734
- command.params['parent'] = parent unless parent.nil?
735
- command.query['fields'] = fields unless fields.nil?
736
- command.query['quotaUser'] = quota_user unless quota_user.nil?
737
- execute_or_queue_command(command, &block)
738
- end
739
-
740
662
  # Deletes a package and all of its versions and tags. The returned operation
741
663
  # will complete once the package has been deleted.
742
664
  # @param [String] name
@@ -1188,7 +1110,7 @@ module Google
1188
1110
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1189
1111
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1190
1112
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1191
- def upload_yumartifact_yum_artifact(parent, upload_yum_artifact_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
1113
+ def upload_yum_artifact(parent, upload_yum_artifact_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
1192
1114
  if upload_source.nil?
1193
1115
  command = make_simple_command(:post, 'v1/{+parent}/yumArtifacts:create', options)
1194
1116
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-artifactregistry_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-31 00:00:00.000000000 Z
11
+ date: 2022-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
63
63
  post_install_message:
64
64
  rdoc_options: []