google-apis-artifactregistry_v1beta2 0.10.0 → 0.11.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: 21ad29ea77130d6759ce0353664f2185f044b81ce05f64f1ad5c3f8c16b67574
4
- data.tar.gz: 18d0a1b93780cc33bc9708d0057e45e098da67715ac4eb1da406923102e6be5e
3
+ metadata.gz: 053ef77893748b0ba3ff4ca9481aa00439341ef28e0dedba796b0c18e9a18738
4
+ data.tar.gz: 4cb549a35ae7d2f7c3daa42b1103665a2276026405bb5be29057dfd2c79f28bd
5
5
  SHA512:
6
- metadata.gz: 07f459e56504c2d55df2a6203416caf6922658443f545c28e23e7198c785d2058941eae43971b35449da0a1f0bb2a5f89889e87d34360c4d7c4d1d5abb85d312
7
- data.tar.gz: cdc19f77ce6e32083b85cfd78aeb1e2e756676c1ee058b703163b6195d2ff5e763bf9a4a361a08afe5896bcf4b78401f8eb695eaf604bd6d02472b1342a9db4e
6
+ metadata.gz: c841d7568907ad16e27ebc2972eb72373872a827f3d90a098eed9c7f39c08aafa0300ff389a1cc8e5694a4159eff8724427f8ee0ad98432372623296128125f9
7
+ data.tar.gz: 54715850c46b2d583229aa79d65bb7807582df00bb9ab3c45de9f3f4b9e6d622cc5177d43ac05664b72f9be138766b844f90d0f8f8debc6565e9c097f0161f6f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-artifactregistry_v1beta2
2
2
 
3
+ ### v0.11.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210817
6
+
3
7
  ### v0.10.0 (2021-07-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20210629
@@ -217,7 +217,7 @@ module Google
217
217
  end
218
218
 
219
219
  # Files store content that is potentially associated with Packages or Versions.
220
- class File
220
+ class GoogleDevtoolsArtifactregistryV1beta2File
221
221
  include Google::Apis::Core::Hashable
222
222
 
223
223
  # The time when the File was created.
@@ -499,7 +499,7 @@ module Google
499
499
 
500
500
  # The files returned.
501
501
  # Corresponds to the JSON property `files`
502
- # @return [Array<Google::Apis::ArtifactregistryV1beta2::File>]
502
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1beta2File>]
503
503
  attr_accessor :files
504
504
 
505
505
  # The token to retrieve the next page of files, or empty if there are no more
@@ -544,31 +544,6 @@ module Google
544
544
  end
545
545
  end
546
546
 
547
- # The response message for Operations.ListOperations.
548
- class ListOperationsResponse
549
- include Google::Apis::Core::Hashable
550
-
551
- # The standard List next-page token.
552
- # Corresponds to the JSON property `nextPageToken`
553
- # @return [String]
554
- attr_accessor :next_page_token
555
-
556
- # A list of operations that matches the specified filter in the request.
557
- # Corresponds to the JSON property `operations`
558
- # @return [Array<Google::Apis::ArtifactregistryV1beta2::Operation>]
559
- attr_accessor :operations
560
-
561
- def initialize(**args)
562
- update!(**args)
563
- end
564
-
565
- # Update properties of this object
566
- def update!(**args)
567
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
568
- @operations = args[:operations] if args.key?(:operations)
569
- end
570
- end
571
-
572
547
  # The response from listing packages.
573
548
  class ListPackagesResponse
574
549
  include Google::Apis::Core::Hashable
@@ -846,7 +821,7 @@ module Google
846
821
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
847
822
  # roles/resourcemanager.organizationViewer condition: title: expirable access
848
823
  # description: Does not grant access after Sep 2020 expression: request.time <
849
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
824
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
850
825
  # description of IAM and its features, see the [IAM documentation](https://cloud.
851
826
  # google.com/iam/docs/).
852
827
  class Policy
@@ -996,7 +971,7 @@ module Google
996
971
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
997
972
  # roles/resourcemanager.organizationViewer condition: title: expirable access
998
973
  # description: Does not grant access after Sep 2020 expression: request.time <
999
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
974
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1000
975
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1001
976
  # google.com/iam/docs/).
