google-apis-artifactregistry_v1 0.21.0 → 0.22.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6de82b527e3a267ecf7f72050246e5e59759b6ccc455abd29c4ee30fce310962
4
- data.tar.gz: 9c0d3e4e6e40f65b90fc85b083eab9397bf7af04bfdb2632d94dac727a869304
3
+ metadata.gz: cc11dac7ba1a42ca57746a4a77c76090369b78e62838846c4cbeaa9dc13adaa1
4
+ data.tar.gz: 22cc5cde93b410b6dd5b505a6edc58af14d5bc267eff940a5ab5f6e821c7d05c
5
5
  SHA512:
6
- metadata.gz: 60686cfce7fd891acdb3e037660b77c2805d796f5f6966df3fb904be91a4b36399df438a34fc38cfec776fc1a965e7266e5a4c3870c59cba681fdd7387243cdd
7
- data.tar.gz: 95ccd7366caca6e3cc2cc2d145ebc35c1bc2a1f996a4200b0188d5ec54c525dcc3ff7c9f4c25ab9157bd0963b89c96dbc0d541e6b3876161c5ef675bb3f85a12
6
+ metadata.gz: e9e8ae0e6beb3f679a571cd01969043bbad1d9e91ed892f8886f2def2aa7b9f4d3134784d30e1ad1aa52fc6a566bbd3815bbdaf03cdb22d547029f08fa6fd6c8
7
+ data.tar.gz: e93c3b9d33243ce36d767b585bf162cfd68f55d0331ecacc17f1ef87ad063bbf87f853abe235361ee6f4c73f5a0c4a6dbccc68e1103cac916b0b6244bc811f6c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.22.0 (2022-03-31)
4
+
5
+ * Regenerated from discovery document revision 20220328
6
+
3
7
  ### v0.21.0 (2022-03-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20220311
@@ -22,6 +22,58 @@ module Google
22
22
  module Apis
23
23
  module ArtifactregistryV1
24
24
 
25
+ # A detailed representation of an Apt artifact. Information in the record is
26
+ # derived from the archive's control file. See https://www.debian.org/doc/debian-
27
+ # policy/ch-controlfields.html
28
+ class AptArtifact
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # Output only. Operating system architecture of the artifact.
32
+ # Corresponds to the JSON property `architecture`
33
+ # @return [String]
34
+ attr_accessor :architecture
35
+
36
+ # Output only. Repository component of the artifact.
37
+ # Corresponds to the JSON property `component`
38
+ # @return [String]
39
+ attr_accessor :component
40
+
41
+ # Output only. Contents of the artifact's control metadata file.
42
+ # Corresponds to the JSON property `controlFile`
43
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
44
+ # @return [String]
45
+ attr_accessor :control_file
46
+
47
+ # Output only. The Artifact Registry resource name of the artifact.
48
+ # Corresponds to the JSON property `name`
49
+ # @return [String]
50
+ attr_accessor :name
51
+
52
+ # Output only. The Apt package name of the artifact.
53
+ # Corresponds to the JSON property `packageName`
54
+ # @return [String]
55
+ attr_accessor :package_name
56
+
57
+ # Output only. An artifact is a binary or source package.
58
+ # Corresponds to the JSON property `packageType`
59
+ # @return [String]
60
+ attr_accessor :package_type
61
+
62
+ def initialize(**args)
63
+ update!(**args)
64
+ end
65
+
66
+ # Update properties of this object
67
+ def update!(**args)
68
+ @architecture = args[:architecture] if args.key?(:architecture)
69
+ @component = args[:component] if args.key?(:component)
70
+ @control_file = args[:control_file] if args.key?(:control_file)
71
+ @name = args[:name] if args.key?(:name)
72
+ @package_name = args[:package_name] if args.key?(:package_name)
73
+ @package_type = args[:package_type] if args.key?(:package_type)
74
+ end
75
+ end
76
+
25
77
  # Associates `members`, or principals, with a `role`.
26
78
  class Binding
27
79
  include Google::Apis::Core::Hashable
@@ -169,8 +221,7 @@ module Google
169
221
  # A generic empty message that you can re-use to avoid defining duplicated empty
170
222
  # messages in your APIs. A typical example is to use it as the request or the
171
223
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
172
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
173
- # `Empty` is empty JSON object ````.
224
+ # protobuf.Empty) returns (google.protobuf.Empty); `
174
225
  class Empty
175
226
  include Google::Apis::Core::Hashable
