google-apis-artifactregistry_v1 0.28.0 → 0.31.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: 21ad5e885614aa300e412310564eba337fee861b16ddad41ad5b1e7582877273
4
- data.tar.gz: 2f2f42b3ef115a40c9e2b1c51004c6fb1d1a270ba3df803ce1e2f50fdcc3d2fd
3
+ metadata.gz: 3013e035c5d484e464d6449091f0ddbb499842e4aaa9362a8195988b0d9866d3
4
+ data.tar.gz: ecfc0df7192e23cdb66ed3fe665245d9d9a0ddaf908df25cf1aad759db83cd2b
5
5
  SHA512:
6
- metadata.gz: bb0dd3f4c12c3cbfa3b53aba0c8a9b90170ebc9d0c900c9aa92db8676ade9dfd1b84c7dddbdd5f01a538710eae18c9610c318f9bf1295d6d33c752c05f21fb92
7
- data.tar.gz: 247f2e1268dff5a0f781709439c9effa856e11466e6597a967318f54b8e5b66a754f6c11cedce1f3a5c46eb68ae367c47df38f4c6f863f19f97f8441dc5ac256
6
+ metadata.gz: 980d4e898d26fd5db4b2175e1782368dfe95f2fe263390fb6e64034a70eebd5223c1a48d87ca35cb38107af0e61f1106e0d12aae45098bf2e97cab53a832560b
7
+ data.tar.gz: 75049b18c4f9cc304f201f3feb539d684d3de0914f5fdad34c80c9d4fb37318f97b28839ac57334dad509f5ef6d9861c8d632d834f2acabe98451b1f8182b4d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.31.0 (2022-08-13)
4
+
5
+ * Regenerated from discovery document revision 20220809
6
+
7
+ ### v0.30.0 (2022-08-06)
8
+
9
+ * Regenerated from discovery document revision 20220803
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.29.0 (2022-07-02)
13
+
14
+ * Regenerated using generator version 0.8.0
15
+ * Regenerated from discovery document revision 20220623
16
+
3
17
  ### v0.28.0 (2022-06-19)
4
18
 
5
19
  * Regenerated using generator version 0.7.0
@@ -123,25 +123,28 @@ module Google
123
123
  # anyone who is authenticated with a Google account or a service account. * `
124
124
  # user:`emailid``: An email address that represents a specific Google account.
125
125
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
126
- # address that represents a service account. For example, `my-other-app@appspot.
127
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
128
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
129
- # `uniqueid``: An email address (plus unique identifier) representing a user
130
- # that has been recently deleted. For example, `alice@example.com?uid=
131
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
132
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
133
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
134
- # identifier) representing a service account that has been recently deleted. For
135
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
136
- # If the service account is undeleted, this value reverts to `serviceAccount:`
137
- # emailid`` and the undeleted service account retains the role in the binding. *
138
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
139
- # identifier) representing a Google group that has been recently deleted. For
140
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
141
- # recovered, this value reverts to `group:`emailid`` and the recovered group
142
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
143
- # primary) that represents all the users of that domain. For example, `google.
144
- # com` or `example.com`.
126
+ # address that represents a Google service account. For example, `my-other-app@
127
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
128
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
129
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
130
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
131
+ # . * `group:`emailid``: An email address that represents a Google group. For
132
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
133
+ # email address (plus unique identifier) representing a user that has been
134
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
135
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
136
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
137
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
138
+ # representing a service account that has been recently deleted. For example, `
139
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
140
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
141
+ # and the undeleted service account retains the role in the binding. * `deleted:
142
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
143
+ # representing a Google group that has been recently deleted. For example, `
144
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
145
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
146
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
147
+ # all the users of that domain. For example, `google.com` or `example.com`.
145
148
  # Corresponds to the JSON property `members`
146
149
  # @return [Array<String>]
147
150
  attr_accessor :members
@@ -209,6 +212,11 @@ module Google
209
212
  # @return [Array<String>]
210
213
  attr_accessor :tags
