google-apis-artifactregistry_v1beta2 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/artifactregistry_v1beta2/classes.rb +369 -0
- data/lib/google/apis/artifactregistry_v1beta2/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1beta2/representations.rb +210 -0
- data/lib/google/apis/artifactregistry_v1beta2/service.rb +72 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21ad29ea77130d6759ce0353664f2185f044b81ce05f64f1ad5c3f8c16b67574
|
4
|
+
data.tar.gz: 18d0a1b93780cc33bc9708d0057e45e098da67715ac4eb1da406923102e6be5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07f459e56504c2d55df2a6203416caf6922658443f545c28e23e7198c785d2058941eae43971b35449da0a1f0bb2a5f89889e87d34360c4d7c4d1d5abb85d312
|
7
|
+
data.tar.gz: cdc19f77ce6e32083b85cfd78aeb1e2e756676c1ee058b703163b6195d2ff5e763bf9a4a361a08afe5896bcf4b78401f8eb695eaf604bd6d02472b1342a9db4e
|
data/CHANGELOG.md
CHANGED
@@ -22,6 +22,58 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ArtifactregistryV1beta2
|
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,206 @@ 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::ArtifactregistryV1beta2::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::ArtifactregistryV1beta2::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 request to import new apt artifacts.
|
353
|
+
class ImportAptArtifactsRequest
|
354
|
+
include Google::Apis::Core::Hashable
|
355
|
+
|
356
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
357
|
+
# Corresponds to the JSON property `gcsSource`
|
358
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ImportAptArtifactsGcsSource]
|
359
|
+
attr_accessor :gcs_source
|
360
|
+
|
361
|
+
def initialize(**args)
|
362
|
+
update!(**args)
|
363
|
+
end
|
364
|
+
|
365
|
+
# Update properties of this object
|
366
|
+
def update!(**args)
|
367
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
371
|
+
# The response message from importing artifacts.
|
372
|
+
class ImportAptArtifactsResponse
|
373
|
+
include Google::Apis::Core::Hashable
|
374
|
+
|
375
|
+
# The Apt artifacts updated.
|
376
|
+
# Corresponds to the JSON property `aptArtifacts`
|
377
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::AptArtifact>]
|
378
|
+
attr_accessor :apt_artifacts
|
379
|
+
|
380
|
+
# Detailed error info for packages that were not imported.
|
381
|
+
# Corresponds to the JSON property `errors`
|
382
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::ImportAptArtifactsErrorInfo>]
|
383
|
+
attr_accessor :errors
|
384
|
+
|
385
|
+
def initialize(**args)
|
386
|
+
update!(**args)
|
387
|
+
end
|
388
|
+
|
389
|
+
# Update properties of this object
|
390
|
+
def update!(**args)
|
391
|
+
@apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
|
392
|
+
@errors = args[:errors] if args.key?(:errors)
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
# Error information explaining why a package was not imported.
|
397
|
+
class ImportYumArtifactsErrorInfo
|
398
|
+
include Google::Apis::Core::Hashable
|
399
|
+
|
400
|
+
# The `Status` type defines a logical error model that is suitable for different
|
401
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
402
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
403
|
+
# data: error code, error message, and error details. You can find out more
|
404
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
405
|
+
# //cloud.google.com/apis/design/errors).
|
406
|
+
# Corresponds to the JSON property `error`
|
407
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Status]
|
408
|
+
attr_accessor :error
|
409
|
+
|
410
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
411
|
+
# Corresponds to the JSON property `gcsSource`
|
412
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsGcsSource]
|
413
|
+
attr_accessor :gcs_source
|
414
|
+
|
415
|
+
def initialize(**args)
|
416
|
+
update!(**args)
|
417
|
+
end
|
418
|
+
|
419
|
+
# Update properties of this object
|
420
|
+
def update!(**args)
|
421
|
+
@error = args[:error] if args.key?(:error)
|
422
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
426
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
427
|
+
class ImportYumArtifactsGcsSource
|
428
|
+
include Google::Apis::Core::Hashable
|
429
|
+
|
430
|
+
# Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
|
431
|
+
# Corresponds to the JSON property `uris`
|
432
|
+
# @return [Array<String>]
|
433
|
+
attr_accessor :uris
|
434
|
+
|
435
|
+
# Supports URI wildcards for matching multiple objects from a single URI.
|
436
|
+
# Corresponds to the JSON property `useWildcards`
|
437
|
+
# @return [Boolean]
|
438
|
+
attr_accessor :use_wildcards
|
439
|
+
alias_method :use_wildcards?, :use_wildcards
|
440
|
+
|
441
|
+
def initialize(**args)
|
442
|
+
update!(**args)
|
443
|
+
end
|
444
|
+
|
445
|
+
# Update properties of this object
|
446
|
+
def update!(**args)
|
447
|
+
@uris = args[:uris] if args.key?(:uris)
|
448
|
+
@use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
# The request to import new yum artifacts.
|
453
|
+
class ImportYumArtifactsRequest
|
454
|
+
include Google::Apis::Core::Hashable
|
455
|
+
|
456
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
457
|
+
# Corresponds to the JSON property `gcsSource`
|
458
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsGcsSource]
|
459
|
+
attr_accessor :gcs_source
|
460
|
+
|
461
|
+
def initialize(**args)
|
462
|
+
update!(**args)
|
463
|
+
end
|
464
|
+
|
465
|
+
# Update properties of this object
|
466
|
+
def update!(**args)
|
467
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
# The response message from importing artifacts.
|
472
|
+
class ImportYumArtifactsResponse
|
473
|
+
include Google::Apis::Core::Hashable
|
474
|
+
|
475
|
+
# Detailed error info for packages that were not imported.
|
476
|
+
# Corresponds to the JSON property `errors`
|
477
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsErrorInfo>]
|
478
|
+
attr_accessor :errors
|
479
|
+
|
480
|
+
# The yum artifacts updated.
|
481
|
+
# Corresponds to the JSON property `yumArtifacts`
|
482
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::YumArtifact>]
|
483
|
+
attr_accessor :yum_artifacts
|
484
|
+
|
485
|
+
def initialize(**args)
|
486
|
+
update!(**args)
|
487
|
+
end
|
488
|
+
|
489
|
+
# Update properties of this object
|
490
|
+
def update!(**args)
|
491
|
+
@errors = args[:errors] if args.key?(:errors)
|
492
|
+
@yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
244
496
|
# The response from listing files.
|
245
497
|
class ListFilesResponse
|
246
498
|
include Google::Apis::Core::Hashable
|
@@ -870,6 +1122,86 @@ module Google
|
|
870
1122
|
end
|
871
1123
|
end
|
872
1124
|
|
1125
|
+
# The response to upload an artifact.
|
1126
|
+
class UploadAptArtifactMediaResponse
|
1127
|
+
include Google::Apis::Core::Hashable
|
1128
|
+
|
1129
|
+
# This resource represents a long-running operation that is the result of a
|
1130
|
+
# network API call.
|
1131
|
+
# Corresponds to the JSON property `operation`
|
1132
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Operation]
|
1133
|
+
attr_accessor :operation
|
1134
|
+
|
1135
|
+
def initialize(**args)
|
1136
|
+
update!(**args)
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
# Update properties of this object
|
1140
|
+
def update!(**args)
|
1141
|
+
@operation = args[:operation] if args.key?(:operation)
|
1142
|
+
end
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
# The response of the completed artifact upload operation. This response is
|
1146
|
+
# contained in the Operation and available to users.
|
1147
|
+
class UploadAptArtifactResponse
|
1148
|
+
include Google::Apis::Core::Hashable
|
1149
|
+
|
1150
|
+
# The Apt artifacts updated.
|
1151
|
+
# Corresponds to the JSON property `aptArtifacts`
|
1152
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::AptArtifact>]
|
1153
|
+
attr_accessor :apt_artifacts
|
1154
|
+
|
1155
|
+
def initialize(**args)
|
1156
|
+
update!(**args)
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
# Update properties of this object
|
1160
|
+
def update!(**args)
|
1161
|
+
@apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
|
1162
|
+
end
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
# The response to upload an artifact.
|
1166
|
+
class UploadYumArtifactMediaResponse
|
1167
|
+
include Google::Apis::Core::Hashable
|
1168
|
+
|
1169
|
+
# This resource represents a long-running operation that is the result of a
|
1170
|
+
# network API call.
|
1171
|
+
# Corresponds to the JSON property `operation`
|
1172
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Operation]
|
1173
|
+
attr_accessor :operation
|
1174
|
+
|
1175
|
+
def initialize(**args)
|
1176
|
+
update!(**args)
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
# Update properties of this object
|
1180
|
+
def update!(**args)
|
1181
|
+
@operation = args[:operation] if args.key?(:operation)
|
1182
|
+
end
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
# The response of the completed artifact upload operation. This response is
|
1186
|
+
# contained in the Operation and available to users.
|
1187
|
+
class UploadYumArtifactResponse
|
1188
|
+
include Google::Apis::Core::Hashable
|
1189
|
+
|
1190
|
+
# The Apt artifacts updated.
|
1191
|
+
# Corresponds to the JSON property `yumArtifacts`
|
1192
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::YumArtifact>]
|
1193
|
+
attr_accessor :yum_artifacts
|
1194
|
+
|
1195
|
+
def initialize(**args)
|
1196
|
+
update!(**args)
|
1197
|
+
end
|
1198
|
+
|
1199
|
+
# Update properties of this object
|
1200
|
+
def update!(**args)
|
1201
|
+
@yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
|
873
1205
|
# The body of a version resource. A version resource represents a collection of
|
874
1206
|
# components, such as files and other data. This may correspond to a version in
|
875
1207
|
# many package management schemes.
|
@@ -925,6 +1257,43 @@ module Google
|
|
925
1257
|
@update_time = args[:update_time] if args.key?(:update_time)
|
926
1258
|
end
|
927
1259
|
end
|
1260
|
+
|
1261
|
+
# A detailed representation of a Yum artifact.
|
1262
|
+
class YumArtifact
|
1263
|
+
include Google::Apis::Core::Hashable
|
1264
|
+
|
1265
|
+
# Output only. Operating system architecture of the artifact.
|
1266
|
+
# Corresponds to the JSON property `architecture`
|
1267
|
+
# @return [String]
|
1268
|
+
attr_accessor :architecture
|
1269
|
+
|
1270
|
+
# Output only. The Artifact Registry resource name of the artifact.
|
1271
|
+
# Corresponds to the JSON property `name`
|
1272
|
+
# @return [String]
|
1273
|
+
attr_accessor :name
|
1274
|
+
|
1275
|
+
# Output only. The yum package name of the artifact.
|
1276
|
+
# Corresponds to the JSON property `packageName`
|
1277
|
+
# @return [String]
|
1278
|
+
attr_accessor :package_name
|
1279
|
+
|
1280
|
+
# Output only. An artifact is a binary or source package.
|
1281
|
+
# Corresponds to the JSON property `packageType`
|
1282
|
+
# @return [String]
|
1283
|
+
attr_accessor :package_type
|
1284
|
+
|
1285
|
+
def initialize(**args)
|
1286
|
+
update!(**args)
|
1287
|
+
end
|
1288
|
+
|
1289
|
+
# Update properties of this object
|
1290
|
+
def update!(**args)
|
1291
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
1292
|
+
@name = args[:name] if args.key?(:name)
|
1293
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
1294
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
1295
|
+
end
|
1296
|
+
end
|
928
1297
|
end
|
929
1298
|
end
|
930
1299
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ArtifactregistryV1beta2
|
18
18
|
# Version of the google-apis-artifactregistry_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210629"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ArtifactregistryV1beta2
|
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,6 +58,54 @@ module Google
|
|
52
58
|
include Google::Apis::Core::JsonObjectSupport
|
53
59
|
end
|
54
60
|
|
61
|
+
class ImportAptArtifactsErrorInfo
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class ImportAptArtifactsGcsSource
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class ImportAptArtifactsRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class ImportAptArtifactsResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class ImportYumArtifactsErrorInfo
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class ImportYumArtifactsGcsSource
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class ImportYumArtifactsRequest
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ImportYumArtifactsResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
55
109
|
class ListFilesResponse
|
56
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
111
|
|
@@ -154,12 +208,54 @@ module Google
|
|
154
208
|
include Google::Apis::Core::JsonObjectSupport
|
155
209
|
end
|
156
210
|
|
211
|
+
class UploadAptArtifactMediaResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class UploadAptArtifactResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class UploadYumArtifactMediaResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class UploadYumArtifactResponse
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
157
235
|
class Version
|
158
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
237
|
|
160
238
|
include Google::Apis::Core::JsonObjectSupport
|
161
239
|
end
|
162
240
|
|
241
|
+
class YumArtifact
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class AptArtifact
|
248
|
+
# @private
|
249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
250
|
+
property :architecture, as: 'architecture'
|
251
|
+
property :component, as: 'component'
|
252
|
+
property :control_file, :base64 => true, as: 'controlFile'
|
253
|
+
property :name, as: 'name'
|
254
|
+
property :package_name, as: 'packageName'
|
255
|
+
property :package_type, as: 'packageType'
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
163
259
|
class Binding
|
164
260
|
# @private
|
165
261
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -207,6 +303,78 @@ module Google
|
|
207
303
|
end
|
208
304
|
end
|
209
305
|
|
306
|
+
class ImportAptArtifactsErrorInfo
|
307
|
+
# @private
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
309
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta2::Status, decorator: Google::Apis::ArtifactregistryV1beta2::Status::Representation
|
310
|
+
|
311
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta2::ImportAptArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1beta2::ImportAptArtifactsGcsSource::Representation
|
312
|
+
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
class ImportAptArtifactsGcsSource
|
317
|
+
# @private
|
318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
319
|
+
collection :uris, as: 'uris'
|
320
|
+
property :use_wildcards, as: 'useWildcards'
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
class ImportAptArtifactsRequest
|
325
|
+
# @private
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
327
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta2::ImportAptArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1beta2::ImportAptArtifactsGcsSource::Representation
|
328
|
+
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
class ImportAptArtifactsResponse
|
333
|
+
# @private
|
334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
335
|
+
collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1beta2::AptArtifact, decorator: Google::Apis::ArtifactregistryV1beta2::AptArtifact::Representation
|
336
|
+
|
337
|
+
collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1beta2::ImportAptArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1beta2::ImportAptArtifactsErrorInfo::Representation
|
338
|
+
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
class ImportYumArtifactsErrorInfo
|
343
|
+
# @private
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
345
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta2::Status, decorator: Google::Apis::ArtifactregistryV1beta2::Status::Representation
|
346
|
+
|
347
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsGcsSource::Representation
|
348
|
+
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
class ImportYumArtifactsGcsSource
|
353
|
+
# @private
|
354
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
355
|
+
collection :uris, as: 'uris'
|
356
|
+
property :use_wildcards, as: 'useWildcards'
|
357
|
+
end
|
358
|
+
end
|
359
|
+
|
360
|
+
class ImportYumArtifactsRequest
|
361
|
+
# @private
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
363
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsGcsSource::Representation
|
364
|
+
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
class ImportYumArtifactsResponse
|
369
|
+
# @private
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
+
collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsErrorInfo::Representation
|
372
|
+
|
373
|
+
collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1beta2::YumArtifact, decorator: Google::Apis::ArtifactregistryV1beta2::YumArtifact::Representation
|
374
|
+
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
210
378
|
class ListFilesResponse
|
211
379
|
# @private
|
212
380
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -365,6 +533,38 @@ module Google
|
|
365
533
|
end
|
366
534
|
end
|
367
535
|
|
536
|
+
class UploadAptArtifactMediaResponse
|
537
|
+
# @private
|
538
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
539
|
+
property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1beta2::Operation, decorator: Google::Apis::ArtifactregistryV1beta2::Operation::Representation
|
540
|
+
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
544
|
+
class UploadAptArtifactResponse
|
545
|
+
# @private
|
546
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
547
|
+
collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1beta2::AptArtifact, decorator: Google::Apis::ArtifactregistryV1beta2::AptArtifact::Representation
|
548
|
+
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
552
|
+
class UploadYumArtifactMediaResponse
|
553
|
+
# @private
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
+
property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1beta2::Operation, decorator: Google::Apis::ArtifactregistryV1beta2::Operation::Representation
|
556
|
+
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
560
|
+
class UploadYumArtifactResponse
|
561
|
+
# @private
|
562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
563
|
+
collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1beta2::YumArtifact, decorator: Google::Apis::ArtifactregistryV1beta2::YumArtifact::Representation
|
564
|
+
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
368
568
|
class Version
|
369
569
|
# @private
|
370
570
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -377,6 +577,16 @@ module Google
|
|
377
577
|
property :update_time, as: 'updateTime'
|
378
578
|
end
|
379
579
|
end
|
580
|
+
|
581
|
+
class YumArtifact
|
582
|
+
# @private
|
583
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
584
|
+
property :architecture, as: 'architecture'
|
585
|
+
property :name, as: 'name'
|
586
|
+
property :package_name, as: 'packageName'
|
587
|
+
property :package_type, as: 'packageType'
|
588
|
+
end
|
589
|
+
end
|
380
590
|
end
|
381
591
|
end
|
382
592
|
end
|
@@ -482,6 +482,42 @@ module Google
|
|
482
482
|
execute_or_queue_command(command, &block)
|
483
483
|
end
|
484
484
|
|
485
|
+
# Imports Apt artifacts. The returned Operation will complete once the resources
|
486
|
+
# are imported. Package, Version, and File resources are created based on the
|
487
|
+
# imported artifacts. Imported artifacts that conflict with existing resources
|
488
|
+
# are ignored.
|
489
|
+
# @param [String] parent
|
490
|
+
# The name of the parent resource where the artifacts will be imported.
|
491
|
+
# @param [Google::Apis::ArtifactregistryV1beta2::ImportAptArtifactsRequest] import_apt_artifacts_request_object
|
492
|
+
# @param [String] fields
|
493
|
+
# Selector specifying which fields to include in a partial response.
|
494
|
+
# @param [String] quota_user
|
495
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
496
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
497
|
+
# @param [Google::Apis::RequestOptions] options
|
498
|
+
# Request-specific options
|
499
|
+
#
|
500
|
+
# @yield [result, err] Result & error if block supplied
|
501
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Operation] parsed result object
|
502
|
+
# @yieldparam err [StandardError] error object if request failed
|
503
|
+
#
|
504
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Operation]
|
505
|
+
#
|
506
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
507
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
508
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
509
|
+
def import_apt_artifacts(parent, import_apt_artifacts_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
510
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/aptArtifacts:import', options)
|
511
|
+
command.request_representation = Google::Apis::ArtifactregistryV1beta2::ImportAptArtifactsRequest::Representation
|
512
|
+
command.request_object = import_apt_artifacts_request_object
|
513
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Operation::Representation
|
514
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Operation
|
515
|
+
command.params['parent'] = parent unless parent.nil?
|
516
|
+
command.query['fields'] = fields unless fields.nil?
|
517
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
518
|
+
execute_or_queue_command(command, &block)
|
519
|
+
end
|
520
|
+
|
485
521
|
# Gets a file.
|
486
522
|
# @param [String] name
|
487
523
|
# The name of the file to retrieve.
|
@@ -941,6 +977,42 @@ module Google
|
|
941
977
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
942
978
|
execute_or_queue_command(command, &block)
|
943
979
|
end
|
980
|
+
|
981
|
+
# Imports Yum (RPM) artifacts. The returned Operation will complete once the
|
982
|
+
# resources are imported. Package, Version, and File resources are created based
|
983
|
+
# on the imported artifacts. Imported artifacts that conflict with existing
|
984
|
+
# resources are ignored.
|
985
|
+
# @param [String] parent
|
986
|
+
# The name of the parent resource where the artifacts will be imported.
|
987
|
+
# @param [Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsRequest] import_yum_artifacts_request_object
|
988
|
+
# @param [String] fields
|
989
|
+
# Selector specifying which fields to include in a partial response.
|
990
|
+
# @param [String] quota_user
|
991
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
992
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
993
|
+
# @param [Google::Apis::RequestOptions] options
|
994
|
+
# Request-specific options
|
995
|
+
#
|
996
|
+
# @yield [result, err] Result & error if block supplied
|
997
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Operation] parsed result object
|
998
|
+
# @yieldparam err [StandardError] error object if request failed
|
999
|
+
#
|
1000
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Operation]
|
1001
|
+
#
|
1002
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1003
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1004
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1005
|
+
def import_yum_artifacts(parent, import_yum_artifacts_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1006
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/yumArtifacts:import', options)
|
1007
|
+
command.request_representation = Google::Apis::ArtifactregistryV1beta2::ImportYumArtifactsRequest::Representation
|
1008
|
+
command.request_object = import_yum_artifacts_request_object
|
1009
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Operation::Representation
|
1010
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Operation
|
1011
|
+
command.params['parent'] = parent unless parent.nil?
|
1012
|
+
command.query['fields'] = fields unless fields.nil?
|
1013
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1014
|
+
execute_or_queue_command(command, &block)
|
1015
|
+
end
|
944
1016
|
|
945
1017
|
protected
|
946
1018
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-artifactregistry_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.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-07-
|
11
|
+
date: 2021-07-12 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/master/generated/google-apis-artifactregistry_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta2/v0.10.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|