1002
977
  # Corresponds to the JSON property `policy`
@@ -1058,8 +1033,9 @@ module Google
1058
1033
  include Google::Apis::Core::Hashable
1059
1034
 
1060
1035
  # The name of the tag, for example: "projects/p1/locations/us-central1/
1061
- # repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts
1062
- # contain slashes, the slashes are escaped.
1036
+ # repositories/repo1/packages/pkg1/tags/tag1". If the package part contains
1037
+ # slashes, the slashes are escaped. The tag part can only have characters in [a-
1038
+ # zA-Z0-9\-._~:@], anything else must be URL encoded.
1063
1039
  # Corresponds to the JSON property `name`
1064
1040
  # @return [String]
1065
1041
  attr_accessor :name
@@ -1142,6 +1118,19 @@ module Google
1142
1118
  end
1143
1119
  end
1144
1120
 
1121
+ # The request to upload an artifact.
1122
+ class UploadAptArtifactRequest
1123
+ include Google::Apis::Core::Hashable
1124
+
1125
+ def initialize(**args)
1126
+ update!(**args)
1127
+ end
1128
+
1129
+ # Update properties of this object
1130
+ def update!(**args)
1131
+ end
1132
+ end
1133
+
1145
1134
  # The response of the completed artifact upload operation. This response is
1146
1135
  # contained in the Operation and available to users.
1147
1136
  class UploadAptArtifactResponse
@@ -1182,6 +1171,19 @@ module Google
1182
1171
  end
1183
1172
  end
1184
1173
 
1174
+ # The request to upload an artifact.
1175
+ class UploadYumArtifactRequest
1176
+ include Google::Apis::Core::Hashable
1177
+
1178
+ def initialize(**args)
1179
+ update!(**args)
1180
+ end
1181
+
1182
+ # Update properties of this object
1183
+ def update!(**args)
1184
+ end
1185
+ end
1186
+
1185
1187
  # The response of the completed artifact upload operation. This response is
1186
1188
  # contained in the Operation and available to users.
1187
1189
  class UploadYumArtifactResponse
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ArtifactregistryV1beta2
18
18
  # Version of the google-apis-artifactregistry_v1beta2 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210629"
25
+ REVISION = "20210817"
26
26
  end
27
27
  end
28
28
  end
@@ -46,7 +46,7 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class File
49
+ class GoogleDevtoolsArtifactregistryV1beta2File
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
@@ -118,12 +118,6 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class ListOperationsResponse
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
121
  class ListPackagesResponse
128
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
123
 
@@ -214,6 +208,12 @@ module Google
214
208
  include Google::Apis::Core::JsonObjectSupport
215
209
  end
216
210
 
211
+ class UploadAptArtifactRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
217
  class UploadAptArtifactResponse
218
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
219
 
@@ -226,6 +226,12 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class UploadYumArtifactRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class UploadYumArtifactResponse
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
@@ -282,7 +288,7 @@ module Google
282
288
  end
283
289
  end
284
290
 
285
- class File
291
+ class GoogleDevtoolsArtifactregistryV1beta2File
286
292
  # @private
287
293
  class Representation < Google::Apis::Core::JsonRepresentation
288
294
  property :create_time, as: 'createTime'
@@ -378,7 +384,7 @@ module Google
378
384
  class ListFilesResponse
379
385
  # @private
380
386
  class Representation < Google::Apis::Core::JsonRepresentation
381
- collection :files, as: 'files', class: Google::Apis::ArtifactregistryV1beta2::File, decorator: Google::Apis::ArtifactregistryV1beta2::File::Representation
387
+ collection :files, as: 'files', class: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1beta2File, decorator: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1beta2File::Representation
382
388
 
383
389
  property :next_page_token, as: 'nextPageToken'
384
390
  end
@@ -393,15 +399,6 @@ module Google
393
399
  end
394
400
  end
395
401
 
396
- class ListOperationsResponse
397
- # @private
398
- class Representation < Google::Apis::Core::JsonRepresentation
399
- property :next_page_token, as: 'nextPageToken'
400
- collection :operations, as: 'operations', class: Google::Apis::ArtifactregistryV1beta2::Operation, decorator: Google::Apis::ArtifactregistryV1beta2::Operation::Representation
401
-
402
- end
403
- end
404
-
405
402
  class ListPackagesResponse