211
214
 
215
+ # Output only. The time when the docker image was last updated.
216
+ # Corresponds to the JSON property `updateTime`
217
+ # @return [String]
218
+ attr_accessor :update_time
219
+
212
220
  # Time the image was uploaded.
213
221
  # Corresponds to the JSON property `uploadTime`
214
222
  # @return [String]
@@ -232,6 +240,7 @@ module Google
232
240
  @media_type = args[:media_type] if args.key?(:media_type)
233
241
  @name = args[:name] if args.key?(:name)
234
242
  @tags = args[:tags] if args.key?(:tags)
243
+ @update_time = args[:update_time] if args.key?(:update_time)
235
244
  @upload_time = args[:upload_time] if args.key?(:upload_time)
236
245
  @uri = args[:uri] if args.key?(:uri)
237
246
  end
@@ -687,6 +696,58 @@ module Google
687
696
  end
688
697
  end
689
698
 
699
+ # The response from listing maven artifacts.
700
+ class ListMavenArtifactsResponse
701
+ include Google::Apis::Core::Hashable
702
+
703
+ # The maven artifacts returned.
704
+ # Corresponds to the JSON property `mavenArtifacts`
705
+ # @return [Array<Google::Apis::ArtifactregistryV1::MavenArtifact>]
706
+ attr_accessor :maven_artifacts
707
+
708
+ # The token to retrieve the next page of artifacts, or empty if there are no
709
+ # more artifacts to return.
710
+ # Corresponds to the JSON property `nextPageToken`
711
+ # @return [String]
712
+ attr_accessor :next_page_token
713
+
714
+ def initialize(**args)
715
+ update!(**args)
716
+ end
717
+
718
+ # Update properties of this object
719
+ def update!(**args)
720
+ @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
721
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
722
+ end
723
+ end
724
+
725
+ # The response from listing npm packages.
726
+ class ListNpmPackagesResponse
727
+ include Google::Apis::Core::Hashable
728
+
729
+ # The token to retrieve the next page of artifacts, or empty if there are no
730
+ # more artifacts to return.
731
+ # Corresponds to the JSON property `nextPageToken`
732
+ # @return [String]
733
+ attr_accessor :next_page_token
734
+
735
+ # The npm packages returned.
736
+ # Corresponds to the JSON property `npmPackages`
737
+ # @return [Array<Google::Apis::ArtifactregistryV1::NpmPackage>]
738
+ attr_accessor :npm_packages
739
+
740
+ def initialize(**args)
741
+ update!(**args)
742
+ end
743
+
744
+ # Update properties of this object
745
+ def update!(**args)
746
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
747
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
748
+ end
749
+ end
750
+
690
751
  # The response from listing packages.
691
752
  class ListPackagesResponse
692
753
  include Google::Apis::Core::Hashable
@@ -713,6 +774,32 @@ module Google
713
774
  end
714
775
  end
715
776
 
777
+ # The response from listing python packages.
778
+ class ListPythonPackagesResponse
779
+ include Google::Apis::Core::Hashable
780
+
781
+ # The token to retrieve the next page of artifacts, or empty if there are no
782
+ # more artifacts to return.
783
+ # Corresponds to the JSON property `nextPageToken`
784
+ # @return [String]
785
+ attr_accessor :next_page_token
786
+
787
+ # The python packages returned.
788
+ # Corresponds to the JSON property `pythonPackages`
789
+ # @return [Array<Google::Apis::ArtifactregistryV1::PythonPackage>]
790
+ attr_accessor :python_packages
791
+
792
+ def initialize(**args)
793
+ update!(**args)
794
+ end
795
+
796
+ # Update properties of this object
797
+ def update!(**args)
798
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
799
+ @python_packages = args[:python_packages] if args.key?(:python_packages)
800
+ end
801
+ end
802
+
716
803
  # The response from listing repositories.
717
804
  class ListRepositoriesResponse
718
805
  include Google::Apis::Core::Hashable
@@ -838,6 +925,67 @@ module Google
838
925
  end
