google-apis-artifactregistry_v1beta1 0.8.0 → 0.12.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: 723522e55858681c50aa343ef6f599af8a06c3ffb0cc79a2c475227f96d75110
4
- data.tar.gz: 755ce99441e4ef60f46dee46a97926e1018a6cb6afc03b18bfe1a69003b29c7b
3
+ metadata.gz: 27282d8df15231d54aa5f2eb8286d30b18d16e64b367043d234d7665ef448525
4
+ data.tar.gz: 14d4da496f235eac3631f97e38288697c41dd05dbe20cff40a0c02c171ece5bb
5
5
  SHA512:
6
- metadata.gz: b01ff9f0e8140c5ad5c694f871599f480707f174114ffee7c7b6068b7fb929181b4e15bf5a303c0f54ea807a4a5eff1f6939bc202ed20c26928a1e22c9f2db4a
7
- data.tar.gz: 307e542d3e279d1c215f250a679b380ee19d73cd30d52bdf38b2407ba04e76346ea53d28056f2f423004e9e6e1d258f64a2dbd4003bd772c7674495dd8d8f489
6
+ metadata.gz: 4cfd9c604ad7c9cf483a7e3eb092c3513e6a7550874e3e3d49d4b6f7afeee809e6735e7a560210254189861d62f33caa99a00a5910628ecfa7b15ab5668bcf42
7
+ data.tar.gz: 33e595d6a8aa760c987f8f74345c22285687bf4c96a254744fc9509d2f02745a5082ae7129675980c5ead823e9d619a885425157fb1ad906a0bd45497c0e80b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-artifactregistry_v1beta1
2
2
 
3
+ ### v0.12.0 (2021-10-11)
4
+
5
+ * Regenerated from discovery document revision 20211002
6
+
7
+ ### v0.11.0 (2021-09-01)
8
+
9
+ * Regenerated from discovery document revision 20210817
10
+
11
+ ### v0.10.0 (2021-07-06)
12
+
13
+ * Regenerated from discovery document revision 20210629
14
+
15
+ ### v0.9.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.8.0 (2021-06-24)
4
20
 
5
21
  * Regenerated from discovery document revision 20210524
@@ -22,6 +22,58 @@ module Google
22
22
  module Apis