406
403
  # @private
407
404
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -541,6 +538,12 @@ module Google
541
538
  end
542
539
  end
543
540
 
541
+ class UploadAptArtifactRequest
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ end
545
+ end
546
+
544
547
  class UploadAptArtifactResponse
545
548
  # @private
546
549
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -557,6 +560,12 @@ module Google
557
560
  end
558
561
  end
559
562
 
563
+ class UploadYumArtifactRequest
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ end
567
+ end
568
+
560
569
  class UploadYumArtifactResponse
561
570
  # @private
562
571
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -154,52 +154,6 @@ module Google
154
154
  execute_or_queue_command(command, &block)
155
155
  end
156
156
 
157
- # Lists operations that match the specified filter in the request. If the server
158
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
159
- # binding allows API services to override the binding to use different resource
160
- # name schemes, such as `users/*/operations`. To override the binding, API
161
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
162
- # service configuration. For backwards compatibility, the default name includes
163
- # the operations collection id, however overriding users must ensure the name
164
- # binding is the parent resource, without the operations collection id.
165
- # @param [String] name
166
- # The name of the operation's parent resource.
167
- # @param [String] filter
168
- # The standard list filter.
169
- # @param [Fixnum] page_size
170
- # The standard list page size.
171
- # @param [String] page_token
172
- # The standard list page token.
173
- # @param [String] fields
174
- # Selector specifying which fields to include in a partial response.
175
- # @param [String] quota_user
176
- # Available to use for quota purposes for server-side applications. Can be any
177
- # arbitrary string assigned to a user, but should not exceed 40 characters.
178
- # @param [Google::Apis::RequestOptions] options
179
- # Request-specific options
180
- #
181
- # @yield [result, err] Result & error if block supplied
182
- # @yieldparam result [Google::Apis::ArtifactregistryV1beta2::ListOperationsResponse] parsed result object
183
- # @yieldparam err [StandardError] error object if request failed
184
- #
185
- # @return [Google::Apis::ArtifactregistryV1beta2::ListOperationsResponse]
186
- #
187
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
188
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
189
- # @raise [Google::Apis::AuthorizationError] Authorization is required
190
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
191
- command = make_simple_command(:get, 'v1beta2/{+name}/operations', options)
192
- command.response_representation = Google::Apis::ArtifactregistryV1beta2::ListOperationsResponse::Representation
193
- command.response_class = Google::Apis::ArtifactregistryV1beta2::ListOperationsResponse
194
- command.params['name'] = name unless name.nil?
195
- command.query['filter'] = filter unless filter.nil?
196
- command.query['pageSize'] = page_size unless page_size.nil?
197
- command.query['pageToken'] = page_token unless page_token.nil?
198
- command.query['fields'] = fields unless fields.nil?
199
- command.query['quotaUser'] = quota_user unless quota_user.nil?
200
- execute_or_queue_command(command, &block)
201
- end
202
-
203
157
  # Creates a repository. The returned Operation will finish once the repository
204
158
  # has been created. Its response will be the created Repository.
205
159
  # @param [String] parent
@@ -343,7 +297,7 @@ module Google
343
297
  # @param [String] parent
344
298
  # The name of the parent resource whose repositories will be listed.
345
299
  # @param [Fixnum] page_size
346
- # The maximum number of repositories to return. Maximum page size is 10,000.
300
+ # The maximum number of repositories to return. Maximum page size is 1,000.
347
301
  # @param [String] page_token
348
302
  # The next_page_token value returned from a previous list request, if any.
349
303
  # @param [String] fields
@@ -518,6 +472,52 @@ module Google
518
472
  execute_or_queue_command(command, &block)
519
473
  end
520
474
 
