google-apis-artifactregistry_v1 0.20.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/artifactregistry_v1/classes.rb +359 -2
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1/representations.rb +195 -0
- data/lib/google/apis/artifactregistry_v1/service.rb +73 -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: b9b95d4d461942dc0f5aca832257f5a42db3b2c71837f24e69903ab399694719
|
4
|
+
data.tar.gz: f4d9744eb8c78c9dd34395645927c165210926ca16538202f384c2cd5da9868e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 234880b7869b7f86695a42ec2a93206a0b9d37c173c78fd3c7cb1bb16c3e27771d4813b0d2b7626ccc3b796489ffff4a1242b4df9d034868ccce3568c38480d3
|
7
|
+
data.tar.gz: 5159e3733c641ce6f28b063cf49544bedfc54bfc24273c05bebbac53c0adc63de4a57db7692628d0778eec7dae52bca75208b0125528e07aba4f2433e7f7ddda
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1
|
2
2
|
|
3
|
+
### v0.23.0 (2022-04-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220401
|
6
|
+
|
7
|
+
### v0.22.0 (2022-03-31)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220328
|
10
|
+
|
11
|
+
### v0.21.0 (2022-03-17)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220311
|
14
|
+
|
3
15
|
### v0.20.0 (2022-03-10)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220307
|
@@ -22,6 +22,58 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ArtifactregistryV1
|
24
24
|
|
25
|
+
# A detailed representation of an Apt artifact. Information in the record is
|
26
|
+
# derived from the archive's control file. See https://www.debian.org/doc/debian-
|
27
|
+
# policy/ch-controlfields.html
|
28
|
+
class AptArtifact
|
29
|
+
include Google::Apis::Core::Hashable
|
30
|
+
|
31
|
+
# Output only. Operating system architecture of the artifact.
|
32
|
+
# Corresponds to the JSON property `architecture`
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :architecture
|
35
|
+
|
36
|
+
# Output only. Repository component of the artifact.
|
37
|
+
# Corresponds to the JSON property `component`
|
38
|
+
# @return [String]
|
39
|
+
attr_accessor :component
|
40
|
+
|
41
|
+
# Output only. Contents of the artifact's control metadata file.
|
42
|
+
# Corresponds to the JSON property `controlFile`
|
43
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
44
|
+
# @return [String]
|
45
|
+
attr_accessor :control_file
|
46
|
+
|
47
|
+
# Output only. The Artifact Registry resource name of the artifact.
|
48
|
+
# Corresponds to the JSON property `name`
|
49
|
+
# @return [String]
|
50
|
+
attr_accessor :name
|
51
|
+
|
52
|
+
# Output only. The Apt package name of the artifact.
|
53
|
+
# Corresponds to the JSON property `packageName`
|
54
|
+
# @return [String]
|
55
|
+
attr_accessor :package_name
|
56
|
+
|
57
|
+
# Output only. An artifact is a binary or source package.
|
58
|
+
# Corresponds to the JSON property `packageType`
|
59
|
+
# @return [String]
|
60
|
+
attr_accessor :package_type
|
61
|
+
|
62
|
+
def initialize(**args)
|
63
|
+
update!(**args)
|
64
|
+
end
|
65
|
+
|
66
|
+
# Update properties of this object
|
67
|
+
def update!(**args)
|
68
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
69
|
+
@component = args[:component] if args.key?(:component)
|
70
|
+
@control_file = args[:control_file] if args.key?(:control_file)
|
71
|
+
@name = args[:name] if args.key?(:name)
|
72
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
73
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
25
77
|
# Associates `members`, or principals, with a `role`.
|
26
78
|
class Binding
|
27
79
|
include Google::Apis::Core::Hashable
|
@@ -169,8 +221,7 @@ module Google
|
|
169
221
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
170
222
|
# messages in your APIs. A typical example is to use it as the request or the
|
171
223
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
172
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
173
|
-
# `Empty` is empty JSON object ````.
|
224
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
174
225
|
class Empty
|
175
226
|
include Google::Apis::Core::Hashable
|
176
227
|
|
@@ -314,6 +365,36 @@ module Google
|
|
314
365
|
end
|
315
366
|
end
|
316
367
|
|
368
|
+
# Error information explaining why a package was not imported.
|
369
|
+
class ImportAptArtifactsErrorInfo
|
370
|
+
include Google::Apis::Core::Hashable
|
371
|
+
|
372
|
+
# The `Status` type defines a logical error model that is suitable for different
|
373
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
374
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
375
|
+
# data: error code, error message, and error details. You can find out more
|
376
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
377
|
+
# //cloud.google.com/apis/design/errors).
|
378
|
+
# Corresponds to the JSON property `error`
|
379
|
+
# @return [Google::Apis::ArtifactregistryV1::Status]
|
380
|
+
attr_accessor :error
|
381
|
+
|
382
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
383
|
+
# Corresponds to the JSON property `gcsSource`
|
384
|
+
# @return [Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource]
|
385
|
+
attr_accessor :gcs_source
|
386
|
+
|
387
|
+
def initialize(**args)
|
388
|
+
update!(**args)
|
389
|
+
end
|
390
|
+
|
391
|
+
# Update properties of this object
|
392
|
+
def update!(**args)
|
393
|
+
@error = args[:error] if args.key?(:error)
|
394
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
317
398
|
# Google Cloud Storage location where the artifacts currently reside.
|
318
399
|
class ImportAptArtifactsGcsSource
|
319
400
|
include Google::Apis::Core::Hashable
|
@@ -340,6 +421,19 @@ module Google
|
|
340
421
|
end
|
341
422
|
end
|
342
423
|
|
424
|
+
# The operation metadata for importing artifacts.
|
425
|
+
class ImportAptArtifactsMetadata
|
426
|
+
include Google::Apis::Core::Hashable
|
427
|
+
|
428
|
+
def initialize(**args)
|
429
|
+
update!(**args)
|
430
|
+
end
|
431
|
+
|
432
|
+
# Update properties of this object
|
433
|
+
def update!(**args)
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
343
437
|
# The request to import new apt artifacts.
|
344
438
|
class ImportAptArtifactsRequest
|
345
439
|
include Google::Apis::Core::Hashable
|
@@ -359,6 +453,61 @@ module Google
|
|
359
453
|
end
|
360
454
|
end
|
361
455
|
|
456
|
+
# The response message from importing APT artifacts.
|
457
|
+
class ImportAptArtifactsResponse
|
458
|
+
include Google::Apis::Core::Hashable
|
459
|
+
|
460
|
+
# The Apt artifacts imported.
|
461
|
+
# Corresponds to the JSON property `aptArtifacts`
|
462
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
|
463
|
+
attr_accessor :apt_artifacts
|
464
|
+
|
465
|
+
# Detailed error info for packages that were not imported.
|
466
|
+
# Corresponds to the JSON property `errors`
|
467
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo>]
|
468
|
+
attr_accessor :errors
|
469
|
+
|
470
|
+
def initialize(**args)
|
471
|
+
update!(**args)
|
472
|
+
end
|
473
|
+
|
474
|
+
# Update properties of this object
|
475
|
+
def update!(**args)
|
476
|
+
@apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
|
477
|
+
@errors = args[:errors] if args.key?(:errors)
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
# Error information explaining why a package was not imported.
|
482
|
+
class ImportYumArtifactsErrorInfo
|
483
|
+
include Google::Apis::Core::Hashable
|
484
|
+
|
485
|
+
# The `Status` type defines a logical error model that is suitable for different
|
486
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
487
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
488
|
+
# data: error code, error message, and error details. You can find out more
|
489
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
490
|
+
# //cloud.google.com/apis/design/errors).
|
491
|
+
# Corresponds to the JSON property `error`
|
492
|
+
# @return [Google::Apis::ArtifactregistryV1::Status]
|
493
|
+
attr_accessor :error
|
494
|
+
|
495
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
496
|
+
# Corresponds to the JSON property `gcsSource`
|
497
|
+
# @return [Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource]
|
498
|
+
attr_accessor :gcs_source
|
499
|
+
|
500
|
+
def initialize(**args)
|
501
|
+
update!(**args)
|
502
|
+
end
|
503
|
+
|
504
|
+
# Update properties of this object
|
505
|
+
def update!(**args)
|
506
|
+
@error = args[:error] if args.key?(:error)
|
507
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
362
511
|
# Google Cloud Storage location where the artifacts currently reside.
|
363
512
|
class ImportYumArtifactsGcsSource
|
364
513
|
include Google::Apis::Core::Hashable
|
@@ -385,6 +534,19 @@ module Google
|
|
385
534
|
end
|
386
535
|
end
|
387
536
|
|
537
|
+
# The operation metadata for importing artifacts.
|
538
|
+
class ImportYumArtifactsMetadata
|
539
|
+
include Google::Apis::Core::Hashable
|
540
|
+
|
541
|
+
def initialize(**args)
|
542
|
+
update!(**args)
|
543
|
+
end
|
544
|
+
|
545
|
+
# Update properties of this object
|
546
|
+
def update!(**args)
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
388
550
|
# The request to import new yum artifacts.
|
389
551
|
class ImportYumArtifactsRequest
|
390
552
|
include Google::Apis::Core::Hashable
|
@@ -404,6 +566,31 @@ module Google
|
|
404
566
|
end
|
405
567
|
end
|
406
568
|
|
569
|
+
# The response message from importing YUM artifacts.
|
570
|
+
class ImportYumArtifactsResponse
|
571
|
+
include Google::Apis::Core::Hashable
|
572
|
+
|
573
|
+
# Detailed error info for packages that were not imported.
|
574
|
+
# Corresponds to the JSON property `errors`
|
575
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo>]
|
576
|
+
attr_accessor :errors
|
577
|
+
|
578
|
+
# The yum artifacts imported.
|
579
|
+
# Corresponds to the JSON property `yumArtifacts`
|
580
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
|
581
|
+
attr_accessor :yum_artifacts
|
582
|
+
|
583
|
+
def initialize(**args)
|
584
|
+
update!(**args)
|
585
|
+
end
|
586
|
+
|
587
|
+
# Update properties of this object
|
588
|
+
def update!(**args)
|
589
|
+
@errors = args[:errors] if args.key?(:errors)
|
590
|
+
@yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
407
594
|
# The response from listing docker images.
|
408
595
|
class ListDockerImagesResponse
|
409
596
|
include Google::Apis::Core::Hashable
|
@@ -456,6 +643,31 @@ module Google
|
|
456
643
|
end
|
457
644
|
end
|
458
645
|
|
646
|
+
# The response message for Locations.ListLocations.
|
647
|
+
class ListLocationsResponse
|
648
|
+
include Google::Apis::Core::Hashable
|
649
|
+
|
650
|
+
# A list of locations that matches the specified filter in the request.
|
651
|
+
# Corresponds to the JSON property `locations`
|
652
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::Location>]
|
653
|
+
attr_accessor :locations
|
654
|
+
|
655
|
+
# The standard List next-page token.
|
656
|
+
# Corresponds to the JSON property `nextPageToken`
|
657
|
+
# @return [String]
|
658
|
+
attr_accessor :next_page_token
|
659
|
+
|
660
|
+
def initialize(**args)
|
661
|
+
update!(**args)
|
662
|
+
end
|
663
|
+
|
664
|
+
# Update properties of this object
|
665
|
+
def update!(**args)
|
666
|
+
@locations = args[:locations] if args.key?(:locations)
|
667
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
459
671
|
# The response from listing packages.
|
460
672
|
class ListPackagesResponse
|
461
673
|
include Google::Apis::Core::Hashable
|
@@ -560,6 +772,53 @@ module Google
|
|
560
772
|
end
|
561
773
|
end
|
562
774
|
|
775
|
+
# A resource that represents Google Cloud Platform location.
|
776
|
+
class Location
|
777
|
+
include Google::Apis::Core::Hashable
|
778
|
+
|
779
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
780
|
+
# "Tokyo".
|
781
|
+
# Corresponds to the JSON property `displayName`
|
782
|
+
# @return [String]
|
783
|
+
attr_accessor :display_name
|
784
|
+
|
785
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
786
|
+
# region": "us-east1"`
|
787
|
+
# Corresponds to the JSON property `labels`
|
788
|
+
# @return [Hash<String,String>]
|
789
|
+
attr_accessor :labels
|
790
|
+
|
791
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
792
|
+
# Corresponds to the JSON property `locationId`
|
793
|
+
# @return [String]
|
794
|
+
attr_accessor :location_id
|
795
|
+
|
796
|
+
# Service-specific metadata. For example the available capacity at the given
|
797
|
+
# location.
|
798
|
+
# Corresponds to the JSON property `metadata`
|
799
|
+
# @return [Hash<String,Object>]
|
800
|
+
attr_accessor :metadata
|
801
|
+
|
802
|
+
# Resource name for the location, which may vary between implementations. For
|
803
|
+
# example: `"projects/example-project/locations/us-east1"`
|
804
|
+
# Corresponds to the JSON property `name`
|
805
|
+
# @return [String]
|
806
|
+
attr_accessor :name
|
807
|
+
|
808
|
+
def initialize(**args)
|
809
|
+
update!(**args)
|
810
|
+
end
|
811
|
+
|
812
|
+
# Update properties of this object
|
813
|
+
def update!(**args)
|
814
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
815
|
+
@labels = args[:labels] if args.key?(:labels)
|
816
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
817
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
818
|
+
@name = args[:name] if args.key?(:name)
|
819
|
+
end
|
820
|
+
end
|
821
|
+
|
563
822
|
# MavenRepositoryConfig is maven related repository details. Provides additional
|
564
823
|
# configuration details for repositories of the maven format type.
|
565
824
|
class MavenRepositoryConfig
|
@@ -649,6 +908,19 @@ module Google
|
|
649
908
|
end
|
650
909
|
end
|
651
910
|
|
911
|
+
# Metadata type for longrunning-operations, currently empty.
|
912
|
+
class OperationMetadata
|
913
|
+
include Google::Apis::Core::Hashable
|
914
|
+
|
915
|
+
def initialize(**args)
|
916
|
+
update!(**args)
|
917
|
+
end
|
918
|
+
|
919
|
+
# Update properties of this object
|
920
|
+
def update!(**args)
|
921
|
+
end
|
922
|
+
end
|
923
|
+
|
652
924
|
# Packages are named collections of versions.
|
653
925
|
class Package
|
654
926
|
include Google::Apis::Core::Hashable
|
@@ -851,6 +1123,13 @@ module Google
|
|
851
1123
|
# @return [String]
|
852
1124
|
attr_accessor :name
|
853
1125
|
|
1126
|
+
# Output only. The size, in bytes, of all artifact storage in this repository.
|
1127
|
+
# Repositories that are generally available or in public preview use this to
|
1128
|
+
# calculate storage costs.
|
1129
|
+
# Corresponds to the JSON property `sizeBytes`
|
1130
|
+
# @return [Fixnum]
|
1131
|
+
attr_accessor :size_bytes
|
1132
|
+
|
854
1133
|
# The time when the repository was last updated.
|
855
1134
|
# Corresponds to the JSON property `updateTime`
|
856
1135
|
# @return [String]
|
@@ -869,6 +1148,7 @@ module Google
|
|
869
1148
|
@labels = args[:labels] if args.key?(:labels)
|
870
1149
|
@maven_config = args[:maven_config] if args.key?(:maven_config)
|
871
1150
|
@name = args[:name] if args.key?(:name)
|
1151
|
+
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
872
1152
|
@update_time = args[:update_time] if args.key?(:update_time)
|
873
1153
|
end
|
874
1154
|
end
|
@@ -1061,6 +1341,26 @@ module Google
|
|
1061
1341
|
end
|
1062
1342
|
end
|
1063
1343
|
|
1344
|
+
# The response of the completed artifact upload operation. This response is
|
1345
|
+
# contained in the Operation and available to users.
|
1346
|
+
class UploadAptArtifactResponse
|
1347
|
+
include Google::Apis::Core::Hashable
|
1348
|
+
|
1349
|
+
# The Apt artifacts updated.
|
1350
|
+
# Corresponds to the JSON property `aptArtifacts`
|
1351
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
|
1352
|
+
attr_accessor :apt_artifacts
|
1353
|
+
|
1354
|
+
def initialize(**args)
|
1355
|
+
update!(**args)
|
1356
|
+
end
|
1357
|
+
|
1358
|
+
# Update properties of this object
|
1359
|
+
def update!(**args)
|
1360
|
+
@apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
|
1361
|
+
end
|
1362
|
+
end
|
1363
|
+
|
1064
1364
|
# The response to upload an artifact.
|
1065
1365
|
class UploadYumArtifactMediaResponse
|
1066
1366
|
include Google::Apis::Core::Hashable
|
@@ -1094,6 +1394,26 @@ module Google
|
|
1094
1394
|
end
|
1095
1395
|
end
|
1096
1396
|
|
1397
|
+
# The response of the completed artifact upload operation. This response is
|
1398
|
+
# contained in the Operation and available to users.
|
1399
|
+
class UploadYumArtifactResponse
|
1400
|
+
include Google::Apis::Core::Hashable
|
1401
|
+
|
1402
|
+
# The Apt artifacts updated.
|
1403
|
+
# Corresponds to the JSON property `yumArtifacts`
|
1404
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
|
1405
|
+
attr_accessor :yum_artifacts
|
1406
|
+
|
1407
|
+
def initialize(**args)
|
1408
|
+
update!(**args)
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
# Update properties of this object
|
1412
|
+
def update!(**args)
|
1413
|
+
@yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
|
1414
|
+
end
|
1415
|
+
end
|
1416
|
+
|
1097
1417
|
# The body of a version resource. A version resource represents a collection of
|
1098
1418
|
# components, such as files and other data. This may correspond to a version in
|
1099
1419
|
# many package management schemes.
|
@@ -1149,6 +1469,43 @@ module Google
|
|
1149
1469
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1150
1470
|
end
|
1151
1471
|
end
|
1472
|
+
|
1473
|
+
# A detailed representation of a Yum artifact.
|
1474
|
+
class YumArtifact
|
1475
|
+
include Google::Apis::Core::Hashable
|
1476
|
+
|
1477
|
+
# Output only. Operating system architecture of the artifact.
|
1478
|
+
# Corresponds to the JSON property `architecture`
|
1479
|
+
# @return [String]
|
1480
|
+
attr_accessor :architecture
|
1481
|
+
|
1482
|
+
# Output only. The Artifact Registry resource name of the artifact.
|
1483
|
+
# Corresponds to the JSON property `name`
|
1484
|
+
# @return [String]
|
1485
|
+
attr_accessor :name
|
1486
|
+
|
1487
|
+
# Output only. The yum package name of the artifact.
|
1488
|
+
# Corresponds to the JSON property `packageName`
|
1489
|
+
# @return [String]
|
1490
|
+
attr_accessor :package_name
|
1491
|
+
|
1492
|
+
# Output only. An artifact is a binary or source package.
|
1493
|
+
# Corresponds to the JSON property `packageType`
|
1494
|
+
# @return [String]
|
1495
|
+
attr_accessor :package_type
|
1496
|
+
|
1497
|
+
def initialize(**args)
|
1498
|
+
update!(**args)
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
# Update properties of this object
|
1502
|
+
def update!(**args)
|
1503
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
1504
|
+
@name = args[:name] if args.key?(:name)
|
1505
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
1506
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
1507
|
+
end
|
1508
|
+
end
|
1152
1509
|
end
|
1153
1510
|
end
|
1154
1511
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ArtifactregistryV1
|
18
18
|
# Version of the google-apis-artifactregistry_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220401"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ArtifactregistryV1
|
24
24
|
|
25
|
+
class AptArtifact
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class Binding
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -58,30 +64,66 @@ module Google
|
|
58
64
|
include Google::Apis::Core::JsonObjectSupport
|
59
65
|
end
|
60
66
|
|
67
|
+
class ImportAptArtifactsErrorInfo
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
61
73
|
class ImportAptArtifactsGcsSource
|
62
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
75
|
|
64
76
|
include Google::Apis::Core::JsonObjectSupport
|
65
77
|
end
|
66
78
|
|
79
|
+
class ImportAptArtifactsMetadata
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
67
85
|
class ImportAptArtifactsRequest
|
68
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
87
|
|
70
88
|
include Google::Apis::Core::JsonObjectSupport
|
71
89
|
end
|
72
90
|
|
91
|
+
class ImportAptArtifactsResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class ImportYumArtifactsErrorInfo
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
73
103
|
class ImportYumArtifactsGcsSource
|
74
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
105
|
|
76
106
|
include Google::Apis::Core::JsonObjectSupport
|
77
107
|
end
|
78
108
|
|
109
|
+
class ImportYumArtifactsMetadata
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
79
115
|
class ImportYumArtifactsRequest
|
80
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
117
|
|
82
118
|
include Google::Apis::Core::JsonObjectSupport
|
83
119
|
end
|
84
120
|
|
121
|
+
class ImportYumArtifactsResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
85
127
|
class ListDockerImagesResponse
|
86
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
129
|
|
@@ -94,6 +136,12 @@ module Google
|
|
94
136
|
include Google::Apis::Core::JsonObjectSupport
|
95
137
|
end
|
96
138
|
|
139
|
+
class ListLocationsResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
97
145
|
class ListPackagesResponse
|
98
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
147
|
|
@@ -118,6 +166,12 @@ module Google
|
|
118
166
|
include Google::Apis::Core::JsonObjectSupport
|
119
167
|
end
|
120
168
|
|
169
|
+
class Location
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
121
175
|
class MavenRepositoryConfig
|
122
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
177
|
|
@@ -130,6 +184,12 @@ module Google
|
|
130
184
|
include Google::Apis::Core::JsonObjectSupport
|
131
185
|
end
|
132
186
|
|
187
|
+
class OperationMetadata
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
133
193
|
class Package
|
134
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
195
|
|
@@ -196,6 +256,12 @@ module Google
|
|
196
256
|
include Google::Apis::Core::JsonObjectSupport
|
197
257
|
end
|
198
258
|
|
259
|
+
class UploadAptArtifactResponse
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
199
265
|
class UploadYumArtifactMediaResponse
|
200
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
267
|
|
@@ -208,12 +274,36 @@ module Google
|
|
208
274
|
include Google::Apis::Core::JsonObjectSupport
|
209
275
|
end
|
210
276
|
|
277
|
+
class UploadYumArtifactResponse
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
211
283
|
class Version
|
212
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
285
|
|
214
286
|
include Google::Apis::Core::JsonObjectSupport
|
215
287
|
end
|
216
288
|
|
289
|
+
class YumArtifact
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class AptArtifact
|
296
|
+
# @private
|
297
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
298
|
+
property :architecture, as: 'architecture'
|
299
|
+
property :component, as: 'component'
|
300
|
+
property :control_file, :base64 => true, as: 'controlFile'
|
301
|
+
property :name, as: 'name'
|
302
|
+
property :package_name, as: 'packageName'
|
303
|
+
property :package_type, as: 'packageType'
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
217
307
|
class Binding
|
218
308
|
# @private
|
219
309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -274,6 +364,16 @@ module Google
|
|
274
364
|
end
|
275
365
|
end
|
276
366
|
|
367
|
+
class ImportAptArtifactsErrorInfo
|
368
|
+
# @private
|
369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
370
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
|
371
|
+
|
372
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource::Representation
|
373
|
+
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
277
377
|
class ImportAptArtifactsGcsSource
|
278
378
|
# @private
|
279
379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -282,6 +382,12 @@ module Google
|
|
282
382
|
end
|
283
383
|
end
|
284
384
|
|
385
|
+
class ImportAptArtifactsMetadata
|
386
|
+
# @private
|
387
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
285
391
|
class ImportAptArtifactsRequest
|
286
392
|
# @private
|
287
393
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -290,6 +396,26 @@ module Google
|
|
290
396
|
end
|
291
397
|
end
|
292
398
|
|
399
|
+
class ImportAptArtifactsResponse
|
400
|
+
# @private
|
401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
402
|
+
collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
|
403
|
+
|
404
|
+
collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo::Representation
|
405
|
+
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
409
|
+
class ImportYumArtifactsErrorInfo
|
410
|
+
# @private
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
412
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
|
413
|
+
|
414
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource::Representation
|
415
|
+
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
293
419
|
class ImportYumArtifactsGcsSource
|
294
420
|
# @private
|
295
421
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -298,6 +424,12 @@ module Google
|
|
298
424
|
end
|
299
425
|
end
|
300
426
|
|
427
|
+
class ImportYumArtifactsMetadata
|
428
|
+
# @private
|
429
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
301
433
|
class ImportYumArtifactsRequest
|
302
434
|
# @private
|
303
435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -306,6 +438,16 @@ module Google
|
|
306
438
|
end
|
307
439
|
end
|
308
440
|
|
441
|
+
class ImportYumArtifactsResponse
|
442
|
+
# @private
|
443
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
444
|
+
collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo::Representation
|
445
|
+
|
446
|
+
collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
|
447
|
+
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
309
451
|
class ListDockerImagesResponse
|
310
452
|
# @private
|
311
453
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -324,6 +466,15 @@ module Google
|
|
324
466
|
end
|
325
467
|
end
|
326
468
|
|
469
|
+
class ListLocationsResponse
|
470
|
+
# @private
|
471
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
472
|
+
collection :locations, as: 'locations', class: Google::Apis::ArtifactregistryV1::Location, decorator: Google::Apis::ArtifactregistryV1::Location::Representation
|
473
|
+
|
474
|
+
property :next_page_token, as: 'nextPageToken'
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
327
478
|
class ListPackagesResponse
|
328
479
|
# @private
|
329
480
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -360,6 +511,17 @@ module Google
|
|
360
511
|
end
|
361
512
|
end
|
362
513
|
|
514
|
+
class Location
|
515
|
+
# @private
|
516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
517
|
+
property :display_name, as: 'displayName'
|
518
|
+
hash :labels, as: 'labels'
|
519
|
+
property :location_id, as: 'locationId'
|
520
|
+
hash :metadata, as: 'metadata'
|
521
|
+
property :name, as: 'name'
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
363
525
|
class MavenRepositoryConfig
|
364
526
|
# @private
|
365
527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -380,6 +542,12 @@ module Google
|
|
380
542
|
end
|
381
543
|
end
|
382
544
|
|
545
|
+
class OperationMetadata
|
546
|
+
# @private
|
547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
383
551
|
class Package
|
384
552
|
# @private
|
385
553
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -419,6 +587,7 @@ module Google
|
|
419
587
|
property :maven_config, as: 'mavenConfig', class: Google::Apis::ArtifactregistryV1::MavenRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::MavenRepositoryConfig::Representation
|
420
588
|
|
421
589
|
property :name, as: 'name'
|
590
|
+
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
422
591
|
property :update_time, as: 'updateTime'
|
423
592
|
end
|
424
593
|
end
|
@@ -476,6 +645,14 @@ module Google
|
|
476
645
|
end
|
477
646
|
end
|
478
647
|
|
648
|
+
class UploadAptArtifactResponse
|
649
|
+
# @private
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
651
|
+
collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
|
652
|
+
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
479
656
|
class UploadYumArtifactMediaResponse
|
480
657
|
# @private
|
481
658
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -490,6 +667,14 @@ module Google
|
|
490
667
|
end
|
491
668
|
end
|
492
669
|
|
670
|
+
class UploadYumArtifactResponse
|
671
|
+
# @private
|
672
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
673
|
+
collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
|
674
|
+
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
493
678
|
class Version
|
494
679
|
# @private
|
495
680
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -502,6 +687,16 @@ module Google
|
|
502
687
|
property :update_time, as: 'updateTime'
|
503
688
|
end
|
504
689
|
end
|
690
|
+
|
691
|
+
class YumArtifact
|
692
|
+
# @private
|
693
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
694
|
+
property :architecture, as: 'architecture'
|
695
|
+
property :name, as: 'name'
|
696
|
+
property :package_name, as: 'packageName'
|
697
|
+
property :package_type, as: 'packageType'
|
698
|
+
end
|
699
|
+
end
|
505
700
|
end
|
506
701
|
end
|
507
702
|
end
|
@@ -117,6 +117,79 @@ module Google
|
|
117
117
|
execute_or_queue_command(command, &block)
|
118
118
|
end
|
119
119
|
|
120
|
+
# Gets information about a location.
|
121
|
+
# @param [String] name
|
122
|
+
# Resource name for the location.
|
123
|
+
# @param [String] fields
|
124
|
+
# Selector specifying which fields to include in a partial response.
|
125
|
+
# @param [String] quota_user
|
126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
128
|
+
# @param [Google::Apis::RequestOptions] options
|
129
|
+
# Request-specific options
|
130
|
+
#
|
131
|
+
# @yield [result, err] Result & error if block supplied
|
132
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::Location] parsed result object
|
133
|
+
# @yieldparam err [StandardError] error object if request failed
|
134
|
+
#
|
135
|
+
# @return [Google::Apis::ArtifactregistryV1::Location]
|
136
|
+
#
|
137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
140
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
141
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
142
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::Location::Representation
|
143
|
+
command.response_class = Google::Apis::ArtifactregistryV1::Location
|
144
|
+
command.params['name'] = name unless name.nil?
|
145
|
+
command.query['fields'] = fields unless fields.nil?
|
146
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
147
|
+
execute_or_queue_command(command, &block)
|
148
|
+
end
|
149
|
+
|
150
|
+
# Lists information about the supported locations for this service.
|
151
|
+
# @param [String] name
|
152
|
+
# The resource that owns the locations collection, if applicable.
|
153
|
+
# @param [String] filter
|
154
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
155
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
156
|
+
# in [AIP-160](https://google.aip.dev/160).
|
157
|
+
# @param [Fixnum] page_size
|
158
|
+
# The maximum number of results to return. If not set, the service selects a
|
159
|
+
# default.
|
160
|
+
# @param [String] page_token
|
161
|
+
# A page token received from the `next_page_token` field in the response. Send
|
162
|
+
# that page token to receive the subsequent page.
|
163
|
+
# @param [String] fields
|
164
|
+
# Selector specifying which fields to include in a partial response.
|
165
|
+
# @param [String] quota_user
|
166
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
167
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
168
|
+
# @param [Google::Apis::RequestOptions] options
|
169
|
+
# Request-specific options
|
170
|
+
#
|
171
|
+
# @yield [result, err] Result & error if block supplied
|
172
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::ListLocationsResponse] parsed result object
|
173
|
+
# @yieldparam err [StandardError] error object if request failed
|
174
|
+
#
|
175
|
+
# @return [Google::Apis::ArtifactregistryV1::ListLocationsResponse]
|
176
|
+
#
|
177
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
178
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
179
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
180
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
181
|
+
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
182
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::ListLocationsResponse::Representation
|
183
|
+
command.response_class = Google::Apis::ArtifactregistryV1::ListLocationsResponse
|
184
|
+
command.params['name'] = name unless name.nil?
|
185
|
+
command.query['filter'] = filter unless filter.nil?
|
186
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
187
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
188
|
+
command.query['fields'] = fields unless fields.nil?
|
189
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
190
|
+
execute_or_queue_command(command, &block)
|
191
|
+
end
|
192
|
+
|
120
193
|
# Gets the latest state of a long-running operation. Clients can use this method
|
121
194
|
# to poll the operation result at intervals as recommended by the API service.
|
122
195
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-artifactregistry_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|