google-apis-artifactregistry_v1beta1 0.7.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f7510051222737a6e1ae4bc276b2015150a40f6256faae9b3975a78a4bd8fa9
4
- data.tar.gz: 7e5ae25ed230be0a8112ed953902f30931055b5d89d167897a06b702e2d21a66
3
+ metadata.gz: f6af1bac83ad04ed4002ea5266c7f351c1d6d58455fd993ce80604f8efcee492
4
+ data.tar.gz: 5936ad60f95d333f4781b387a802f29f9c41abbd45fac14c7b3af4463ba75b7b
5
5
  SHA512:
6
- metadata.gz: 98ba8a1c64063780971831b6a1be7dbe9c436e71c331e0fc6f5d417b45d12f030b5d599f0aae4ec75f645156d4194ede6661df29dad7d98a83a14ba3aefca4b8
7
- data.tar.gz: 5d5757394a322a1794e7934f9b0baa539694a007e7bdf6ec945399c4a0a4632fd8a795954345837311a04f6e70d3650e17d7a5057c689b6ed97bed5c9ed8a0e0
6
+ metadata.gz: 5654fd31c0967ad04b58882b385258ce8bcf059c14f397fa11d49f1a573ed10e6aedc3d51fc62d89a7978a1afdfe26f2361cda4e1b1ab790000e32e697dc1768
7
+ data.tar.gz: aa999f262656d36a875ebde63d8bed4ebef711ef5a39312b3e3d8616b561f6506dded790fdde6d8562b3ffbf740a121bffad7533f81c08dc45d811b3b9fb9037
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-artifactregistry_v1beta1
2
2
 
3
+ ### v0.11.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210817
6
+
7
+ ### v0.10.0 (2021-07-06)
8
+
9
+ * Regenerated from discovery document revision 20210629
10
+
11
+ ### v0.9.0 (2021-06-29)
12
+
13
+ * Regenerated using generator version 0.4.0
14
+
15
+ ### v0.8.0 (2021-06-24)
16
+
17
+ * Regenerated from discovery document revision 20210524
18
+ * Regenerated using generator version 0.3.0
19
+
3
20
  ### v0.7.0 (2021-05-25)
4
21
 
5
22
  * Regenerated from discovery document revision 20210517
@@ -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
@@ -744,7 +933,7 @@ module Google
744
933
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
745
934
  # roles/resourcemanager.organizationViewer condition: title: expirable access
746
935
  # 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
936
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
748
937
  # description of IAM and its features, see the [IAM documentation](https://cloud.
749
938
  # google.com/iam/docs/).
750
939
  # Corresponds to the JSON property `policy`
@@ -806,8 +995,9 @@ module Google
806
995
  include Google::Apis::Core::Hashable
807
996
 
808
997
  # 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.
998
+ # repositories/repo1/packages/pkg1/tags/tag1". If the package part contains
999
+ # slashes, the slashes are escaped. The tag part can only have characters in [a-
1000
+ # zA-Z0-9\-._~:@], anything else must be URL encoded.
811
1001
  # Corresponds to the JSON property `name`
812
1002
  # @return [String]
813
1003
  attr_accessor :name
@@ -869,6 +1059,86 @@ module Google
869
1059
  end
870
1060
  end
871
1061
 