176
227
 
@@ -314,6 +365,36 @@ module Google
314
365
  end
315
366
  end
316
367
 
368
+ # Error information explaining why a package was not imported.
369
+ class ImportAptArtifactsErrorInfo
370
+ include Google::Apis::Core::Hashable
371
+
372
+ # The `Status` type defines a logical error model that is suitable for different
373
+ # programming environments, including REST APIs and RPC APIs. It is used by [
374
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
375
+ # data: error code, error message, and error details. You can find out more
376
+ # about this error model and how to work with it in the [API Design Guide](https:
377
+ # //cloud.google.com/apis/design/errors).
378
+ # Corresponds to the JSON property `error`
379
+ # @return [Google::Apis::ArtifactregistryV1::Status]
380
+ attr_accessor :error
381
+
382
+ # Google Cloud Storage location where the artifacts currently reside.
383
+ # Corresponds to the JSON property `gcsSource`
384
+ # @return [Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource]
385
+ attr_accessor :gcs_source
386
+
387
+ def initialize(**args)
388
+ update!(**args)
389
+ end
390
+
391
+ # Update properties of this object
392
+ def update!(**args)
393
+ @error = args[:error] if args.key?(:error)
394
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
395
+ end
396
+ end
397
+
317
398
  # Google Cloud Storage location where the artifacts currently reside.
318
399
  class ImportAptArtifactsGcsSource
319
400
  include Google::Apis::Core::Hashable
@@ -340,6 +421,19 @@ module Google
340
421
  end
341
422
  end
342
423
 
424
+ # The operation metadata for importing artifacts.
425
+ class ImportAptArtifactsMetadata
426
+ include Google::Apis::Core::Hashable
427
+
428
+ def initialize(**args)
429
+ update!(**args)
430
+ end
431
+
432
+ # Update properties of this object
433
+ def update!(**args)
434
+ end
435
+ end
436
+
343
437
  # The request to import new apt artifacts.
344
438
  class ImportAptArtifactsRequest
345
439
  include Google::Apis::Core::Hashable
@@ -359,6 +453,61 @@ module Google
359
453
  end
360
454
  end
361
455
 
456
+ # The response message from importing APT artifacts.
457
+ class ImportAptArtifactsResponse
458
+ include Google::Apis::Core::Hashable
459
+
460
+ # The Apt artifacts imported.
461
+ # Corresponds to the JSON property `aptArtifacts`
462
+ # @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
463
+ attr_accessor :apt_artifacts
464
+
465
+ # Detailed error info for packages that were not imported.
466
+ # Corresponds to the JSON property `errors`
467
+ # @return [Array<Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo>]
468
+ attr_accessor :errors
469
+
470
+ def initialize(**args)
471
+ update!(**args)
472
+ end
473
+
474
+ # Update properties of this object
475
+ def update!(**args)
476
+ @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
477
+ @errors = args[:errors] if args.key?(:errors)
478
+ end
479
+ end
480
+
481
+ # Error information explaining why a package was not imported.
482
+ class ImportYumArtifactsErrorInfo
483
+ include Google::Apis::Core::Hashable
484
+
485
+ # The `Status` type defines a logical error model that is suitable for different
486
+ # programming environments, including REST APIs and RPC APIs. It is used by [
487
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
488
+ # data: error code, error message, and error details. You can find out more
489
+ # about this error model and how to work with it in the [API Design Guide](https:
490
+ # //cloud.google.com/apis/design/errors).
491
+ # Corresponds to the JSON property `error`
492
+ # @return [Google::Apis::ArtifactregistryV1::Status]
493
+ attr_accessor :error
494
+
495
+ # Google Cloud Storage location where the artifacts currently reside.
496
+ # Corresponds to the JSON property `gcsSource`
497
+ # @return [Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource]
498
+ attr_accessor :gcs_source
499
+
500
+ def initialize(**args)
501
+ update!(**args)
502
+ end
503
+
504
+ # Update properties of this object
505
+ def update!(**args)
506
+ @error = args[:error] if args.key?(:error)
507
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
508
+ end
509
+ end
510
+
362
511
  # Google Cloud Storage location where the artifacts currently reside.
363
512
  class ImportYumArtifactsGcsSource
364
513
  include Google::Apis::Core::Hashable
@@ -385,6 +534,19 @@ module Google
385
534
  end
386
535
  end
387
536
 
