google-apis-artifactregistry_v1 0.12.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.12.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211015"
25
+ REVISION = "20220113"
26
26
  end
27
27
  end
28
28
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module ArtifactregistryV1
24
24
 
25
- class AptArtifact
25
+ class Binding
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
@@ -34,7 +34,25 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class ImportAptArtifactsErrorInfo
37
+ class Empty
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Expr
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleDevtoolsArtifactregistryV1File
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class HashProp
38
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
57
 
40
58
  include Google::Apis::Core::JsonObjectSupport
@@ -46,13 +64,19 @@ module Google
46
64
  include Google::Apis::Core::JsonObjectSupport
47
65
  end
48
66
 
49
- class ImportAptArtifactsResponse
67
+ class ImportAptArtifactsRequest
50
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
69
 
52
70
  include Google::Apis::Core::JsonObjectSupport
53
71
  end
54
72
 
55
- class ImportYumArtifactsErrorInfo
73
+ class ImportGooGetArtifactsGcsSource
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ImportGooGetArtifactsRequest
56
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
81
 
58
82
  include Google::Apis::Core::JsonObjectSupport
@@ -64,7 +88,7 @@ module Google
64
88
  include Google::Apis::Core::JsonObjectSupport
65
89
  end
66
90
 
67
- class ImportYumArtifactsResponse
91
+ class ImportYumArtifactsRequest
68
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
93
 
70
94
  include Google::Apis::Core::JsonObjectSupport
@@ -76,37 +100,121 @@ module Google
76
100
  include Google::Apis::Core::JsonObjectSupport
77
101
  end
78
102
 
103
+ class ListFilesResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ListPackagesResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
79
115
  class ListRepositoriesResponse
80
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
117
 
82
118
  include Google::Apis::Core::JsonObjectSupport
83
119
  end
84
120
 
121
+ class ListTagsResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListVersionsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class MavenRepositoryConfig
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
85
139
  class Operation
86
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
141
 
88
142
  include Google::Apis::Core::JsonObjectSupport
89
143
  end
90
144
 
145
+ class Package
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Policy
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ProjectSettings
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
91
163
  class Repository
92
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
165
 
94
166
  include Google::Apis::Core::JsonObjectSupport
95
167
  end
96
168
 
169
+ class SetIamPolicyRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
97
175
  class Status
98
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
177
 
100
178
  include Google::Apis::Core::JsonObjectSupport
101
179
  end
102
180
 
181
+ class Tag
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class TestIamPermissionsRequest
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class TestIamPermissionsResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
103
199
  class UploadAptArtifactMediaResponse
104
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
201
 
106
202
  include Google::Apis::Core::JsonObjectSupport
107
203
  end
108
204
 
109
- class UploadAptArtifactResponse
205
+ class UploadAptArtifactRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class UploadGooGetArtifactMediaResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class UploadGooGetArtifactRequest
110
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
219
 
112
220
  include Google::Apis::Core::JsonObjectSupport
@@ -118,27 +226,25 @@ module Google
118
226
  include Google::Apis::Core::JsonObjectSupport
119
227
  end
120
228
 
121
- class UploadYumArtifactResponse
229
+ class UploadYumArtifactRequest
122
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
231
 
124
232
  include Google::Apis::Core::JsonObjectSupport
125
233
  end
126
234
 
127
- class YumArtifact
235
+ class Version
128
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
237
 
130
238
  include Google::Apis::Core::JsonObjectSupport
131
239
  end
132
240
 
133
- class AptArtifact
241
+ class Binding
134
242
  # @private
135
243
  class Representation < Google::Apis::Core::JsonRepresentation
136
- property :architecture, as: 'architecture'
137
- property :component, as: 'component'
138
- property :control_file, :base64 => true, as: 'controlFile'
139
- property :name, as: 'name'
140
- property :package_name, as: 'packageName'
141
- property :package_type, as: 'packageType'
244
+ property :condition, as: 'condition', class: Google::Apis::ArtifactregistryV1::Expr, decorator: Google::Apis::ArtifactregistryV1::Expr::Representation
245
+
246
+ collection :members, as: 'members'
247
+ property :role, as: 'role'
142
248
  end
143
249
  end
144
250
 
@@ -155,13 +261,40 @@ module Google
155
261
  end
156
262
  end
157
263
 
158
- class ImportAptArtifactsErrorInfo
264
+ class Empty
159
265
  # @private