839
926
  end
840
927
 
928
+ # MavenArtifact represents a maven artifact.
929
+ class MavenArtifact
930
+ include Google::Apis::Core::Hashable
931
+
932
+ # Artifact ID for the artifact.
933
+ # Corresponds to the JSON property `artifactId`
934
+ # @return [String]
935
+ attr_accessor :artifact_id
936
+
937
+ # Output only. Time the artifact was created.
938
+ # Corresponds to the JSON property `createTime`
939
+ # @return [String]
940
+ attr_accessor :create_time
941
+
942
+ # Group ID for the artifact. Example: com.google.guava
943
+ # Corresponds to the JSON property `groupId`
944
+ # @return [String]
945
+ attr_accessor :group_id
946
+
947
+ # Required. registry_location, project_id, repository_name and maven_artifact
948
+ # forms a unique artifact For example, "projects/test-project/locations/us-west4/
949
+ # repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre", where
950
+ # "us-west4" is the registry_location, "test-project" is the project_id, "test-
951
+ # repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the
952
+ # maven artifact.
953
+ # Corresponds to the JSON property `name`
954
+ # @return [String]
955
+ attr_accessor :name
956
+
957
+ # Required. URL to access the pom file of the artifact. Example: us-west4-maven.
958
+ # pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom
959
+ # Corresponds to the JSON property `pomUri`
960
+ # @return [String]
961
+ attr_accessor :pom_uri
962
+
963
+ # Output only. Time the artifact was updated.
964
+ # Corresponds to the JSON property `updateTime`
965
+ # @return [String]
966
+ attr_accessor :update_time
967
+
968
+ # Version of this artifact.
969
+ # Corresponds to the JSON property `version`
970
+ # @return [String]
971
+ attr_accessor :version
972
+
973
+ def initialize(**args)
974
+ update!(**args)
975
+ end
976
+
977
+ # Update properties of this object
978
+ def update!(**args)
979
+ @artifact_id = args[:artifact_id] if args.key?(:artifact_id)
980
+ @create_time = args[:create_time] if args.key?(:create_time)
981
+ @group_id = args[:group_id] if args.key?(:group_id)
982
+ @name = args[:name] if args.key?(:name)
983
+ @pom_uri = args[:pom_uri] if args.key?(:pom_uri)
984
+ @update_time = args[:update_time] if args.key?(:update_time)
985
+ @version = args[:version] if args.key?(:version)
986
+ end
987
+ end
988
+
841
989
  # MavenRepositoryConfig is maven related repository details. Provides additional
842
990
  # configuration details for repositories of the maven format type.
843
991
  class MavenRepositoryConfig
@@ -865,6 +1013,59 @@ module Google
865
1013
  end
866
1014
  end
867
1015
 
1016
+ # NpmPackage represents an npm artifact.
1017
+ class NpmPackage
1018
+ include Google::Apis::Core::Hashable
1019
+
1020
+ # Output only. Time the package was created.
1021
+ # Corresponds to the JSON property `createTime`
1022
+ # @return [String]
1023
+ attr_accessor :create_time
1024
+
1025
+ # Required. registry_location, project_id, repository_name and npm_package forms
1026
+ # a unique package For example, "projects/test-project/locations/us-west4/
1027
+ # repositories/test-repo/npmPackages/ npm_test:1.0.0", where "us-west4" is the
1028
+ # registry_location, "test-project" is the project_id, "test-repo" is the
1029
+ # repository_name and npm_test:1.0.0" is the npm package.
1030
+ # Corresponds to the JSON property `name`
1031
+ # @return [String]
1032
+ attr_accessor :name
1033
+
1034
+ # Package for the artifact.
1035
+ # Corresponds to the JSON property `packageName`
1036
+ # @return [String]
1037
+ attr_accessor :package_name
1038
+
1039
+ # Tags attached to this package.
1040
+ # Corresponds to the JSON property `tags`
1041
+ # @return [Array<String>]
1042
+ attr_accessor :tags
1043
+
1044
+ # Output only. Time the package was updated.
1045
+ # Corresponds to the JSON property `updateTime`
1046
+ # @return [String]
1047
+ attr_accessor :update_time
1048
+
1049
+ # Version of this package.
1050
+ # Corresponds to the JSON property `version`
1051
+ # @return [String]
1052
+ attr_accessor :version
1053
+
1054
+ def initialize(**args)
1055
+ update!(**args)
1056
+ end
1057
+
1058
+ # Update properties of this object
1059
+ def update!(**args)
1060
+ @create_time = args[:create_time] if args.key?(:create_time)
1061
+ @name = args[:name] if args.key?(:name)
1062
+ @package_name = args[:package_name] if args.key?(:package_name)
1063
+ @tags = args[:tags] if args.key?(:tags)
1064
+ @update_time = args[:update_time] if args.key?(:update_time)
1065
+ @version = args[:version] if args.key?(:version)
1066
+ end
1067
+ end
1068
+
868
1069
  # This resource represents a long-running operation that is the result of a
869
1070
  # network API call.
870
1071
  class Operation
@@ -1095,6 +1296,61 @@ module Google
1095
1296
  end
1096
1297
  end
1097
1298
 
1299
+ # PythonPackage represents a python artifact.
1300
+ class PythonPackage
1301
+ include Google::Apis::Core::Hashable
1302
+
1303
+ # Output only. Time the package was created.
1304
+ # Corresponds to the JSON property `createTime`
1305
+ # @return [String]
1306
+ attr_accessor :create_time
1307
+
1308
+ # Required. registry_location, project_id, repository_name and python_package
1309
+ # forms a unique package name:`projects//locations//repository//pythonPackages/`.
1310
+ # For example, "projects/test-project/locations/us-west4/repositories/test-repo/
1311
+ # pythonPackages/ python_package:1.0.0", where "us-west4" is the
1312
+ # registry_location, "test-project" is the project_id, "test-repo" is the
1313
+ # repository_name and python_package:1.0.0" is the python package.
1314
+ # Corresponds to the JSON property `name`
1315
+ # @return [String]
1316
+ attr_accessor :name
1317
+
1318
+ # Package for the artifact.
1319
+ # Corresponds to the JSON property `packageName`
1320
+ # @return [String]
1321
+ attr_accessor :package_name
1322
+
1323
+ # Output only. Time the package was updated.
1324
+ # Corresponds to the JSON property `updateTime`
1325
+ # @return [String]
1326
+ attr_accessor :update_time
1327
+
1328
+ # Required. URL to access the package. Example: us-west4-python.pkg.dev/test-
1329
+ # project/test-repo/python_package/file-name-1.0.0.tar.gz
1330
+ # Corresponds to the JSON property `uri`
1331
+ # @return [String]
1332
+ attr_accessor :uri
1333
+
1334
+ # Version of this package.
1335
+ # Corresponds to the JSON property `version`
1336
+ # @return [String]
1337
+ attr_accessor :version
1338
+
1339
+ def initialize(**args)
1340
+ update!(**args)
1341
+ end
1342
+
1343
+ # Update properties of this object
1344
+ def update!(**args)
1345
+ @create_time = args[:create_time] if args.key?(:create_time)
1346
+ @name = args[:name] if args.key?(:name)
1347
+ @package_name = args[:package_name] if args.key?(:package_name)
1348
+ @update_time = args[:update_time] if args.key?(:update_time)
1349
+ @uri = args[:uri] if args.key?(:uri)
1350
+ @version = args[:version] if args.key?(:version)
1351
+ end
1352
+ end
1353
+
1098
1354
  # A Repository for storing artifacts with a specific format.
1099
1355
  class Repository
1100
1356
  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.28.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220506"
25
+ REVISION = "20220809"
26
26
  end
27
27
  end
28
28
  end
@@ -148,12 +148,30 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class ListMavenArtifactsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ListNpmPackagesResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
151
163
  class ListPackagesResponse
152
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
165
 
154
166
  include Google::Apis::Core::JsonObjectSupport
155
167
  end
156
168
 
169
+ class ListPythonPackagesResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
157
175
  class ListRepositoriesResponse
158
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
177
 
@@ -178,12 +196,24 @@ module Google
178
196
  include Google::Apis::Core::JsonObjectSupport
179
197
  end
180
198
 
199
+ class MavenArtifact
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
181
205
  class MavenRepositoryConfig
182
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
207
 
184
208
  include Google::Apis::Core::JsonObjectSupport
185
209
  end
186
210
 
211
+ class NpmPackage
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
187
217
  class Operation
188
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
219
 
@@ -214,6 +244,12 @@ module Google
214
244
  include Google::Apis::Core::JsonObjectSupport
215
245
  end
216
246
 
247
+ class PythonPackage
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
217
253
  class Repository
218
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
255
 
@@ -347,6 +383,7 @@ module Google
347
383
  property :media_type, as: 'mediaType'
348
384
  property :name, as: 'name'
349
385
  collection :tags, as: 'tags'
386
+ property :update_time, as: 'updateTime'
350
387
  property :upload_time, as: 'uploadTime'
351
388
  property :uri, as: 'uri'
352
389
  end
@@ -500,6 +537,24 @@ module Google
500
537
  end
501
538
  end
502
539
 
540
+ class ListMavenArtifactsResponse
541
+ # @private
542
+ class Representation < Google::Apis::Core::JsonRepresentation
543
+ collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ArtifactregistryV1::MavenArtifact, decorator: Google::Apis::ArtifactregistryV1::MavenArtifact::Representation
544
+
545
+ property :next_page_token, as: 'nextPageToken'
546
+ end
547
+ end
548
+
549
+ class ListNpmPackagesResponse
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :next_page_token, as: 'nextPageToken'
553
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::ArtifactregistryV1::NpmPackage, decorator: Google::Apis::ArtifactregistryV1::NpmPackage::Representation
554
+
555
+ end
556
+ end
557
+
503
558
  class ListPackagesResponse
504
559
  # @private
505
560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -509,6 +564,15 @@ module Google
509
564
  end
510
565
  end
511
566
 
567
+ class ListPythonPackagesResponse
568
+ # @private
569
+ class Representation < Google::Apis::Core::JsonRepresentation
570
+ property :next_page_token, as: 'nextPageToken'
571
+ collection :python_packages, as: 'pythonPackages', class: Google::Apis::ArtifactregistryV1::PythonPackage, decorator: Google::Apis::ArtifactregistryV1::PythonPackage::Representation
572
+
573
+ end
574
+ end
575
+
512
576
  class ListRepositoriesResponse
513
577
  # @private
514
578
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -547,6 +611,19 @@ module Google
547
611
  end
548
612
  end
549
613
 
614
+ class MavenArtifact
615
+ # @private
616
+ class Representation < Google::Apis::Core::JsonRepresentation
617
+ property :artifact_id, as: 'artifactId'
618
+ property :create_time, as: 'createTime'
619
+ property :group_id, as: 'groupId'
620
+ property :name, as: 'name'
621
+ property :pom_uri, as: 'pomUri'
622
+ property :update_time, as: 'updateTime'
623
+ property :version, as: 'version'
624
+ end
625
+ end
626
+
550
627
  class MavenRepositoryConfig
551
628
  # @private
552
629
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -555,6 +632,18 @@ module Google
555
632
  end
556
633
  end
557
634
 
635
+ class NpmPackage
636
+ # @private
637
+ class Representation < Google::Apis::Core::JsonRepresentation
638
+ property :create_time, as: 'createTime'
639
+ property :name, as: 'name'
640
+ property :package_name, as: 'packageName'
641
+ collection :tags, as: 'tags'
642
+ property :update_time, as: 'updateTime'
643
+ property :version, as: 'version'
644
+ end
645
+ end
646
+
558
647
  class Operation
559
648
  # @private
560
649
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -601,6 +690,18 @@ module Google
601
690
  end
602
691
  end
603
692
 
693
+ class PythonPackage
694
+ # @private
695
+ class Representation < Google::Apis::Core::JsonRepresentation
696
+ property :create_time, as: 'createTime'
697
+ property :name, as: 'name'
698
+ property :package_name, as: 'packageName'
699
+ property :update_time, as: 'updateTime'
700
+ property :uri, as: 'uri'
701
+ property :version, as: 'version'
702
+ end
703
+ end
704
+
604
705
  class Repository
605
706
  # @private
606
707
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -624,6 +624,8 @@ module Google
624
624
  # Lists docker images.
625
625
  # @param [String] parent
626
626
  # Required. The name of the parent resource whose docker images will be listed.
627
+ # @param [String] order_by
628
+ # The field to order the results by.
627
629
  # @param [Fixnum] page_size
628
630
  # The maximum number of artifacts to return.
629
631
  # @param [String] page_token
@@ -645,11 +647,12 @@ module Google
645
647
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
646
648
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
647
649
  # @raise [Google::Apis::AuthorizationError] Authorization is required
648
- def list_project_location_repository_docker_images(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
650
+ def list_project_location_repository_docker_images(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
649
651
  command = make_simple_command(:get, 'v1/{+parent}/dockerImages', options)
650
652
  command.response_representation = Google::Apis::ArtifactregistryV1::ListDockerImagesResponse::Representation
651
653
  command.response_class = Google::Apis::ArtifactregistryV1::ListDockerImagesResponse
652
654
  command.params['parent'] = parent unless parent.nil?
655
+ command.query['orderBy'] = order_by unless order_by.nil?
653
656
  command.query['pageSize'] = page_size unless page_size.nil?
654
657
  command.query['pageToken'] = page_token unless page_token.nil?
655
658
  command.query['fields'] = fields unless fields.nil?
@@ -735,6 +738,138 @@ module Google
735
738
  execute_or_queue_command(command, &block)
736
739
  end
737
740
 
741
+ # Gets a maven artifact.
742
+ # @param [String] name
743
+ # Required. The name of the maven artifact.
744
+ # @param [String] fields
745
+ # Selector specifying which fields to include in a partial response.
746
+ # @param [String] quota_user
747
+ # Available to use for quota purposes for server-side applications. Can be any
748
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
749
+ # @param [Google::Apis::RequestOptions] options
750
+ # Request-specific options
751
+ #
752
+ # @yield [result, err] Result & error if block supplied
753
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::MavenArtifact] parsed result object
754
+ # @yieldparam err [StandardError] error object if request failed
755
+ #
756
+ # @return [Google::Apis::ArtifactregistryV1::MavenArtifact]
757
+ #
758
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
759
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
760
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
761
+ def get_project_location_repository_maven_artifact(name, fields: nil, quota_user: nil, options: nil, &block)
762
+ command = make_simple_command(:get, 'v1/{+name}', options)
763
+ command.response_representation = Google::Apis::ArtifactregistryV1::MavenArtifact::Representation
764
+ command.response_class = Google::Apis::ArtifactregistryV1::MavenArtifact
765
+ command.params['name'] = name unless name.nil?
766
+ command.query['fields'] = fields unless fields.nil?
767
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
768
+ execute_or_queue_command(command, &block)
769
+ end
770
+
771
+ # Lists maven artifacts.
772
+ # @param [String] parent
773
+ # Required. The name of the parent resource whose maven artifacts will be listed.
774
+ # @param [Fixnum] page_size
775
+ # The maximum number of artifacts to return.
776
+ # @param [String] page_token
777
+ # The next_page_token value returned from a previous list request, if any.
778
+ # @param [String] fields
779
+ # Selector specifying which fields to include in a partial response.
780
+ # @param [String] quota_user
781
+ # Available to use for quota purposes for server-side applications. Can be any
782
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
783
+ # @param [Google::Apis::RequestOptions] options
784
+ # Request-specific options
785
+ #
786
+ # @yield [result, err] Result & error if block supplied
787
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::ListMavenArtifactsResponse] parsed result object
788
+ # @yieldparam err [StandardError] error object if request failed
789
+ #
790
+ # @return [Google::Apis::ArtifactregistryV1::ListMavenArtifactsResponse]
791
+ #
792
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
793
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
794
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
795
+ def list_project_location_repository_maven_artifacts(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
796
+ command = make_simple_command(:get, 'v1/{+parent}/mavenArtifacts', options)
797
+ command.response_representation = Google::Apis::ArtifactregistryV1::ListMavenArtifactsResponse::Representation
798
+ command.response_class = Google::Apis::ArtifactregistryV1::ListMavenArtifactsResponse
799
+ command.params['parent'] = parent unless parent.nil?
800
+ command.query['pageSize'] = page_size unless page_size.nil?
801
+ command.query['pageToken'] = page_token unless page_token.nil?
802
+ command.query['fields'] = fields unless fields.nil?
803
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
804
+ execute_or_queue_command(command, &block)
805
+ end
806
+
807
+ # Gets a npm package.
808
+ # @param [String] name
809
+ # Required. The name of the npm package.
810
+ # @param [String] fields
811
+ # Selector specifying which fields to include in a partial response.
812
+ # @param [String] quota_user
813
+ # Available to use for quota purposes for server-side applications. Can be any
814
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
815
+ # @param [Google::Apis::RequestOptions] options
816
+ # Request-specific options
817
+ #
818
+ # @yield [result, err] Result & error if block supplied
819
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::NpmPackage] parsed result object
820
+ # @yieldparam err [StandardError] error object if request failed
821
+ #
822
+ # @return [Google::Apis::ArtifactregistryV1::NpmPackage]
823
+ #
824
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
825
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
826
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
827
+ def get_project_location_repository_npm_package(name, fields: nil, quota_user: nil, options: nil, &block)
828
+ command = make_simple_command(:get, 'v1/{+name}', options)
829
+ command.response_representation = Google::Apis::ArtifactregistryV1::NpmPackage::Representation
830
+ command.response_class = Google::Apis::ArtifactregistryV1::NpmPackage
831
+ command.params['name'] = name unless name.nil?
832
+ command.query['fields'] = fields unless fields.nil?
833
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
834
+ execute_or_queue_command(command, &block)
835
+ end
836
+
837
+ # Lists npm packages.
838
+ # @param [String] parent
839
+ # Required. The name of the parent resource whose npm packages will be listed.
840
+ # @param [Fixnum] page_size
841
+ # The maximum number of artifacts to return.
842
+ # @param [String] page_token
843
+ # The next_page_token value returned from a previous list request, if any.
844
+ # @param [String] fields
845
+ # Selector specifying which fields to include in a partial response.
846
+ # @param [String] quota_user
847
+ # Available to use for quota purposes for server-side applications. Can be any
848
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
849
+ # @param [Google::Apis::RequestOptions] options
850
+ # Request-specific options
851
+ #
852
+ # @yield [result, err] Result & error if block supplied
853
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::ListNpmPackagesResponse] parsed result object
854
+ # @yieldparam err [StandardError] error object if request failed
855
+ #
856
+ # @return [Google::Apis::ArtifactregistryV1::ListNpmPackagesResponse]
857
+ #
858
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
859
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
860
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
861
+ def list_project_location_repository_npm_packages(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
862
+ command = make_simple_command(:get, 'v1/{+parent}/npmPackages', options)
863
+ command.response_representation = Google::Apis::ArtifactregistryV1::ListNpmPackagesResponse::Representation
864
+ command.response_class = Google::Apis::ArtifactregistryV1::ListNpmPackagesResponse
865
+ command.params['parent'] = parent unless parent.nil?
866
+ command.query['pageSize'] = page_size unless page_size.nil?
867
+ command.query['pageToken'] = page_token unless page_token.nil?
868
+ command.query['fields'] = fields unless fields.nil?
869
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
870
+ execute_or_queue_command(command, &block)
871
+ end
872
+
738
873
  # Deletes a package and all of its versions and tags. The returned operation
739
874
  # will complete once the package has been deleted.
740
875
  # @param [String] name
@@ -1122,6 +1257,72 @@ module Google
1122
1257
  execute_or_queue_command(command, &block)
1123
1258
  end
1124
1259
 
1260
+ # Gets a python package.
1261
+ # @param [String] name
1262
+ # Required. The name of the python package.
1263
+ # @param [String] fields
1264
+ # Selector specifying which fields to include in a partial response.
1265
+ # @param [String] quota_user
1266
+ # Available to use for quota purposes for server-side applications. Can be any
1267
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1268
+ # @param [Google::Apis::RequestOptions] options
1269
+ # Request-specific options
1270
+ #
1271
+ # @yield [result, err] Result & error if block supplied
1272
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::PythonPackage] parsed result object
1273
+ # @yieldparam err [StandardError] error object if request failed
1274
+ #
1275
+ # @return [Google::Apis::ArtifactregistryV1::PythonPackage]
1276
+ #
1277
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1278
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1279
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1280
+ def get_project_location_repository_python_package(name, fields: nil, quota_user: nil, options: nil, &block)
1281
+ command = make_simple_command(:get, 'v1/{+name}', options)
1282
+ command.response_representation = Google::Apis::ArtifactregistryV1::PythonPackage::Representation
1283
+ command.response_class = Google::Apis::ArtifactregistryV1::PythonPackage
1284
+ command.params['name'] = name unless name.nil?
1285
+ command.query['fields'] = fields unless fields.nil?
1286
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1287
+ execute_or_queue_command(command, &block)
1288
+ end
1289
+
1290
+ # Lists python packages.
1291
+ # @param [String] parent
1292
+ # Required. The name of the parent resource whose python packages will be listed.
1293
+ # @param [Fixnum] page_size
1294
+ # The maximum number of artifacts to return.
1295
+ # @param [String] page_token
1296
+ # The next_page_token value returned from a previous list request, if any.
1297
+ # @param [String] fields
1298
+ # Selector specifying which fields to include in a partial response.
1299
+ # @param [String] quota_user
1300
+ # Available to use for quota purposes for server-side applications. Can be any
1301
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1302
+ # @param [Google::Apis::RequestOptions] options
1303
+ # Request-specific options
1304
+ #
1305
+ # @yield [result, err] Result & error if block supplied
1306
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::ListPythonPackagesResponse] parsed result object
1307
+ # @yieldparam err [StandardError] error object if request failed
1308
+ #
1309
+ # @return [Google::Apis::ArtifactregistryV1::ListPythonPackagesResponse]
1310
+ #
1311
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1312
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1313
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1314
+ def list_project_location_repository_python_packages(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1315
+ command = make_simple_command(:get, 'v1/{+parent}/pythonPackages', options)
1316
+ command.response_representation = Google::Apis::ArtifactregistryV1::ListPythonPackagesResponse::Representation
1317
+ command.response_class = Google::Apis::ArtifactregistryV1::ListPythonPackagesResponse
1318
+ command.params['parent'] = parent unless parent.nil?
1319
+ command.query['pageSize'] = page_size unless page_size.nil?
1320
+ command.query['pageToken'] = page_token unless page_token.nil?
1321
+ command.query['fields'] = fields unless fields.nil?
1322
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1323
+ execute_or_queue_command(command, &block)
1324
+ end
1325
+
1125
1326
  # Imports Yum (RPM) artifacts. The returned Operation will complete once the
1126
1327
  # resources are imported. Package, Version, and File resources are created based
1127
1328
  # on the imported artifacts. Imported artifacts that conflict with existing
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.28.0
4
+ version: 0.31.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-06-20 00:00:00.000000000 Z
11
+ date: 2022-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.6'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.31.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: []