23
23
  module ArtifactregistryV1beta1
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` with a `role`.
26
78
  class Binding
27
79
  include Google::Apis::Core::Hashable
@@ -241,6 +293,168 @@ module Google
241
293
  end
242
294
  end
243
295
 
296
+ # Error information explaining why a package was not imported.
297
+ class ImportAptArtifactsErrorInfo
298
+ include Google::Apis::Core::Hashable
299
+
300
+ # The `Status` type defines a logical error model that is suitable for different
301
+ # programming environments, including REST APIs and RPC APIs. It is used by [
302
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
303
+ # data: error code, error message, and error details. You can find out more
304
+ # about this error model and how to work with it in the [API Design Guide](https:
305
+ # //cloud.google.com/apis/design/errors).
306
+ # Corresponds to the JSON property `error`
307
+ # @return [Google::Apis::ArtifactregistryV1beta1::Status]
308
+ attr_accessor :error
309
+
310
+ # Google Cloud Storage location where the artifacts currently reside.
311
+ # Corresponds to the JSON property `gcsSource`
312
+ # @return [Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsGcsSource]
313
+ attr_accessor :gcs_source
314
+
315
+ def initialize(**args)
316
+ update!(**args)
317
+ end
318
+
319
+ # Update properties of this object
320
+ def update!(**args)
321
+ @error = args[:error] if args.key?(:error)
322
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
323
+ end
324
+ end
325
+
326
+ # Google Cloud Storage location where the artifacts currently reside.
327
+ class ImportAptArtifactsGcsSource
328
+ include Google::Apis::Core::Hashable
329
+
330
+ # Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
331
+ # Corresponds to the JSON property `uris`
332
+ # @return [Array<String>]
333
+ attr_accessor :uris
334
+
335
+ # Supports URI wildcards for matching multiple objects from a single URI.
336
+ # Corresponds to the JSON property `useWildcards`
337
+ # @return [Boolean]
338
+ attr_accessor :use_wildcards
339
+ alias_method :use_wildcards?, :use_wildcards
340
+
341
+ def initialize(**args)
342
+ update!(**args)
343
+ end
344
+
345
+ # Update properties of this object
346
+ def update!(**args)
347
+ @uris = args[:uris] if args.key?(:uris)
348
+ @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
349
+ end
350
+ end
351
+
352
+ # The response message from importing artifacts.
353
+ class ImportAptArtifactsResponse
354
+ include Google::Apis::Core::Hashable
355
+
356
+ # The Apt artifacts updated.
357
+ # Corresponds to the JSON property `aptArtifacts`
358
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::AptArtifact>]
359
+ attr_accessor :apt_artifacts
360
+
361
+ # Detailed error info for packages that were not imported.
362
+ # Corresponds to the JSON property `errors`
363
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsErrorInfo>]
364
+ attr_accessor :errors
365
+
366
+ def initialize(**args)
367
+ update!(**args)
368
+ end
369
+
370
+ # Update properties of this object
371
+ def update!(**args)
372
+ @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
373
+ @errors = args[:errors] if args.key?(:errors)
374
+ end
375
+ end
376
+
377
+ # Error information explaining why a package was not imported.
378
+ class ImportYumArtifactsErrorInfo
379
+ include Google::Apis::Core::Hashable
380
+
381
+ # The `Status` type defines a logical error model that is suitable for different
382
+ # programming environments, including REST APIs and RPC APIs. It is used by [
383
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
384
+ # data: error code, error message, and error details. You can find out more
385
+ # about this error model and how to work with it in the [API Design Guide](https:
386
+ # //cloud.google.com/apis/design/errors).
387
+ # Corresponds to the JSON property `error`
388
+ # @return [Google::Apis::ArtifactregistryV1beta1::Status]
389
+ attr_accessor :error
390
+
391
+ # Google Cloud Storage location where the artifacts currently reside.
392
+ # Corresponds to the JSON property `gcsSource`
393
+ # @return [Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsGcsSource]
394
+ attr_accessor :gcs_source
395
+
396
+ def initialize(**args)
397
+ update!(**args)
398
+ end
399
+
400
+ # Update properties of this object
401
+ def update!(**args)
402
+ @error = args[:error] if args.key?(:error)
403
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
404
+ end
405
+ end
406
+
407
+ # Google Cloud Storage location where the artifacts currently reside.
408
+ class ImportYumArtifactsGcsSource
409
+ include Google::Apis::Core::Hashable
410
+
411
+ # Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
412
+ # Corresponds to the JSON property `uris`
413
+ # @return [Array<String>]
414
+ attr_accessor :uris
415
+
416
+ # Supports URI wildcards for matching multiple objects from a single URI.
417
+ # Corresponds to the JSON property `useWildcards`
418
+ # @return [Boolean]
419
+ attr_accessor :use_wildcards
420
+ alias_method :use_wildcards?, :use_wildcards
421
+
422
+ def initialize(**args)
423
+ update!(**args)
424
+ end
425
+
426
+ # Update properties of this object
427
+ def update!(**args)
428
+ @uris = args[:uris] if args.key?(:uris)
429
+ @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
430
+ end
431
+ end
432
+
433
+ # The response message from importing artifacts.
434
+ class ImportYumArtifactsResponse
435
+ include Google::Apis::Core::Hashable
436
+
437
+ # Detailed error info for packages that were not imported.
438
+ # Corresponds to the JSON property `errors`
439
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsErrorInfo>]
440
+ attr_accessor :errors
441
+
442
+ # The yum artifacts updated.
443
+ # Corresponds to the JSON property `yumArtifacts`
444
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::YumArtifact>]
445
+ attr_accessor :yum_artifacts
446
+
447
+ def initialize(**args)
448
+ update!(**args)
449
+ end
450
+
451
+ # Update properties of this object
452
+ def update!(**args)
453
+ @errors = args[:errors] if args.key?(:errors)
454
+ @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
455
+ end
456
+ end
457
+
244
458
  # The response from listing files.
245
459
  class ListFilesResponse
246
460
  include Google::Apis::Core::Hashable
@@ -292,31 +506,6 @@ module Google
292
506
  end
293
507
  end
294
508
 
295
- # The response message for Operations.ListOperations.
296
- class ListOperationsResponse
297
- include Google::Apis::Core::Hashable
298
-
299
- # The standard List next-page token.
300
- # Corresponds to the JSON property `nextPageToken`
301
- # @return [String]
302
- attr_accessor :next_page_token
303
-
304
- # A list of operations that matches the specified filter in the request.
305
- # Corresponds to the JSON property `operations`
306
- # @return [Array<Google::Apis::ArtifactregistryV1beta1::Operation>]
307
- attr_accessor :operations
308
-
309
- def initialize(**args)
310
- update!(**args)
311
- end
312
-
313
- # Update properties of this object
314
- def update!(**args)
315
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
316
- @operations = args[:operations] if args.key?(:operations)
317
- end
318
- end
319
-
320
509
  # The response from listing packages.
321
510
  class ListPackagesResponse
322
511
  include Google::Apis::Core::Hashable
@@ -594,7 +783,7 @@ module Google
594
783
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
595
784
  # roles/resourcemanager.organizationViewer condition: title: expirable access
596
785
  # description: Does not grant access after Sep 2020 expression: request.time <
597
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
786
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
598
787
  # description of IAM and its features, see the [IAM documentation](https://cloud.
599
788
  # google.com/iam/docs/).
600
789
  class Policy
@@ -602,7 +791,12 @@ module Google
602
791
 
603
792
  # Associates a list of `members` to a `role`. Optionally, may specify a `