160
266
  class Representation < Google::Apis::Core::JsonRepresentation
161
- property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
267
+ end
268
+ end
162
269
 
163
- property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource::Representation
270
+ class Expr
271
+ # @private
272
+ class Representation < Google::Apis::Core::JsonRepresentation
273
+ property :description, as: 'description'
274
+ property :expression, as: 'expression'
275
+ property :location, as: 'location'
276
+ property :title, as: 'title'
277
+ end
278
+ end
164
279
 
280
+ class GoogleDevtoolsArtifactregistryV1File
281
+ # @private
282
+ class Representation < Google::Apis::Core::JsonRepresentation
283
+ property :create_time, as: 'createTime'
284
+ collection :hashes, as: 'hashes', class: Google::Apis::ArtifactregistryV1::HashProp, decorator: Google::Apis::ArtifactregistryV1::HashProp::Representation
285
+
286
+ property :name, as: 'name'
287
+ property :owner, as: 'owner'
288
+ property :size_bytes, :numeric_string => true, as: 'sizeBytes'
289
+ property :update_time, as: 'updateTime'
290
+ end
291
+ end
292
+
293
+ class HashProp
294
+ # @private
295
+ class Representation < Google::Apis::Core::JsonRepresentation
296
+ property :type, as: 'type'
297
+ property :value, :base64 => true, as: 'value'
165
298
  end
166
299
  end
167
300
 
@@ -173,22 +306,26 @@ module Google
173
306
  end
174
307
  end
175
308
 
176
- class ImportAptArtifactsResponse
309
+ class ImportAptArtifactsRequest
177
310
  # @private
178
311
  class Representation < Google::Apis::Core::JsonRepresentation
179
- collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
180
-
181
- collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo::Representation
312
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource::Representation
182
313
 
183
314
  end
184
315
  end
185
316
 
186
- class ImportYumArtifactsErrorInfo
317
+ class ImportGooGetArtifactsGcsSource
187
318
  # @private
188
319
  class Representation < Google::Apis::Core::JsonRepresentation
189
- property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
320
+ collection :uris, as: 'uris'
321
+ property :use_wildcards, as: 'useWildcards'
322
+ end
323
+ end
190
324
 
191
- property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource::Representation
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
192
329
 
193
330
  end
194
331
  end
@@ -201,12 +338,10 @@ module Google
201
338
  end
202
339
  end
203
340
 
204
- class ImportYumArtifactsResponse
341
+ class ImportYumArtifactsRequest
205
342
  # @private
206
343
  class Representation < Google::Apis::Core::JsonRepresentation
207
- collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo::Representation
208
-
209
- collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
344
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource::Representation
210
345
 
211
346
  end
212
347
  end
@@ -220,6 +355,24 @@ module Google
220
355
  end
221
356
  end
222
357
 
358
+ class ListFilesResponse
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ collection :files, as: 'files', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1File, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1File::Representation
362
+
363
+ property :next_page_token, as: 'nextPageToken'
364
+ end
365
+ end
366
+
367
+ class ListPackagesResponse
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ property :next_page_token, as: 'nextPageToken'
371
+ collection :packages, as: 'packages', class: Google::Apis::ArtifactregistryV1::Package, decorator: Google::Apis::ArtifactregistryV1::Package::Representation
372
+
373
+ end
374
+ end
375
+
223
376
  class ListRepositoriesResponse
224
377
  # @private
225
378
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -229,6 +382,32 @@ module Google
229
382
  end
230
383
  end
231
384
 
385
+ class ListTagsResponse
386
+ # @private
387
+ class Representation < Google::Apis::Core::JsonRepresentation
388
+ property :next_page_token, as: 'nextPageToken'
389
+ collection :tags, as: 'tags', class: Google::Apis::ArtifactregistryV1::Tag, decorator: Google::Apis::ArtifactregistryV1::Tag::Representation
390
+
391
+ end
392
+ end
393
+
394
+ class ListVersionsResponse
395
+ # @private
396
+ class Representation < Google::Apis::Core::JsonRepresentation
397
+ property :next_page_token, as: 'nextPageToken'
398
+ collection :versions, as: 'versions', class: Google::Apis::ArtifactregistryV1::Version, decorator: Google::Apis::ArtifactregistryV1::Version::Representation
399
+
400
+ end
401
+ end
402
+
403
+ class MavenRepositoryConfig
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ property :allow_snapshot_overwrites, as: 'allowSnapshotOverwrites'
407
+ property :version_policy, as: 'versionPolicy'
408
+ end
409
+ end
410
+
232
411
  class Operation