537
+ # The operation metadata for importing artifacts.
538
+ class ImportYumArtifactsMetadata
539
+ include Google::Apis::Core::Hashable
540
+
541
+ def initialize(**args)
542
+ update!(**args)
543
+ end
544
+
545
+ # Update properties of this object
546
+ def update!(**args)
547
+ end
548
+ end
549
+
388
550
  # The request to import new yum artifacts.
389
551
  class ImportYumArtifactsRequest
390
552
  include Google::Apis::Core::Hashable
@@ -404,6 +566,31 @@ module Google
404
566
  end
405
567
  end
406
568
 
569
+ # The response message from importing YUM artifacts.
570
+ class ImportYumArtifactsResponse
571
+ include Google::Apis::Core::Hashable
572
+
573
+ # Detailed error info for packages that were not imported.
574
+ # Corresponds to the JSON property `errors`
575
+ # @return [Array<Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo>]
576
+ attr_accessor :errors
577
+
578
+ # The yum artifacts imported.
579
+ # Corresponds to the JSON property `yumArtifacts`
580
+ # @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
581
+ attr_accessor :yum_artifacts
582
+
583
+ def initialize(**args)
584
+ update!(**args)
585
+ end
586
+
587
+ # Update properties of this object
588
+ def update!(**args)
589
+ @errors = args[:errors] if args.key?(:errors)
590
+ @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
591
+ end
592
+ end
593
+
407
594
  # The response from listing docker images.
408
595
  class ListDockerImagesResponse
409
596
  include Google::Apis::Core::Hashable
@@ -721,6 +908,19 @@ module Google
721
908
  end
722
909
  end
723
910
 
911
+ # Metadata type for longrunning-operations, currently empty.
912
+ class OperationMetadata
913
+ include Google::Apis::Core::Hashable
914
+
915
+ def initialize(**args)
916
+ update!(**args)
917
+ end
918
+
919
+ # Update properties of this object
920
+ def update!(**args)
921
+ end
922
+ end
923
+
724
924
  # Packages are named collections of versions.
725
925
  class Package
726
926
  include Google::Apis::Core::Hashable
@@ -923,6 +1123,13 @@ module Google
923
1123
  # @return [String]
924
1124
  attr_accessor :name
925
1125
 
1126
+ # Output only. The size, in bytes, of all artifact storage in this repository.
1127
+ # Repositories that are generally available or in public preview use this to
1128
+ # calculate storage costs.
1129
+ # Corresponds to the JSON property `sizeBytes`
1130
+ # @return [Fixnum]
1131
+ attr_accessor :size_bytes
1132
+
926
1133
  # The time when the repository was last updated.
927
1134
  # Corresponds to the JSON property `updateTime`
928
1135
  # @return [String]
@@ -941,6 +1148,7 @@ module Google
941
1148
  @labels = args[:labels] if args.key?(:labels)
942
1149
  @maven_config = args[:maven_config] if args.key?(:maven_config)
943
1150
  @name = args[:name] if args.key?(:name)
1151
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
944
1152
  @update_time = args[:update_time] if args.key?(:update_time)
945
1153
  end
946
1154
  end
@@ -1133,6 +1341,26 @@ module Google
1133
1341
  end
1134
1342
  end
1135
1343
 
1344
+ # The response of the completed artifact upload operation. This response is
1345
+ # contained in the Operation and available to users.
1346
+ class UploadAptArtifactResponse
1347
+ include Google::Apis::Core::Hashable
1348
+
1349
+ # The Apt artifacts updated.
1350
+ # Corresponds to the JSON property `aptArtifacts`
1351
+ # @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
1352
+ attr_accessor :apt_artifacts
1353
+
1354
+ def initialize(**args)
1355
+ update!(**args)
1356
+ end
1357
+
1358
+ # Update properties of this object
1359
+ def update!(**args)
1360
+ @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
1361
+ end
1362
+ end
1363
+
1136
1364
  # The response to upload an artifact.
1137
1365
  class UploadYumArtifactMediaResponse
1138
1366
  include Google::Apis::Core::Hashable
@@ -1166,6 +1394,26 @@ module Google
1166
1394
  end
1167
1395
  end
1168
1396
 