604
793
  # condition` that determines how and when the `bindings` are applied. Each of
605
- # the `bindings` must contain at least one member.
794
+ # the `bindings` must contain at least one member. The `bindings` in a `Policy`
795
+ # can refer to up to 1,500 members; up to 250 of these members can be Google
796
+ # groups. Each occurrence of a member counts towards these limits. For example,
797
+ # if the `bindings` grant 50 different roles to `user:alice@example.com`, and
798
+ # not to any other member, then you can add another 1,450 members to the `
799
+ # bindings` in the `Policy`.
606
800
  # Corresponds to the JSON property `bindings`
607
801
  # @return [Array<Google::Apis::ArtifactregistryV1beta1::Binding>]
608
802
  attr_accessor :bindings
@@ -744,7 +938,7 @@ module Google
744
938
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
745
939
  # roles/resourcemanager.organizationViewer condition: title: expirable access
746
940
  # description: Does not grant access after Sep 2020 expression: request.time <
747
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
941
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
748
942
  # description of IAM and its features, see the [IAM documentation](https://cloud.
749
943
  # google.com/iam/docs/).
750
944
  # Corresponds to the JSON property `policy`
@@ -806,8 +1000,9 @@ module Google
806
1000
  include Google::Apis::Core::Hashable
807
1001
 
808
1002
  # The name of the tag, for example: "projects/p1/locations/us-central1/
809
- # repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts
810
- # contain slashes, the slashes are escaped.
1003
+ # repositories/repo1/packages/pkg1/tags/tag1". If the package part contains
1004
+ # slashes, the slashes are escaped. The tag part can only have characters in [a-
1005
+ # zA-Z0-9\-._~:@], anything else must be URL encoded.
811
1006
  # Corresponds to the JSON property `name`
812
1007
  # @return [String]
813
1008
  attr_accessor :name
@@ -869,6 +1064,86 @@ module Google
869
1064
  end
870
1065
  end
871
1066
 
1067
+ # The response to upload an artifact.
1068
+ class UploadAptArtifactMediaResponse
1069
+ include Google::Apis::Core::Hashable
1070
+
1071
+ # This resource represents a long-running operation that is the result of a
1072
+ # network API call.
1073
+ # Corresponds to the JSON property `operation`
1074
+ # @return [Google::Apis::ArtifactregistryV1beta1::Operation]
1075
+ attr_accessor :operation
1076
+
1077
+ def initialize(**args)
1078
+ update!(**args)
1079
+ end
1080
+
1081
+ # Update properties of this object
1082
+ def update!(**args)
1083
+ @operation = args[:operation] if args.key?(:operation)
1084
+ end
1085
+ end
1086
+
1087
+ # The response of the completed artifact upload operation. This response is
1088
+ # contained in the Operation and available to users.
1089
+ class UploadAptArtifactResponse
1090
+ include Google::Apis::Core::Hashable
1091
+
1092
+ # The Apt artifacts updated.
1093
+ # Corresponds to the JSON property `aptArtifacts`
1094
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::AptArtifact>]
1095
+ attr_accessor :apt_artifacts
1096
+
1097
+ def initialize(**args)
1098
+ update!(**args)
1099
+ end
1100
+
1101
+ # Update properties of this object
1102
+ def update!(**args)
1103
+ @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
1104
+ end
1105
+ end
1106
+
1107
+ # The response to upload an artifact.
1108
+ class UploadYumArtifactMediaResponse
1109
+ include Google::Apis::Core::Hashable
1110
+
1111
+ # This resource represents a long-running operation that is the result of a
1112
+ # network API call.
1113
+ # Corresponds to the JSON property `operation`
1114
+ # @return [Google::Apis::ArtifactregistryV1beta1::Operation]
1115
+ attr_accessor :operation
1116
+
1117
+ def initialize(**args)
1118
+ update!(**args)
1119
+ end
1120
+
1121
+ # Update properties of this object
1122
+ def update!(**args)
1123
+ @operation = args[:operation] if args.key?(:operation)
1124
+ end
1125
+ end
1126
+
1127
+ # The response of the completed artifact upload operation. This response is
1128
+ # contained in the Operation and available to users.
1129
+ class UploadYumArtifactResponse
1130
+ include Google::Apis::Core::Hashable
1131
+
1132
+ # The Apt artifacts updated.
1133
+ # Corresponds to the JSON property `yumArtifacts`
1134
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::YumArtifact>]
1135
+ attr_accessor :yum_artifacts
1136
+
1137
+ def initialize(**args)
1138
+ update!(**args)
1139
+ end
1140
+
1141
+ # Update properties of this object
1142
+ def update!(**args)
1143
+ @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
1144
+ end
1145
+ end
1146
+
872
1147
  # The body of a version resource. A version resource represents a collection of
873
1148
  # components, such as files and other data. This may correspond to a version in
874
1149
  # many package management schemes.
@@ -916,6 +1191,43 @@ module Google
916
1191
  @update_time = args[:update_time] if args.key?(:update_time)
917
1192
  end
918
1193
  end
1194
+
1195
+ # A detailed representation of a Yum artifact.
1196
+ class YumArtifact
1197
+ include Google::Apis::Core::Hashable
1198
+
1199
+ # Output only. Operating system architecture of the artifact.
1200
+ # Corresponds to the JSON property `architecture`
1201
+ # @return [String]
1202
+ attr_accessor :architecture
1203
+
1204
+ # Output only. The Artifact Registry resource name of the artifact.
1205
+ # Corresponds to the JSON property `name`
1206
+ # @return [String]
1207
+ attr_accessor :name
1208
+
1209
+ # Output only. The yum package name of the artifact.
1210
+ # Corresponds to the JSON property `packageName`
1211
+ # @return [String]
1212
+ attr_accessor :package_name
1213
+
1214
+ # Output only. An artifact is a binary or source package.
1215
+ # Corresponds to the JSON property `packageType`
1216
+ # @return [String]
1217
+ attr_accessor :package_type
1218
+
1219
+ def initialize(**args)
1220
+ update!(**args)
1221
+ end
1222
+
1223
+ # Update properties of this object
1224
+ def update!(**args)
1225
+ @architecture = args[:architecture] if args.key?(:architecture)
1226
+ @name = args[:name] if args.key?(:name)
1227
+ @package_name = args[:package_name] if args.key?(:package_name)
1228
+ @package_type = args[:package_type] if args.key?(:package_type)
1229
+ end
1230
+ end
919
1231
  end
920
1232
  end
921
1233
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ArtifactregistryV1beta1
18
18
  # Version of the google-apis-artifactregistry_v1beta1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210524"