233
412
  # @private
234
413
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -241,6 +420,34 @@ module Google
241
420
  end
242
421
  end
243
422
 
423
+ class Package
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ property :create_time, as: 'createTime'
427
+ property :display_name, as: 'displayName'
428
+ property :name, as: 'name'
429
+ property :update_time, as: 'updateTime'
430
+ end
431
+ end
432
+
433
+ class Policy
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ collection :bindings, as: 'bindings', class: Google::Apis::ArtifactregistryV1::Binding, decorator: Google::Apis::ArtifactregistryV1::Binding::Representation
437
+
438
+ property :etag, :base64 => true, as: 'etag'
439
+ property :version, as: 'version'
440
+ end
441
+ end
442
+
443
+ class ProjectSettings
444
+ # @private
445
+ class Representation < Google::Apis::Core::JsonRepresentation
446
+ property :legacy_redirection_state, as: 'legacyRedirectionState'
447
+ property :name, as: 'name'
448
+ end
449
+ end
450
+
244
451
  class Repository
245
452
  # @private
246
453
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -249,11 +456,21 @@ module Google
249
456
  property :format, as: 'format'
250
457
  property :kms_key_name, as: 'kmsKeyName'
251
458
  hash :labels, as: 'labels'
459
+ property :maven_config, as: 'mavenConfig', class: Google::Apis::ArtifactregistryV1::MavenRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::MavenRepositoryConfig::Representation
460
+
252
461
  property :name, as: 'name'
253
462
  property :update_time, as: 'updateTime'
254
463
  end
255
464
  end
256
465
 
466
+ class SetIamPolicyRequest
467
+ # @private
468
+ class Representation < Google::Apis::Core::JsonRepresentation
469
+ property :policy, as: 'policy', class: Google::Apis::ArtifactregistryV1::Policy, decorator: Google::Apis::ArtifactregistryV1::Policy::Representation
470
+
471
+ end
472
+ end
473
+
257
474
  class Status
258
475
  # @private
259
476
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -263,6 +480,28 @@ module Google
263
480
  end
264
481
  end
265
482
 
483
+ class Tag
484
+ # @private
485
+ class Representation < Google::Apis::Core::JsonRepresentation
486
+ property :name, as: 'name'
487
+ property :version, as: 'version'
488
+ end
489
+ end
490
+
491
+ class TestIamPermissionsRequest
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ collection :permissions, as: 'permissions'
495
+ end
496
+ end
497
+
498
+ class TestIamPermissionsResponse
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ collection :permissions, as: 'permissions'
502
+ end
503
+ end
504
+
266
505
  class UploadAptArtifactMediaResponse
267
506
  # @private
268
507
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -271,11 +510,23 @@ module Google
271
510
  end
272
511
  end
273
512
 
274
- class UploadAptArtifactResponse
513
+ class UploadAptArtifactRequest
275
514
  # @private
276
515
  class Representation < Google::Apis::Core::JsonRepresentation
277
- collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
516
+ end
517
+ end
278
518
 
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
279
530
  end
280
531
  end
281
532
 
@@ -287,21 +538,22 @@ module Google
287
538
  end
288
539
  end
289
540
 
290
- class UploadYumArtifactResponse
541
+ class UploadYumArtifactRequest
291
542
  # @private
292
543
  class Representation < Google::Apis::Core::JsonRepresentation
293
- collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
294
-
295
544
  end
296
545
  end
297
546
 
298
- class YumArtifact
547
+ class Version
299
548
  # @private
300
549
  class Representation < Google::Apis::Core::JsonRepresentation
301
- property :architecture, as: 'architecture'
550
+ property :create_time, as: 'createTime'
551
+ property :description, as: 'description'
552
+ hash :metadata, as: 'metadata'
302
553
  property :name, as: 'name'
303
- property :package_name, as: 'packageName'
304
- property :package_type, as: 'packageType'
554
+ collection :related_tags, as: 'relatedTags', class: Google::Apis::ArtifactregistryV1::Tag, decorator: Google::Apis::ArtifactregistryV1::Tag::Representation
555
+
556
+ property :update_time, as: 'updateTime'
305
557
  end
306
558
  end
307
559
  end