475
+ # Directly uploads an Apt artifact. The returned Operation will complete once
476
+ # the resources are uploaded. Package, Version, and File resources are created
477
+ # based on the imported artifact. Imported artifacts that conflict with existing
478
+ # resources are ignored.
479
+ # @param [String] parent
480
+ # The name of the parent resource where the artifacts will be uploaded.
481
+ # @param [Google::Apis::ArtifactregistryV1beta2::UploadAptArtifactRequest] upload_apt_artifact_request_object
482
+ # @param [String] fields
483
+ # Selector specifying which fields to include in a partial response.
484
+ # @param [String] quota_user
485
+ # Available to use for quota purposes for server-side applications. Can be any
486
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
487
+ # @param [IO, String] upload_source
488
+ # IO stream or filename containing content to upload
489
+ # @param [String] content_type
490
+ # Content type of the uploaded content.
491
+ # @param [Google::Apis::RequestOptions] options
492
+ # Request-specific options
493
+ #
494
+ # @yield [result, err] Result & error if block supplied
495
+ # @yieldparam result [Google::Apis::ArtifactregistryV1beta2::UploadAptArtifactMediaResponse] parsed result object
496
+ # @yieldparam err [StandardError] error object if request failed
497
+ #
498
+ # @return [Google::Apis::ArtifactregistryV1beta2::UploadAptArtifactMediaResponse]
499
+ #
500
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
501
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
502
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
503
+ 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)
504
+ if upload_source.nil?
505
+ command = make_simple_command(:post, 'v1beta2/{+parent}/aptArtifacts:create', options)
506
+ else
507
+ command = make_upload_command(:post, 'v1beta2/{+parent}/aptArtifacts:create', options)
508
+ command.upload_source = upload_source
509
+ command.upload_content_type = content_type
510
+ end
511
+ command.request_representation = Google::Apis::ArtifactregistryV1beta2::UploadAptArtifactRequest::Representation
512
+ command.request_object = upload_apt_artifact_request_object
513
+ command.response_representation = Google::Apis::ArtifactregistryV1beta2::UploadAptArtifactMediaResponse::Representation
514
+ command.response_class = Google::Apis::ArtifactregistryV1beta2::UploadAptArtifactMediaResponse
515
+ command.params['parent'] = parent unless parent.nil?
516
+ command.query['fields'] = fields unless fields.nil?
517
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
518
+ execute_or_queue_command(command, &block)
519
+ end
520
+
521
521
  # Gets a file.
522
522
  # @param [String] name
523
523
  # The name of the file to retrieve.
@@ -530,18 +530,18 @@ module Google
530
530
  # Request-specific options
531
531
  #
532
532
  # @yield [result, err] Result & error if block supplied
533
- # @yieldparam result [Google::Apis::ArtifactregistryV1beta2::File] parsed result object
533
+ # @yieldparam result [Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1beta2File] parsed result object
534
534
  # @yieldparam err [StandardError] error object if request failed
535
535
  #
536
- # @return [Google::Apis::ArtifactregistryV1beta2::File]
536
+ # @return [Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1beta2File]
537
537
  #
538
538
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
539
539
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
540
540
  # @raise [Google::Apis::AuthorizationError] Authorization is required
541
541
  def get_project_location_repository_file(name, fields: nil, quota_user: nil, options: nil, &block)
542
542
  command = make_simple_command(:get, 'v1beta2/{+name}', options)
543
- command.response_representation = Google::Apis::ArtifactregistryV1beta2::File::Representation
544
- command.response_class = Google::Apis::ArtifactregistryV1beta2::File
543
+ command.response_representation = Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1beta2File::Representation
544
+ command.response_class = Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1beta2File
545
545
  command.params['name'] = name unless name.nil?
546
546
  command.query['fields'] = fields unless fields.nil?
547
547
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -657,7 +657,7 @@ module Google
657
657
  # @param [String] parent
658
658
  # The name of the parent resource whose packages will be listed.
659
659
  # @param [Fixnum] page_size
660
- # The maximum number of packages to return. Maximum page size is 10,000.
660
+ # The maximum number of packages to return. Maximum page size is 1,000.
661
661
  # @param [String] page_token
662
662
  # The next_page_token value returned from a previous list request, if any.
663
663
  # @param [String] fields
@@ -831,8 +831,9 @@ module Google
831
831
  # Updates a tag.
832
832
  # @param [String] name
833
833
  # The name of the tag, for example: "projects/p1/locations/us-central1/