25
+ REVISION = "20211002"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ArtifactregistryV1beta1
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
 
@@ -52,19 +58,49 @@ module Google
52
58
  include Google::Apis::Core::JsonObjectSupport
53
59
  end
54
60
 
55
- class ListFilesResponse
61
+ class ImportAptArtifactsErrorInfo
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
58
64
  include Google::Apis::Core::JsonObjectSupport
59
65
  end
60
66
 
61
- class ListLocationsResponse
67
+ class ImportAptArtifactsGcsSource
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ImportAptArtifactsResponse
62
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
75
 
64
76
  include Google::Apis::Core::JsonObjectSupport
65
77
  end
66
78
 
67
- class ListOperationsResponse
79
+ class ImportYumArtifactsErrorInfo
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ImportYumArtifactsGcsSource
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ImportYumArtifactsResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ListFilesResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ListLocationsResponse
68
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
105
 
70
106
  include Google::Apis::Core::JsonObjectSupport
@@ -154,12 +190,54 @@ module Google
154
190
  include Google::Apis::Core::JsonObjectSupport
155
191
  end
156
192
 
193
+ class UploadAptArtifactMediaResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class UploadAptArtifactResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class UploadYumArtifactMediaResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class UploadYumArtifactResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
157
217
  class Version
158
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
219
 
160
220
  include Google::Apis::Core::JsonObjectSupport
161
221
  end
162
222
 
223
+ class YumArtifact
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class AptArtifact
230
+ # @private
231
+ class Representation < Google::Apis::Core::JsonRepresentation
232
+ property :architecture, as: 'architecture'
233
+ property :component, as: 'component'
234
+ property :control_file, :base64 => true, as: 'controlFile'
235
+ property :name, as: 'name'
236
+ property :package_name, as: 'packageName'
237
+ property :package_type, as: 'packageType'
238
+ end
239
+ end
240
+
163
241
  class Binding
164
242
  # @private
165
243
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -207,30 +285,77 @@ module Google
207
285
  end
208
286
  end
209
287
 
210
- class ListFilesResponse
288
+ class ImportAptArtifactsErrorInfo
211
289
  # @private
212
290
  class Representation < Google::Apis::Core::JsonRepresentation
213
- collection :files, as: 'files', class: Google::Apis::ArtifactregistryV1beta1::File, decorator: Google::Apis::ArtifactregistryV1beta1::File::Representation
291
+ property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta1::Status, decorator: Google::Apis::ArtifactregistryV1beta1::Status::Representation
292
+
293
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsGcsSource::Representation
214
294
 
215
- property :next_page_token, as: 'nextPageToken'
216
295
  end
217
296
  end
218
297
 
219
- class ListLocationsResponse
298
+ class ImportAptArtifactsGcsSource
220
299
  # @private
221
300
  class Representation < Google::Apis::Core::JsonRepresentation
222
- collection :locations, as: 'locations', class: Google::Apis::ArtifactregistryV1beta1::Location, decorator: Google::Apis::ArtifactregistryV1beta1::Location::Representation
301
+ collection :uris, as: 'uris'
302
+ property :use_wildcards, as: 'useWildcards'
303
+ end
304
+ end
305
+
306
+ class ImportAptArtifactsResponse
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1beta1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1beta1::AptArtifact::Representation
310
+
311
+ collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1beta1::ImportAptArtifactsErrorInfo::Representation
223
312
 
224
- property :next_page_token, as: 'nextPageToken'
225
313
  end
226
314
  end
227
315
 
228
- class ListOperationsResponse
316
+ class ImportYumArtifactsErrorInfo
229
317
  # @private
230
318
  class Representation < Google::Apis::Core::JsonRepresentation