1397
+ # The response of the completed artifact upload operation. This response is
1398
+ # contained in the Operation and available to users.
1399
+ class UploadYumArtifactResponse
1400
+ include Google::Apis::Core::Hashable
1401
+
1402
+ # The Apt artifacts updated.
1403
+ # Corresponds to the JSON property `yumArtifacts`
1404
+ # @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
1405
+ attr_accessor :yum_artifacts
1406
+
1407
+ def initialize(**args)
1408
+ update!(**args)
1409
+ end
1410
+
1411
+ # Update properties of this object
1412
+ def update!(**args)
1413
+ @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
1414
+ end
1415
+ end
1416
+
1169
1417
  # The body of a version resource. A version resource represents a collection of
1170
1418
  # components, such as files and other data. This may correspond to a version in
1171
1419
  # many package management schemes.
@@ -1221,6 +1469,43 @@ module Google
1221
1469
  @update_time = args[:update_time] if args.key?(:update_time)
1222
1470
  end
1223
1471
  end
1472
+
1473
+ # A detailed representation of a Yum artifact.
1474
+ class YumArtifact
1475
+ include Google::Apis::Core::Hashable
1476
+
1477
+ # Output only. Operating system architecture of the artifact.
1478
+ # Corresponds to the JSON property `architecture`
1479
+ # @return [String]
1480
+ attr_accessor :architecture
1481
+
1482
+ # Output only. The Artifact Registry resource name of the artifact.
1483
+ # Corresponds to the JSON property `name`
1484
+ # @return [String]
1485
+ attr_accessor :name
1486
+
1487
+ # Output only. The yum package name of the artifact.
1488
+ # Corresponds to the JSON property `packageName`
1489
+ # @return [String]
1490
+ attr_accessor :package_name
1491
+
1492
+ # Output only. An artifact is a binary or source package.
1493
+ # Corresponds to the JSON property `packageType`
1494
+ # @return [String]
1495
+ attr_accessor :package_type
1496
+
1497
+ def initialize(**args)
1498
+ update!(**args)
1499
+ end
1500
+
1501
+ # Update properties of this object
1502
+ def update!(**args)
1503
+ @architecture = args[:architecture] if args.key?(:architecture)
1504
+ @name = args[:name] if args.key?(:name)
1505
+ @package_name = args[:package_name] if args.key?(:package_name)
1506
+ @package_type = args[:package_type] if args.key?(:package_type)
1507
+ end
1508
+ end
1224
1509
  end
1225
1510
  end
1226
1511
  end
@@ -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.21.0"
19
+ GEM_VERSION = "0.22.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 = "20220311"
25
+ REVISION = "20220328"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ArtifactregistryV1
24
24
 
25
+ class AptArtifact
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class Binding
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -58,30 +64,66 @@ module Google
58
64
  include Google::Apis::Core::JsonObjectSupport
59
65
  end
60
66
 
67
+ class ImportAptArtifactsErrorInfo
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
61
73
  class ImportAptArtifactsGcsSource
62
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
75
 
64
76
  include Google::Apis::Core::JsonObjectSupport
65
77
  end
66
78
 
79
+ class ImportAptArtifactsMetadata
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
67
85
  class ImportAptArtifactsRequest
68
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
87
 
70
88
  include Google::Apis::Core::JsonObjectSupport
71
89
  end
72
90
 
91
+ class ImportAptArtifactsResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ImportYumArtifactsErrorInfo
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
73
103
  class ImportYumArtifactsGcsSource
74
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
105
 
76
106
  include Google::Apis::Core::JsonObjectSupport
77
107
  end
78
108
 
109
+ class ImportYumArtifactsMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
79
115
  class ImportYumArtifactsRequest
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 ImportYumArtifactsResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
85
127
  class ListDockerImagesResponse
86
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
129
 
@@ -142,6 +184,12 @@ module Google
142
184
  include Google::Apis::Core::JsonObjectSupport
143
185
  end
144
186
 
187
+ class OperationMetadata
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
145
193
  class Package
146
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
195
 
@@ -208,6 +256,12 @@ module Google
208
256
  include Google::Apis::Core::JsonObjectSupport
209
257
  end
210
258
 
259
+ class UploadAptArtifactResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
211
265
  class UploadYumArtifactMediaResponse
212
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
267
 
@@ -220,12 +274,36 @@ module Google
220
274
  include Google::Apis::Core::JsonObjectSupport
221
275
  end
222
276
 
277
+ class UploadYumArtifactResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
223
283
  class Version
224
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
285
 
226
286
  include Google::Apis::Core::JsonObjectSupport
227
287
  end
228
288
 