1062
+ # The response to upload an artifact.
1063
+ class UploadAptArtifactMediaResponse
1064
+ include Google::Apis::Core::Hashable
1065
+
1066
+ # This resource represents a long-running operation that is the result of a
1067
+ # network API call.
1068
+ # Corresponds to the JSON property `operation`
1069
+ # @return [Google::Apis::ArtifactregistryV1beta1::Operation]
1070
+ attr_accessor :operation
1071
+
1072
+ def initialize(**args)
1073
+ update!(**args)
1074
+ end
1075
+
1076
+ # Update properties of this object
1077
+ def update!(**args)
1078
+ @operation = args[:operation] if args.key?(:operation)
1079
+ end
1080
+ end
1081
+
1082
+ # The response of the completed artifact upload operation. This response is
1083
+ # contained in the Operation and available to users.
1084
+ class UploadAptArtifactResponse
1085
+ include Google::Apis::Core::Hashable
1086
+
1087
+ # The Apt artifacts updated.
1088
+ # Corresponds to the JSON property `aptArtifacts`
1089
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::AptArtifact>]
1090
+ attr_accessor :apt_artifacts
1091
+
1092
+ def initialize(**args)
1093
+ update!(**args)
1094
+ end
1095
+
1096
+ # Update properties of this object
1097
+ def update!(**args)
1098
+ @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
1099
+ end
1100
+ end
1101
+
1102
+ # The response to upload an artifact.
1103
+ class UploadYumArtifactMediaResponse
1104
+ include Google::Apis::Core::Hashable
1105
+
1106
+ # This resource represents a long-running operation that is the result of a
1107
+ # network API call.
1108
+ # Corresponds to the JSON property `operation`
1109
+ # @return [Google::Apis::ArtifactregistryV1beta1::Operation]
1110
+ attr_accessor :operation
1111
+
1112
+ def initialize(**args)
1113
+ update!(**args)
1114
+ end
1115
+
1116
+ # Update properties of this object
1117
+ def update!(**args)
1118
+ @operation = args[:operation] if args.key?(:operation)
1119
+ end
1120
+ end
1121
+
1122
+ # The response of the completed artifact upload operation. This response is
1123
+ # contained in the Operation and available to users.
1124
+ class UploadYumArtifactResponse
1125
+ include Google::Apis::Core::Hashable
1126
+
1127
+ # The Apt artifacts updated.
1128
+ # Corresponds to the JSON property `yumArtifacts`
1129
+ # @return [Array<Google::Apis::ArtifactregistryV1beta1::YumArtifact>]
1130
+ attr_accessor :yum_artifacts
1131
+
1132
+ def initialize(**args)
1133
+ update!(**args)
1134
+ end
1135
+
1136
+ # Update properties of this object
1137
+ def update!(**args)
1138
+ @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
1139
+ end
1140
+ end
1141
+
872
1142
  # The body of a version resource. A version resource represents a collection of
873
1143
  # components, such as files and other data. This may correspond to a version in
874
1144
  # many package management schemes.
@@ -916,6 +1186,43 @@ module Google
916
1186
  @update_time = args[:update_time] if args.key?(:update_time)
917
1187
  end
918
1188
  end
1189
+
1190
+ # A detailed representation of a Yum artifact.
1191
+ class YumArtifact
1192
+ include Google::Apis::Core::Hashable
1193
+
1194
+ # Output only. Operating system architecture of the artifact.
1195
+ # Corresponds to the JSON property `architecture`
1196
+ # @return [String]
1197
+ attr_accessor :architecture
1198
+
1199
+ # Output only. The Artifact Registry resource name of the artifact.
1200
+ # Corresponds to the JSON property `name`
1201
+ # @return [String]
1202
+ attr_accessor :name
1203
+
1204
+ # Output only. The yum package name of the artifact.
1205
+ # Corresponds to the JSON property `packageName`
1206
+ # @return [String]
1207
+ attr_accessor :package_name
1208
+
1209
+ # Output only. An artifact is a binary or source package.
1210
+ # Corresponds to the JSON property `packageType`
1211
+ # @return [String]
1212
+ attr_accessor :package_type
1213
+
1214
+ def initialize(**args)
1215
+ update!(**args)
1216
+ end
1217
+
1218
+ # Update properties of this object
1219
+ def update!(**args)
1220
+ @architecture = args[:architecture] if args.key?(:architecture)
1221
+ @name = args[:name] if args.key?(:name)
1222
+ @package_name = args[:package_name] if args.key?(:package_name)
1223
+ @package_type = args[:package_type] if args.key?(:package_type)
1224
+ end
1225
+ end
919
1226
  end
920
1227
  end
921
1228
  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.7.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210517"
25
+ REVISION = "20210817"
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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-artifactregistry_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-31 00:00:00.000000000 Z
11
+ date: 2021-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Artifact Registry API V1beta1. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta1/v0.11.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1beta1
57
63
  post_install_message:
58
64
  rdoc_options: []