834
- # repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts
835
- # contain slashes, the slashes are escaped.
834
+ # repositories/repo1/packages/pkg1/tags/tag1". If the package part contains
835
+ # slashes, the slashes are escaped. The tag part can only have characters in [a-
836
+ # zA-Z0-9\-._~:@], anything else must be URL encoded.
836
837
  # @param [Google::Apis::ArtifactregistryV1beta2::Tag] tag_object
837
838
  # @param [String] update_mask
838
839
  # The update mask applies to the resource. For the `FieldMask` definition, see
@@ -942,7 +943,7 @@ module Google
942
943
  # @param [String] order_by
943
944
  # Optional. Sorting field and order
944
945
  # @param [Fixnum] page_size
945
- # The maximum number of versions to return. Maximum page size is 10,000.
946
+ # The maximum number of versions to return. Maximum page size is 1,000.
946
947
  # @param [String] page_token
947
948
  # The next_page_token value returned from a previous list request, if any.
948
949
  # @param [String] view
@@ -1013,6 +1014,52 @@ module Google
1013
1014
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1014
1015
  execute_or_queue_command(command, &block)
1015
1016
  end
1017
+
1018
+ # Directly uploads a Yum artifact. The returned Operation will complete once the
1019
+ # resources are uploaded. Package, Version, and File resources are created based
1020
+ # on the imported artifact. Imported artifacts that conflict with existing
1021
+ # resources are ignored.
1022
+ # @param [String] parent
1023
+ # The name of the parent resource where the artifacts will be uploaded.
1024
+ # @param [Google::Apis::ArtifactregistryV1beta2::UploadYumArtifactRequest] upload_yum_artifact_request_object
1025
+ # @param [String] fields
1026
+ # Selector specifying which fields to include in a partial response.
1027
+ # @param [String] quota_user
1028
+ # Available to use for quota purposes for server-side applications. Can be any
1029
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1030
+ # @param [IO, String] upload_source
1031
+ # IO stream or filename containing content to upload
1032
+ # @param [String] content_type
1033
+ # Content type of the uploaded content.
1034
+ # @param [Google::Apis::RequestOptions] options
1035
+ # Request-specific options
1036
+ #
1037
+ # @yield [result, err] Result & error if block supplied
1038
+ # @yieldparam result [Google::Apis::ArtifactregistryV1beta2::UploadYumArtifactMediaResponse] parsed result object
1039
+ # @yieldparam err [StandardError] error object if request failed
1040
+ #
1041
+ # @return [Google::Apis::ArtifactregistryV1beta2::UploadYumArtifactMediaResponse]
1042
+ #
1043
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1044
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1045
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1046
+ 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)
1047
+ if upload_source.nil?
1048
+ command = make_simple_command(:post, 'v1beta2/{+parent}/yumArtifacts:create', options)
1049
+ else
1050
+ command = make_upload_command(:post, 'v1beta2/{+parent}/yumArtifacts:create', options)
1051
+ command.upload_source = upload_source
1052
+ command.upload_content_type = content_type
1053
+ end
1054
+ command.request_representation = Google::Apis::ArtifactregistryV1beta2::UploadYumArtifactRequest::Representation
1055
+ command.request_object = upload_yum_artifact_request_object
1056
+ command.response_representation = Google::Apis::ArtifactregistryV1beta2::UploadYumArtifactMediaResponse::Representation
1057
+ command.response_class = Google::Apis::ArtifactregistryV1beta2::UploadYumArtifactMediaResponse
1058
+ command.params['parent'] = parent unless parent.nil?
1059
+ command.query['fields'] = fields unless fields.nil?
1060
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1061
+ execute_or_queue_command(command, &block)
1062
+ end
1016
1063
 
1017
1064
  protected
1018
1065
 
@@ -30,10 +30,10 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1beta2'
32
32
 
33
- # See, edit, configure, and delete your Google Cloud Platform data
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
- # View your data across Google Cloud Platform services
36
+ # View your data across Google Cloud services and see the email address of your Google Account
37
37
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
38
38
  end
39
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-artifactregistry_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.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: 2021-07-12 00:00:00.000000000 Z
11
+ date: 2021-09-06 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/master/generated/google-apis-artifactregistry_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta2/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta2/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []