google-apis-artifactregistry_v1 0.21.0 → 0.24.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: 6de82b527e3a267ecf7f72050246e5e59759b6ccc455abd29c4ee30fce310962
4
- data.tar.gz: 9c0d3e4e6e40f65b90fc85b083eab9397bf7af04bfdb2632d94dac727a869304
3
+ metadata.gz: 88e979a135716105e38146edf4393a93d63a2a26508a74ae9e9357a4f41265ad
4
+ data.tar.gz: 14a89670092bc5cb0803d6990fa735db379446b67a4d10e3a5bb9d50fca2c102
5
5
  SHA512:
6
- metadata.gz: 60686cfce7fd891acdb3e037660b77c2805d796f5f6966df3fb904be91a4b36399df438a34fc38cfec776fc1a965e7266e5a4c3870c59cba681fdd7387243cdd
7
- data.tar.gz: 95ccd7366caca6e3cc2cc2d145ebc35c1bc2a1f996a4200b0188d5ec54c525dcc3ff7c9f4c25ab9157bd0963b89c96dbc0d541e6b3876161c5ef675bb3f85a12
6
+ metadata.gz: 2d04286c3827fda2406d10383f64ffca9095564a798cdfdb81506004adfe6050200dd5c7d0eae1ff8893ff37bbc3b71201a76ae2834c73cec6500feb34aae894
7
+ data.tar.gz: 81289b131bca80bfc500d20d2a55482e4ab8f589b3f6e17d3a4be287f35f5cc4d230fead97903c448231ae5e9b96667979ee05a4bd9ded6b733534e0c7c89f1d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.24.0 (2022-04-22)
4
+
5
+ * Regenerated from discovery document revision 20220415
6
+
7
+ ### v0.23.0 (2022-04-06)
8
+
9
+ * Regenerated from discovery document revision 20220401
10
+
11
+ ### v0.22.0 (2022-03-31)
12
+
13
+ * Regenerated from discovery document revision 20220328
14
+
3
15
  ### v0.21.0 (2022-03-17)
4
16
 
5
17
  * Regenerated from discovery document revision 20220311
@@ -22,6 +22,77 @@ 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
+
77
+ # The metadata of an LRO from deleting multiple versions.
78
+ class BatchDeleteVersionsMetadata
79
+ include Google::Apis::Core::Hashable
80
+
81
+ # The versions the operation failed to delete.
82
+ # Corresponds to the JSON property `failedVersions`
83
+ # @return [Array<Google::Apis::ArtifactregistryV1::Version>]
84
+ attr_accessor :failed_versions
85
+
86
+ def initialize(**args)
87
+ update!(**args)
88
+ end
89
+
90
+ # Update properties of this object
91
+ def update!(**args)
92
+ @failed_versions = args[:failed_versions] if args.key?(:failed_versions)
93
+ end
94
+ end
95
+
25
96
  # Associates `members`, or principals, with a `role`.
26
97
  class Binding
27
98
  include Google::Apis::Core::Hashable
@@ -45,7 +116,7 @@ module Google
45
116
  # @return [Google::Apis::ArtifactregistryV1::Expr]
46
117
  attr_accessor :condition
47
118
 
48
- # Specifies the principals requesting access for a Cloud Platform resource. `
119
+ # Specifies the principals requesting access for a Google Cloud resource. `
49
120
  # members` can have the following values: * `allUsers`: A special identifier
50
121
  # that represents anyone who is on the internet; with or without a Google
51
122
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -169,8 +240,7 @@ module Google
169
240
  # A generic empty message that you can re-use to avoid defining duplicated empty
170
241
  # messages in your APIs. A typical example is to use it as the request or the
171
242
  # 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 ````.
243
+ # protobuf.Empty) returns (google.protobuf.Empty); `
174
244
  class Empty
175
245
  include Google::Apis::Core::Hashable
176
246
 
@@ -314,6 +384,36 @@ module Google
314
384
  end
315
385
  end
316
386
 
387
+ # Error information explaining why a package was not imported.
388
+ class ImportAptArtifactsErrorInfo
389
+ include Google::Apis::Core::Hashable
390
+
391
+ # The `Status` type defines a logical error model that is suitable for different
392
+ # programming environments, including REST APIs and RPC APIs. It is used by [
393
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
394
+ # data: error code, error message, and error details. You can find out more
395
+ # about this error model and how to work with it in the [API Design Guide](https:
396
+ # //cloud.google.com/apis/design/errors).
397
+ # Corresponds to the JSON property `error`
398
+ # @return [Google::Apis::ArtifactregistryV1::Status]
399
+ attr_accessor :error
400
+
401
+ # Google Cloud Storage location where the artifacts currently reside.
402
+ # Corresponds to the JSON property `gcsSource`
403
+ # @return [Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource]
404
+ attr_accessor :gcs_source
405
+
406
+ def initialize(**args)
407
+ update!(**args)
408
+ end
409
+
410
+ # Update properties of this object
411
+ def update!(**args)
412
+ @error = args[:error] if args.key?(:error)
413
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
414
+ end
415
+ end
416
+
317
417
  # Google Cloud Storage location where the artifacts currently reside.
318
418
  class ImportAptArtifactsGcsSource
319
419
  include Google::Apis::Core::Hashable
@@ -340,6 +440,19 @@ module Google
340
440
  end
341
441
  end
342
442
 
443
+ # The operation metadata for importing artifacts.
444
+ class ImportAptArtifactsMetadata
445
+ include Google::Apis::Core::Hashable
446
+
447
+ def initialize(**args)
448
+ update!(**args)
449
+ end
450
+
451
+ # Update properties of this object
452
+ def update!(**args)
453
+ end
454
+ end
455
+
343
456
  # The request to import new apt artifacts.
344
457
  class ImportAptArtifactsRequest
345
458
  include Google::Apis::Core::Hashable
@@ -359,6 +472,61 @@ module Google
359
472
  end
360
473
  end
361
474
 
475
+ # The response message from importing APT artifacts.
476
+ class ImportAptArtifactsResponse
477
+ include Google::Apis::Core::Hashable
478
+
479
+ # The Apt artifacts imported.
480
+ # Corresponds to the JSON property `aptArtifacts`
481
+ # @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
482
+ attr_accessor :apt_artifacts
483
+
484
+ # Detailed error info for packages that were not imported.
485
+ # Corresponds to the JSON property `errors`
486
+ # @return [Array<Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo>]
487
+ attr_accessor :errors
488
+
489
+ def initialize(**args)
490
+ update!(**args)
491
+ end
492
+
493
+ # Update properties of this object
494
+ def update!(**args)
495
+ @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
496
+ @errors = args[:errors] if args.key?(:errors)
497
+ end
498
+ end
499
+
500
+ # Error information explaining why a package was not imported.
501
+ class ImportYumArtifactsErrorInfo
502
+ include Google::Apis::Core::Hashable
503
+
504
+ # The `Status` type defines a logical error model that is suitable for different
505
+ # programming environments, including REST APIs and RPC APIs. It is used by [
506
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
507
+ # data: error code, error message, and error details. You can find out more
508
+ # about this error model and how to work with it in the [API Design Guide](https:
509
+ # //cloud.google.com/apis/design/errors).
510
+ # Corresponds to the JSON property `error`
511
+ # @return [Google::Apis::ArtifactregistryV1::Status]
512
+ attr_accessor :error
513
+
514
+ # Google Cloud Storage location where the artifacts currently reside.
515
+ # Corresponds to the JSON property `gcsSource`
516
+ # @return [Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource]
517
+ attr_accessor :gcs_source
518
+
519
+ def initialize(**args)
520
+ update!(**args)
521
+ end
522
+
523
+ # Update properties of this object
524
+ def update!(**args)
525
+ @error = args[:error] if args.key?(:error)
526
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
527
+ end
528
+ end
529
+
362
530
  # Google Cloud Storage location where the artifacts currently reside.
363
531
  class ImportYumArtifactsGcsSource
364
532
  include Google::Apis::Core::Hashable
@@ -385,6 +553,19 @@ module Google
385
553
  end
386
554
  end
387
555
 
556
+ # The operation metadata for importing artifacts.
557
+ class ImportYumArtifactsMetadata
558
+ include Google::Apis::Core::Hashable
559
+
560
+ def initialize(**args)
561
+ update!(**args)
562
+ end
563
+
564
+ # Update properties of this object
565
+ def update!(**args)
566
+ end
567
+ end
568
+
388
569
  # The request to import new yum artifacts.
389
570
  class ImportYumArtifactsRequest
390
571
  include Google::Apis::Core::Hashable
@@ -404,6 +585,31 @@ module Google
404
585
  end
405
586
  end
406
587
 
588
+ # The response message from importing YUM artifacts.
589
+ class ImportYumArtifactsResponse
590
+ include Google::Apis::Core::Hashable
591
+
592
+ # Detailed error info for packages that were not imported.
593
+ # Corresponds to the JSON property `errors`
594
+ # @return [Array<Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo>]
595
+ attr_accessor :errors
596
+
597
+ # The yum artifacts imported.
598
+ # Corresponds to the JSON property `yumArtifacts`
599
+ # @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
600
+ attr_accessor :yum_artifacts
601
+
602
+ def initialize(**args)
603
+ update!(**args)
604
+ end
605
+
606
+ # Update properties of this object
607
+ def update!(**args)
608
+ @errors = args[:errors] if args.key?(:errors)
609
+ @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
610
+ end
611
+ end
612
+
407
613
  # The response from listing docker images.
408
614
  class ListDockerImagesResponse
409
615
  include Google::Apis::Core::Hashable
@@ -721,6 +927,19 @@ module Google
721
927
  end
722
928
  end
723
929
 
930
+ # Metadata type for longrunning-operations, currently empty.
931
+ class OperationMetadata
932
+ include Google::Apis::Core::Hashable
933
+
934
+ def initialize(**args)
935
+ update!(**args)
936
+ end
937
+
938
+ # Update properties of this object
939
+ def update!(**args)
940
+ end
941
+ end
942
+
724
943
  # Packages are named collections of versions.
725
944
  class Package
726
945
  include Google::Apis::Core::Hashable
@@ -923,6 +1142,13 @@ module Google
923
1142
  # @return [String]
924
1143
  attr_accessor :name
925
1144
 
1145
+ # Output only. The size, in bytes, of all artifact storage in this repository.
1146
+ # Repositories that are generally available or in public preview use this to
1147
+ # calculate storage costs.
1148
+ # Corresponds to the JSON property `sizeBytes`
1149
+ # @return [Fixnum]
1150
+ attr_accessor :size_bytes
1151
+
926
1152
  # The time when the repository was last updated.
927
1153
  # Corresponds to the JSON property `updateTime`
928
1154
  # @return [String]
@@ -941,6 +1167,7 @@ module Google
941
1167
  @labels = args[:labels] if args.key?(:labels)
942
1168
  @maven_config = args[:maven_config] if args.key?(:maven_config)
943
1169
  @name = args[:name] if args.key?(:name)
1170
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
944
1171
  @update_time = args[:update_time] if args.key?(:update_time)
945
1172
  end
946
1173
  end
@@ -1065,7 +1292,7 @@ module Google
1065
1292
  include Google::Apis::Core::Hashable
1066
1293
 
1067
1294
  # The set of permissions to check for the `resource`. Permissions with wildcards
1068
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
1295
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
1069
1296
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
1070
1297
  # Corresponds to the JSON property `permissions`
1071
1298
  # @return [Array<String>]
@@ -1120,6 +1347,19 @@ module Google
1120
1347
  end
1121
1348
  end
1122
1349
 
1350
+ # The operation metadata for uploading artifacts.
1351
+ class UploadAptArtifactMetadata
1352
+ include Google::Apis::Core::Hashable
1353
+
1354
+ def initialize(**args)
1355
+ update!(**args)
1356
+ end
1357
+
1358
+ # Update properties of this object
1359
+ def update!(**args)
1360
+ end
1361
+ end
1362
+
1123
1363
  # The request to upload an artifact.
1124
1364
  class UploadAptArtifactRequest
1125
1365
  include Google::Apis::Core::Hashable
@@ -1133,6 +1373,26 @@ module Google
1133
1373
  end
1134
1374
  end
1135
1375
 
1376
+ # The response of the completed artifact upload operation. This response is
1377
+ # contained in the Operation and available to users.
1378
+ class UploadAptArtifactResponse
1379
+ include Google::Apis::Core::Hashable
1380
+
1381
+ # The Apt artifacts updated.
1382
+ # Corresponds to the JSON property `aptArtifacts`
1383
+ # @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
1384
+ attr_accessor :apt_artifacts
1385
+
1386
+ def initialize(**args)
1387
+ update!(**args)
1388
+ end
1389
+
1390
+ # Update properties of this object
1391
+ def update!(**args)
1392
+ @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
1393
+ end
1394
+ end
1395
+
1136
1396
  # The response to upload an artifact.
1137
1397
  class UploadYumArtifactMediaResponse
1138
1398
  include Google::Apis::Core::Hashable
@@ -1153,6 +1413,19 @@ module Google
1153
1413
  end
1154
1414
  end
1155
1415
 
1416
+ # The operation metadata for uploading artifacts.
1417
+ class UploadYumArtifactMetadata
1418
+ include Google::Apis::Core::Hashable
1419
+
1420
+ def initialize(**args)
1421
+ update!(**args)
1422
+ end
1423
+
1424
+ # Update properties of this object
1425
+ def update!(**args)
1426
+ end
1427
+ end
1428
+
1156
1429
  # The request to upload an artifact.
1157
1430
  class UploadYumArtifactRequest
1158
1431
  include Google::Apis::Core::Hashable
@@ -1166,6 +1439,26 @@ module Google
1166
1439
  end
1167
1440
  end
1168
1441
 
1442
+ # The response of the completed artifact upload operation. This response is
1443
+ # contained in the Operation and available to users.
1444
+ class UploadYumArtifactResponse
1445
+ include Google::Apis::Core::Hashable
1446
+
1447
+ # The Apt artifacts updated.
1448
+ # Corresponds to the JSON property `yumArtifacts`
1449
+ # @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
1450
+ attr_accessor :yum_artifacts
1451
+
1452
+ def initialize(**args)
1453
+ update!(**args)
1454
+ end
1455
+
1456
+ # Update properties of this object
1457
+ def update!(**args)
1458
+ @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
1459
+ end
1460
+ end
1461
+
1169
1462
  # The body of a version resource. A version resource represents a collection of
1170
1463
  # components, such as files and other data. This may correspond to a version in
1171
1464
  # many package management schemes.
@@ -1221,6 +1514,43 @@ module Google
1221
1514
  @update_time = args[:update_time] if args.key?(:update_time)
1222
1515
  end
1223
1516
  end
1517
+
1518
+ # A detailed representation of a Yum artifact.
1519
+ class YumArtifact
1520
+ include Google::Apis::Core::Hashable
1521
+
1522
+ # Output only. Operating system architecture of the artifact.
1523
+ # Corresponds to the JSON property `architecture`
1524
+ # @return [String]
1525
+ attr_accessor :architecture
1526
+
1527
+ # Output only. The Artifact Registry resource name of the artifact.
1528
+ # Corresponds to the JSON property `name`
1529
+ # @return [String]
1530
+ attr_accessor :name
1531
+
1532
+ # Output only. The yum package name of the artifact.
1533
+ # Corresponds to the JSON property `packageName`
1534
+ # @return [String]
1535
+ attr_accessor :package_name
1536
+
1537
+ # Output only. An artifact is a binary or source package.
1538
+ # Corresponds to the JSON property `packageType`
1539
+ # @return [String]
1540
+ attr_accessor :package_type
1541
+
1542
+ def initialize(**args)
1543
+ update!(**args)
1544
+ end
1545
+
1546
+ # Update properties of this object
1547
+ def update!(**args)
1548
+ @architecture = args[:architecture] if args.key?(:architecture)
1549
+ @name = args[:name] if args.key?(:name)
1550
+ @package_name = args[:package_name] if args.key?(:package_name)
1551
+ @package_type = args[:package_type] if args.key?(:package_type)
1552
+ end
1553
+ end
1224
1554
  end
1225
1555
  end
1226
1556
  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.24.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 = "20220415"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ 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
+
31
+ class BatchDeleteVersionsMetadata
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class Binding
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -58,30 +70,66 @@ module Google
58
70
  include Google::Apis::Core::JsonObjectSupport
59
71
  end
60
72
 
73
+ class ImportAptArtifactsErrorInfo
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
61
79
  class ImportAptArtifactsGcsSource
62
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
81
 
64
82
  include Google::Apis::Core::JsonObjectSupport
65
83
  end
66
84
 
85
+ class ImportAptArtifactsMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
67
91
  class ImportAptArtifactsRequest
68
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
93
 
70
94
  include Google::Apis::Core::JsonObjectSupport
71
95
  end
72
96
 
97
+ class ImportAptArtifactsResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ImportYumArtifactsErrorInfo
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
73
109
  class ImportYumArtifactsGcsSource
74
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
111
 
76
112
  include Google::Apis::Core::JsonObjectSupport
77
113
  end
78
114
 
115
+ class ImportYumArtifactsMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
79
121
  class ImportYumArtifactsRequest
80
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
123
 
82
124
  include Google::Apis::Core::JsonObjectSupport
83
125
  end
84
126
 
127
+ class ImportYumArtifactsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
85
133
  class ListDockerImagesResponse
86
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
135
 
@@ -142,6 +190,12 @@ module Google
142
190
  include Google::Apis::Core::JsonObjectSupport
143
191
  end
144
192
 
193
+ class OperationMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
145
199
  class Package
146
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
201
 
@@ -202,30 +256,80 @@ module Google
202
256
  include Google::Apis::Core::JsonObjectSupport
203
257
  end
204
258
 
259
+ class UploadAptArtifactMetadata
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
205
265
  class UploadAptArtifactRequest
206
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
267
 
208
268
  include Google::Apis::Core::JsonObjectSupport
209
269
  end
210
270
 
271
+ class UploadAptArtifactResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
211
277
  class UploadYumArtifactMediaResponse
212
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
279
 
214
280
  include Google::Apis::Core::JsonObjectSupport
215
281
  end
216
282
 
283
+ class UploadYumArtifactMetadata
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
217
289
  class UploadYumArtifactRequest
218
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
291
 
220
292
  include Google::Apis::Core::JsonObjectSupport
221
293
  end
222
294
 
295
+ class UploadYumArtifactResponse
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
223
301
  class Version
224
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
303
 
226
304
  include Google::Apis::Core::JsonObjectSupport
227
305
  end
228
306
 
307
+ class YumArtifact
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class AptArtifact
314
+ # @private
315
+ class Representation < Google::Apis::Core::JsonRepresentation
316
+ property :architecture, as: 'architecture'
317
+ property :component, as: 'component'
318
+ property :control_file, :base64 => true, as: 'controlFile'
319
+ property :name, as: 'name'
320
+ property :package_name, as: 'packageName'
321
+ property :package_type, as: 'packageType'
322
+ end
323
+ end
324
+
325
+ class BatchDeleteVersionsMetadata
326
+ # @private
327
+ class Representation < Google::Apis::Core::JsonRepresentation
328
+ collection :failed_versions, as: 'failedVersions', class: Google::Apis::ArtifactregistryV1::Version, decorator: Google::Apis::ArtifactregistryV1::Version::Representation
329
+
330
+ end
331
+ end
332
+
229
333
  class Binding
230
334
  # @private
231
335
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -286,6 +390,16 @@ module Google
286
390
  end
287
391
  end
288
392
 
393
+ class ImportAptArtifactsErrorInfo
394
+ # @private
395
+ class Representation < Google::Apis::Core::JsonRepresentation
396
+ property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
397
+
398
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource::Representation
399
+
400
+ end
401
+ end
402
+
289
403
  class ImportAptArtifactsGcsSource
290
404
  # @private
291
405
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -294,6 +408,12 @@ module Google
294
408
  end
295
409
  end
296
410
 
411
+ class ImportAptArtifactsMetadata
412
+ # @private
413
+ class Representation < Google::Apis::Core::JsonRepresentation
414
+ end
415
+ end
416
+
297
417
  class ImportAptArtifactsRequest
298
418
  # @private
299
419
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -302,6 +422,26 @@ module Google
302
422
  end
303
423
  end
304
424
 
425
+ class ImportAptArtifactsResponse
426
+ # @private
427
+ class Representation < Google::Apis::Core::JsonRepresentation
428
+ collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
429
+
430
+ collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo::Representation
431
+
432
+ end
433
+ end
434
+
435
+ class ImportYumArtifactsErrorInfo
436
+ # @private
437
+ class Representation < Google::Apis::Core::JsonRepresentation
438
+ property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
439
+
440
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource::Representation
441
+
442
+ end
443
+ end
444
+
305
445
  class ImportYumArtifactsGcsSource
306
446
  # @private
307
447
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -310,6 +450,12 @@ module Google
310
450
  end
311
451
  end
312
452
 
453
+ class ImportYumArtifactsMetadata
454
+ # @private
455
+ class Representation < Google::Apis::Core::JsonRepresentation
456
+ end
457
+ end
458
+
313
459
  class ImportYumArtifactsRequest
314
460
  # @private
315
461
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -318,6 +464,16 @@ module Google
318
464
  end
319
465
  end
320
466
 
467
+ class ImportYumArtifactsResponse
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo::Representation
471
+
472
+ collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
473
+
474
+ end
475
+ end
476
+
321
477
  class ListDockerImagesResponse
322
478
  # @private
323
479
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -412,6 +568,12 @@ module Google
412
568
  end
413
569
  end
414
570
 
571
+ class OperationMetadata
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ end
575
+ end
576
+
415
577
  class Package
416
578
  # @private
417
579
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -451,6 +613,7 @@ module Google
451
613
  property :maven_config, as: 'mavenConfig', class: Google::Apis::ArtifactregistryV1::MavenRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::MavenRepositoryConfig::Representation
452
614
 
453
615
  property :name, as: 'name'
616
+ property :size_bytes, :numeric_string => true, as: 'sizeBytes'
454
617
  property :update_time, as: 'updateTime'
455
618
  end
456
619
  end
@@ -502,12 +665,26 @@ module Google
502
665
  end
503
666
  end
504
667
 
668
+ class UploadAptArtifactMetadata
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ end
672
+ end
673
+
505
674
  class UploadAptArtifactRequest
506
675
  # @private
507
676
  class Representation < Google::Apis::Core::JsonRepresentation
508
677
  end
509
678
  end
510
679
 
680
+ class UploadAptArtifactResponse
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
684
+
685
+ end
686
+ end
687
+
511
688
  class UploadYumArtifactMediaResponse
512
689
  # @private
513
690
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -516,12 +693,26 @@ module Google
516
693
  end
517
694
  end
518
695
 
696
+ class UploadYumArtifactMetadata
697
+ # @private
698
+ class Representation < Google::Apis::Core::JsonRepresentation
699
+ end
700
+ end
701
+
519
702
  class UploadYumArtifactRequest
520
703
  # @private
521
704
  class Representation < Google::Apis::Core::JsonRepresentation
522
705
  end
523
706
  end
524
707
 
708
+ class UploadYumArtifactResponse
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
712
+
713
+ end
714
+ end
715
+
525
716
  class Version
526
717
  # @private
527
718
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -534,6 +725,16 @@ module Google
534
725
  property :update_time, as: 'updateTime'
535
726
  end
536
727
  end
728
+
729
+ class YumArtifact
730
+ # @private
731
+ class Representation < Google::Apis::Core::JsonRepresentation
732
+ property :architecture, as: 'architecture'
733
+ property :name, as: 'name'
734
+ property :package_name, as: 'packageName'
735
+ property :package_type, as: 'packageType'
736
+ end
737
+ end
537
738
  end
538
739
  end
539
740
  end
@@ -152,8 +152,8 @@ module Google
152
152
  # The resource that owns the locations collection, if applicable.
153
153
  # @param [String] filter
154
154
  # A filter to narrow down results to a preferred subset. The filtering language
155
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
156
- # AIP-160](https://google.aip.dev/160).
155
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
156
+ # in [AIP-160](https://google.aip.dev/160).
157
157
  # @param [Fixnum] page_size
158
158
  # The maximum number of results to return. If not set, the service selects a
159
159
  # default.
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.24.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-25 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.24.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: []