319
+ property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta1::Status, decorator: Google::Apis::ArtifactregistryV1beta1::Status::Representation
320
+
321
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsGcsSource::Representation
322
+
323
+ end
324
+ end
325
+
326
+ class ImportYumArtifactsGcsSource
327
+ # @private
328
+ class Representation < Google::Apis::Core::JsonRepresentation
329
+ collection :uris, as: 'uris'
330
+ property :use_wildcards, as: 'useWildcards'
331
+ end
332
+ end
333
+
334
+ class ImportYumArtifactsResponse
335
+ # @private
336
+ class Representation < Google::Apis::Core::JsonRepresentation
337
+ collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1beta1::ImportYumArtifactsErrorInfo::Representation
338
+
339
+ collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1beta1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1beta1::YumArtifact::Representation
340
+
341
+ end
342
+ end
343
+
344
+ class ListFilesResponse
345
+ # @private
346
+ class Representation < Google::Apis::Core::JsonRepresentation
347
+ collection :files, as: 'files', class: Google::Apis::ArtifactregistryV1beta1::File, decorator: Google::Apis::ArtifactregistryV1beta1::File::Representation
348
+
231
349
  property :next_page_token, as: 'nextPageToken'
232
- collection :operations, as: 'operations', class: Google::Apis::ArtifactregistryV1beta1::Operation, decorator: Google::Apis::ArtifactregistryV1beta1::Operation::Representation
350
+ end
351
+ end
352
+
353
+ class ListLocationsResponse
354
+ # @private
355
+ class Representation < Google::Apis::Core::JsonRepresentation
356
+ collection :locations, as: 'locations', class: Google::Apis::ArtifactregistryV1beta1::Location, decorator: Google::Apis::ArtifactregistryV1beta1::Location::Representation
233
357
 
358
+ property :next_page_token, as: 'nextPageToken'
234
359
  end
235
360
  end
236
361
 
@@ -365,6 +490,38 @@ module Google
365
490
  end
366
491
  end
367
492
 
493
+ class UploadAptArtifactMediaResponse
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1beta1::Operation, decorator: Google::Apis::ArtifactregistryV1beta1::Operation::Representation
497
+
498
+ end
499
+ end
500
+
501
+ class UploadAptArtifactResponse
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1beta1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1beta1::AptArtifact::Representation
505
+
506
+ end
507
+ end
508
+
509
+ class UploadYumArtifactMediaResponse
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1beta1::Operation, decorator: Google::Apis::ArtifactregistryV1beta1::Operation::Representation
513
+
514
+ end
515
+ end
516
+
517
+ class UploadYumArtifactResponse
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1beta1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1beta1::YumArtifact::Representation
521
+
522
+ end
523
+ end
524
+
368
525
  class Version
369
526
  # @private
370
527
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -376,6 +533,16 @@ module Google
376
533
  property :update_time, as: 'updateTime'
377
534
  end
378
535
  end
536
+
537
+ class YumArtifact
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :architecture, as: 'architecture'
541
+ property :name, as: 'name'
542
+ property :package_name, as: 'packageName'
543
+ property :package_type, as: 'packageType'
544
+ end
545
+ end
379
546
  end
380
547
  end
381
548
  end
@@ -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::ArtifactregistryV1beta1::ListOperationsResponse] parsed result object
183
- # @yieldparam err [StandardError] error object if request failed
184
- #
185
- # @return [Google::Apis::ArtifactregistryV1beta1::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, 'v1beta1/{+name}/operations', options)
192
- command.response_representation = Google::Apis::ArtifactregistryV1beta1::ListOperationsResponse::Representation
193
- command.response_class = Google::Apis::ArtifactregistryV1beta1::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
@@ -795,8 +749,9 @@ module Google
795
749
  # Updates a tag.
796
750
  # @param [String] name
797
751
  # The name of the tag, for example: "projects/p1/locations/us-central1/
798
- # repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts
799
- # contain slashes, the slashes are escaped.
752
+ # repositories/repo1/packages/pkg1/tags/tag1". If the package part contains
753
+ # slashes, the slashes are escaped. The tag part can only have characters in [a-
754
+ # zA-Z0-9\-._~:@], anything else must be URL encoded.
800
755
  # @param [Google::Apis::ArtifactregistryV1beta1::Tag] tag_object
801
756
  # @param [String] update_mask
802
757
  # The update mask applies to the resource. For the `FieldMask` definition, see
@@ -30,10 +30,10 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1beta1'
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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.12.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-06-28 00:00:00.000000000 Z
11
+ date: 2021-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta1/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta1/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []