google-apis-artifactregistry_v1 0.40.0 → 0.41.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: c5b66b00c69a3cc8ce598dd841516f8fc3c566a8ceda1c7470b5974470bd3ccf
4
- data.tar.gz: c137ea12f025fcfd27878ed50122989a22bef826cee8d0af9a87d153cdfbb4f5
3
+ metadata.gz: 01dbce704cea21f014c4144cbdc4ee723c9cf0f00a940fe15964f638421a8a9f
4
+ data.tar.gz: de85aeef623d4509eca476346e7800ba674a416539bcbe4ce0717ec625e75e58
5
5
  SHA512:
6
- metadata.gz: 2fa08f5f3b19f68d678edf3d951e0d1c8565bc548b4fb2034e2b3f4f89a34fa8f61b537d260ee44f9bd888a1576f19080d16163fbf4d08a7cffb86e50ee609fa
7
- data.tar.gz: 66a6f60cd8a2e2a747805d93ee70ea25884f239d11470ea1ed80ada34317059bae96facfb04d94fd1ded57179798b6067c84aee4e07e730f3be208b27d003c94
6
+ metadata.gz: 749bb254ca07b809f520f039ea472ad32ea2faceb550c1cea72b4f2ec0e4fae2ea5f49a8ae81a071a31b21237a09d52ec5aef8e51fd29af03e064d7767ffe9c8
7
+ data.tar.gz: a2615d229654636eebcd2cb81a2db5143e1720f295dc6682507658be0f30622fe493ddaa63dcf2d6b86419acf88bd1324598452d9c109b712c0c86f546e0d24e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.41.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230512
6
+
3
7
  ### v0.40.0 (2023-04-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230411
@@ -360,6 +360,37 @@ module Google
360
360
  end
361
361
  end
362
362
 
363
+ # A detailed representation of a GooGet artifact.
364
+ class GoogetArtifact
365
+ include Google::Apis::Core::Hashable
366
+
367
+ # Output only. Operating system architecture of the artifact.
368
+ # Corresponds to the JSON property `architecture`
369
+ # @return [String]
370
+ attr_accessor :architecture
371
+
372
+ # Output only. The Artifact Registry resource name of the artifact.
373
+ # Corresponds to the JSON property `name`
374
+ # @return [String]
375
+ attr_accessor :name
376
+
377
+ # Output only. The GooGet package name of the artifact.
378
+ # Corresponds to the JSON property `packageName`
379
+ # @return [String]
380
+ attr_accessor :package_name
381
+
382
+ def initialize(**args)
383
+ update!(**args)
384
+ end
385
+
386
+ # Update properties of this object
387
+ def update!(**args)
388
+ @architecture = args[:architecture] if args.key?(:architecture)
389
+ @name = args[:name] if args.key?(:name)
390
+ @package_name = args[:package_name] if args.key?(:package_name)
391
+ end
392
+ end
393
+
363
394
  # Files store content that is potentially associated with Packages or Versions.
364
395
  class GoogleDevtoolsArtifactregistryV1File
365
396
  include Google::Apis::Core::Hashable
@@ -557,6 +588,36 @@ module Google
557
588
  end
558
589
  end
559
590
 
591
+ # Error information explaining why a package was not imported.
592
+ class ImportGoogetArtifactsErrorInfo
593
+ include Google::Apis::Core::Hashable
594
+
595
+ # The `Status` type defines a logical error model that is suitable for different
596
+ # programming environments, including REST APIs and RPC APIs. It is used by [
597
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
598
+ # data: error code, error message, and error details. You can find out more
599
+ # about this error model and how to work with it in the [API Design Guide](https:
600
+ # //cloud.google.com/apis/design/errors).
601
+ # Corresponds to the JSON property `error`
602
+ # @return [Google::Apis::ArtifactregistryV1::Status]
603
+ attr_accessor :error
604
+
605
+ # Google Cloud Storage location where the artifacts currently reside.
606
+ # Corresponds to the JSON property `gcsSource`
607
+ # @return [Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsGcsSource]
608
+ attr_accessor :gcs_source
609
+
610
+ def initialize(**args)
611
+ update!(**args)
612
+ end
613
+
614
+ # Update properties of this object
615
+ def update!(**args)
616
+ @error = args[:error] if args.key?(:error)
617
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
618
+ end
619
+ end
620
+
560
621
  # Google Cloud Storage location where the artifacts currently reside.
561
622
  class ImportGoogetArtifactsGcsSource
562
623
  include Google::Apis::Core::Hashable
@@ -583,6 +644,19 @@ module Google
583
644
  end
584
645
  end
585
646
 
647
+ # The operation metadata for importing artifacts.
648
+ class ImportGoogetArtifactsMetadata
649
+ include Google::Apis::Core::Hashable
650
+
651
+ def initialize(**args)
652
+ update!(**args)
653
+ end
654
+
655
+ # Update properties of this object
656
+ def update!(**args)
657
+ end
658
+ end
659
+
586
660
  # The request to import new googet artifacts.
587
661
  class ImportGoogetArtifactsRequest
588
662
  include Google::Apis::Core::Hashable
@@ -602,6 +676,31 @@ module Google
602
676
  end
603
677
  end
604
678
 
679
+ # The response message from importing artifacts.
680
+ class ImportGoogetArtifactsResponse
681
+ include Google::Apis::Core::Hashable
682
+
683
+ # Detailed error info for packages that were not imported.
684
+ # Corresponds to the JSON property `errors`
685
+ # @return [Array<Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsErrorInfo>]
686
+ attr_accessor :errors
687
+
688
+ # The GooGet artifacts updated.
689
+ # Corresponds to the JSON property `googetArtifacts`
690
+ # @return [Array<Google::Apis::ArtifactregistryV1::GoogetArtifact>]
691
+ attr_accessor :googet_artifacts
692
+
693
+ def initialize(**args)
694
+ update!(**args)
695
+ end
696
+
697
+ # Update properties of this object
698
+ def update!(**args)
699
+ @errors = args[:errors] if args.key?(:errors)
700
+ @googet_artifacts = args[:googet_artifacts] if args.key?(:googet_artifacts)
701
+ end
702
+ end
703
+
605
704
  # Error information explaining why a package was not imported.
606
705
  class ImportYumArtifactsErrorInfo
607
706
  include Google::Apis::Core::Hashable
@@ -1003,7 +1102,7 @@ module Google
1003
1102
  end
1004
1103
  end
1005
1104
 
1006
- # A resource that represents Google Cloud Platform location.
1105
+ # A resource that represents a Google Cloud location.
1007
1106
  class Location
1008
1107
  include Google::Apis::Core::Hashable
1009
1108
 
@@ -1928,6 +2027,19 @@ module Google
1928
2027
  end
1929
2028
  end
1930
2029
 
2030
+ # The operation metadata for uploading artifacts.
2031
+ class UploadGoogetArtifactMetadata
2032
+ include Google::Apis::Core::Hashable
2033
+
2034
+ def initialize(**args)
2035
+ update!(**args)
2036
+ end
2037
+
2038
+ # Update properties of this object
2039
+ def update!(**args)
2040
+ end
2041
+ end
2042
+
1931
2043
  # The request to upload an artifact.
1932
2044
  class UploadGoogetArtifactRequest
1933
2045
  include Google::Apis::Core::Hashable
@@ -1941,6 +2053,26 @@ module Google
1941
2053
  end
1942
2054
  end
1943
2055
 
2056
+ # The response of the completed artifact upload operation. This response is
2057
+ # contained in the Operation and available to users.
2058
+ class UploadGoogetArtifactResponse
2059
+ include Google::Apis::Core::Hashable
2060
+
2061
+ # The Apt artifacts updated.
2062
+ # Corresponds to the JSON property `googetArtifacts`
2063
+ # @return [Array<Google::Apis::ArtifactregistryV1::GoogetArtifact>]
2064
+ attr_accessor :googet_artifacts
2065
+
2066
+ def initialize(**args)
2067
+ update!(**args)
2068
+ end
2069
+
2070
+ # Update properties of this object
2071
+ def update!(**args)
2072
+ @googet_artifacts = args[:googet_artifacts] if args.key?(:googet_artifacts)
2073
+ end
2074
+ end
2075
+
1944
2076
  # The response to upload an artifact.
1945
2077
  class UploadKfpArtifactMediaResponse
1946
2078
  include Google::Apis::Core::Hashable
@@ -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.40.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230411"
25
+ REVISION = "20230512"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class GoogetArtifact
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class GoogleDevtoolsArtifactregistryV1File
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -112,18 +118,36 @@ module Google
112
118
  include Google::Apis::Core::JsonObjectSupport
113
119
  end
114
120
 
121
+ class ImportGoogetArtifactsErrorInfo
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
115
127
  class ImportGoogetArtifactsGcsSource
116
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
129
 
118
130
  include Google::Apis::Core::JsonObjectSupport
119
131
  end
120
132
 
133
+ class ImportGoogetArtifactsMetadata
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
121
139
  class ImportGoogetArtifactsRequest
122
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
141
 
124
142
  include Google::Apis::Core::JsonObjectSupport
125
143
  end
126
144
 
145
+ class ImportGoogetArtifactsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
127
151
  class ImportYumArtifactsErrorInfo
128
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
153
 
@@ -370,12 +394,24 @@ module Google
370
394
  include Google::Apis::Core::JsonObjectSupport
371
395
  end
372
396
 
397
+ class UploadGoogetArtifactMetadata
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
373
403
  class UploadGoogetArtifactRequest
374
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
405
 
376
406
  include Google::Apis::Core::JsonObjectSupport
377
407
  end
378
408
 
409
+ class UploadGoogetArtifactResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
379
415
  class UploadKfpArtifactMediaResponse
380
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
417
 
@@ -521,6 +557,15 @@ module Google
521
557
  end
522
558
  end
523
559
 
560
+ class GoogetArtifact
561
+ # @private
562
+ class Representation < Google::Apis::Core::JsonRepresentation
563
+ property :architecture, as: 'architecture'
564
+ property :name, as: 'name'
565
+ property :package_name, as: 'packageName'
566
+ end
567
+ end
568
+
524
569
  class GoogleDevtoolsArtifactregistryV1File
525
570
  # @private
526
571
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -585,6 +630,16 @@ module Google
585
630
  end
586
631
  end
587
632
 
633
+ class ImportGoogetArtifactsErrorInfo
634
+ # @private
635
+ class Representation < Google::Apis::Core::JsonRepresentation
636
+ property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
637
+
638
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsGcsSource::Representation
639
+
640
+ end
641
+ end
642
+
588
643
  class ImportGoogetArtifactsGcsSource
589
644
  # @private
590
645
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -593,6 +648,12 @@ module Google
593
648
  end
594
649
  end
595
650
 
651
+ class ImportGoogetArtifactsMetadata
652
+ # @private
653
+ class Representation < Google::Apis::Core::JsonRepresentation
654
+ end
655
+ end
656
+
596
657
  class ImportGoogetArtifactsRequest
597
658
  # @private
598
659
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -601,6 +662,16 @@ module Google
601
662
  end
602
663
  end
603
664
 
665
+ class ImportGoogetArtifactsResponse
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsErrorInfo::Representation
669
+
670
+ collection :googet_artifacts, as: 'googetArtifacts', class: Google::Apis::ArtifactregistryV1::GoogetArtifact, decorator: Google::Apis::ArtifactregistryV1::GoogetArtifact::Representation
671
+
672
+ end
673
+ end
674
+
604
675
  class ImportYumArtifactsErrorInfo
605
676
  # @private
606
677
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -978,12 +1049,26 @@ module Google
978
1049
  end
979
1050
  end
980
1051
 
1052
+ class UploadGoogetArtifactMetadata
1053
+ # @private
1054
+ class Representation < Google::Apis::Core::JsonRepresentation
1055
+ end
1056
+ end
1057
+
981
1058
  class UploadGoogetArtifactRequest
982
1059
  # @private
983
1060
  class Representation < Google::Apis::Core::JsonRepresentation
984
1061
  end
985
1062
  end
986
1063
 
1064
+ class UploadGoogetArtifactResponse
1065
+ # @private
1066
+ class Representation < Google::Apis::Core::JsonRepresentation
1067
+ collection :googet_artifacts, as: 'googetArtifacts', class: Google::Apis::ArtifactregistryV1::GoogetArtifact, decorator: Google::Apis::ArtifactregistryV1::GoogetArtifact::Representation
1068
+
1069
+ end
1070
+ end
1071
+
987
1072
  class UploadKfpArtifactMediaResponse
988
1073
  # @private
989
1074
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1261,7 +1261,8 @@ module Google
1261
1261
 
1262
1262
  # Lists tags.
1263
1263
  # @param [String] parent
1264
- # The name of the parent resource whose tags will be listed.
1264
+ # The name of the parent package whose tags will be listed. Example: "projects/
1265
+ # p1/locations/us-central1/repositories/repo1/packages/pkg1
1265
1266
  # @param [String] filter
1266
1267
  # An expression for filtering the results of the request. Filter rules are case
1267
1268
  # insensitive. The fields eligible for filtering are: * `version` An example of
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.40.0
4
+ version: 0.41.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: 2023-04-23 00:00:00.000000000 Z
11
+ date: 2023-05-21 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.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.41.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: []