289
+ class YumArtifact
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class AptArtifact
296
+ # @private
297
+ class Representation < Google::Apis::Core::JsonRepresentation
298
+ property :architecture, as: 'architecture'
299
+ property :component, as: 'component'
300
+ property :control_file, :base64 => true, as: 'controlFile'
301
+ property :name, as: 'name'
302
+ property :package_name, as: 'packageName'
303
+ property :package_type, as: 'packageType'
304
+ end
305
+ end
306
+
229
307
  class Binding
230
308
  # @private
231
309
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -286,6 +364,16 @@ module Google
286
364
  end
287
365
  end
288
366
 
367
+ class ImportAptArtifactsErrorInfo
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
371
+
372
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource::Representation
373
+
374
+ end
375
+ end
376
+
289
377
  class ImportAptArtifactsGcsSource
290
378
  # @private
291
379
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -294,6 +382,12 @@ module Google
294
382
  end
295
383
  end
296
384
 
385
+ class ImportAptArtifactsMetadata
386
+ # @private
387
+ class Representation < Google::Apis::Core::JsonRepresentation
388
+ end
389
+ end
390
+
297
391
  class ImportAptArtifactsRequest
298
392
  # @private
299
393
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -302,6 +396,26 @@ module Google
302
396
  end
303
397
  end
304
398
 
399
+ class ImportAptArtifactsResponse
400
+ # @private
401
+ class Representation < Google::Apis::Core::JsonRepresentation
402
+ collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
403
+
404
+ collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo::Representation
405
+
406
+ end
407
+ end
408
+
409
+ class ImportYumArtifactsErrorInfo
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
413
+
414
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource::Representation
415
+
416
+ end
417
+ end
418
+
305
419
  class ImportYumArtifactsGcsSource
306
420
  # @private
307
421
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -310,6 +424,12 @@ module Google
310
424
  end
311
425
  end
312
426
 
427
+ class ImportYumArtifactsMetadata
428
+ # @private
429
+ class Representation < Google::Apis::Core::JsonRepresentation
430
+ end
431
+ end
432
+
313
433
  class ImportYumArtifactsRequest
314
434
  # @private
315
435
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -318,6 +438,16 @@ module Google
318
438
  end
319
439
  end
320
440
 
441
+ class ImportYumArtifactsResponse
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo::Representation
445
+
446
+ collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
447
+
448
+ end
449
+ end
450
+
321
451
  class ListDockerImagesResponse
322
452
  # @private
323
453
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -412,6 +542,12 @@ module Google
412
542
  end
413
543
  end
414
544
 
545
+ class OperationMetadata
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ end
549
+ end
550
+
415
551
  class Package
416
552
  # @private
417
553
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -451,6 +587,7 @@ module Google
451
587
  property :maven_config, as: 'mavenConfig', class: Google::Apis::ArtifactregistryV1::MavenRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::MavenRepositoryConfig::Representation
452
588
 
453
589
  property :name, as: 'name'
590
+ property :size_bytes, :numeric_string => true, as: 'sizeBytes'
454
591
  property :update_time, as: 'updateTime'
455
592
  end
456
593
  end
@@ -508,6 +645,14 @@ module Google
508
645
  end
509
646
  end
510
647
 
648
+ class UploadAptArtifactResponse
649
+ # @private
650
+ class Representation < Google::Apis::Core::JsonRepresentation
651
+ collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
652
+
653
+ end
654
+ end
655
+
511
656
  class UploadYumArtifactMediaResponse
512
657
  # @private
513
658
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -522,6 +667,14 @@ module Google
522
667
  end
523
668
  end
524
669
 
670
+ class UploadYumArtifactResponse
671
+ # @private
672
+ class Representation < Google::Apis::Core::JsonRepresentation
673
+ collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
674
+
675
+ end
676
+ end
677
+
525
678
  class Version
526
679
  # @private
527
680
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -534,6 +687,16 @@ module Google
534
687
  property :update_time, as: 'updateTime'
535
688
  end
536
689
  end
690
+
691
+ class YumArtifact
692
+ # @private
693
+ class Representation < Google::Apis::Core::JsonRepresentation
694
+ property :architecture, as: 'architecture'
695
+ property :name, as: 'name'
696
+ property :package_name, as: 'packageName'
697
+ property :package_type, as: 'packageType'
698
+ end
699
+ end
537
700
  end
538
701
  end
539
702
  end
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.21.0
4
+ version: 0.22.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-03-21 00:00:00.000000000 Z
11
+ date: 2022-04-04 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.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.22.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: []