google-apis-artifactregistry_v1 0.27.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/google/apis/artifactregistry_v1/classes.rb +269 -19
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +3 -3
- data/lib/google/apis/artifactregistry_v1/representations.rb +100 -0
- data/lib/google/apis/artifactregistry_v1/service.rb +198 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86878ea6fdab2f215523ac0e45eee0e63d68eb39a2a7449c535d0795c5122406
|
4
|
+
data.tar.gz: 88aa0e406c1363c4d10bcba2b0a89ab8dd83d002b9a2d169d6a4a6ae86b91928
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab0491bbd479721c39fc9f05b7fb693b6a92dd903624972db31de134aa527bee3ff096be67d7a0ffc2dee972f8c51279a42f4b7d6c61b23face0e780a0f09844
|
7
|
+
data.tar.gz: 7b55b1715985283f7560d4c3bab50ea89ce75160d8fd80a9ad56cd4cc414314925d6b24102dbf34b379495def9fdb1b2fed1165fe0a71dbcc9d0861f42a17e44
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1
|
2
2
|
|
3
|
+
### v0.30.0 (2022-08-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220803
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
8
|
+
### v0.29.0 (2022-07-02)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.8.0
|
11
|
+
* Regenerated from discovery document revision 20220623
|
12
|
+
|
13
|
+
### v0.28.0 (2022-06-19)
|
14
|
+
|
15
|
+
* Regenerated using generator version 0.7.0
|
16
|
+
|
3
17
|
### v0.27.0 (2022-06-05)
|
4
18
|
|
5
19
|
* Regenerated using generator version 0.5.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@
|
127
|
-
# gserviceaccount.com`. * `
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
# emailid
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
143
|
-
#
|
144
|
-
#
|
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
|
@@ -687,6 +690,58 @@ module Google
|
|
687
690
|
end
|
688
691
|
end
|
689
692
|
|
693
|
+
# The response from listing maven artifacts.
|
694
|
+
class ListMavenArtifactsResponse
|
695
|
+
include Google::Apis::Core::Hashable
|
696
|
+
|
697
|
+
# The maven artifacts returned.
|
698
|
+
# Corresponds to the JSON property `mavenArtifacts`
|
699
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::MavenArtifact>]
|
700
|
+
attr_accessor :maven_artifacts
|
701
|
+
|
702
|
+
# The token to retrieve the next page of artifacts, or empty if there are no
|
703
|
+
# more artifacts to return.
|
704
|
+
# Corresponds to the JSON property `nextPageToken`
|
705
|
+
# @return [String]
|
706
|
+
attr_accessor :next_page_token
|
707
|
+
|
708
|
+
def initialize(**args)
|
709
|
+
update!(**args)
|
710
|
+
end
|
711
|
+
|
712
|
+
# Update properties of this object
|
713
|
+
def update!(**args)
|
714
|
+
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
715
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
719
|
+
# The response from listing npm packages.
|
720
|
+
class ListNpmPackagesResponse
|
721
|
+
include Google::Apis::Core::Hashable
|
722
|
+
|
723
|
+
# The token to retrieve the next page of artifacts, or empty if there are no
|
724
|
+
# more artifacts to return.
|
725
|
+
# Corresponds to the JSON property `nextPageToken`
|
726
|
+
# @return [String]
|
727
|
+
attr_accessor :next_page_token
|
728
|
+
|
729
|
+
# The npm packages returned.
|
730
|
+
# Corresponds to the JSON property `npmPackages`
|
731
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::NpmPackage>]
|
732
|
+
attr_accessor :npm_packages
|
733
|
+
|
734
|
+
def initialize(**args)
|
735
|
+
update!(**args)
|
736
|
+
end
|
737
|
+
|
738
|
+
# Update properties of this object
|
739
|
+
def update!(**args)
|
740
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
741
|
+
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
|
742
|
+
end
|
743
|
+
end
|
744
|
+
|
690
745
|
# The response from listing packages.
|
691
746
|
class ListPackagesResponse
|
692
747
|
include Google::Apis::Core::Hashable
|
@@ -713,6 +768,32 @@ module Google
|
|
713
768
|
end
|
714
769
|
end
|
715
770
|
|
771
|
+
# The response from listing python packages.
|
772
|
+
class ListPythonPackagesResponse
|
773
|
+
include Google::Apis::Core::Hashable
|
774
|
+
|
775
|
+
# The token to retrieve the next page of artifacts, or empty if there are no
|
776
|
+
# more artifacts to return.
|
777
|
+
# Corresponds to the JSON property `nextPageToken`
|
778
|
+
# @return [String]
|
779
|
+
attr_accessor :next_page_token
|
780
|
+
|
781
|
+
# The python packages returned.
|
782
|
+
# Corresponds to the JSON property `pythonPackages`
|
783
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::PythonPackage>]
|
784
|
+
attr_accessor :python_packages
|
785
|
+
|
786
|
+
def initialize(**args)
|
787
|
+
update!(**args)
|
788
|
+
end
|
789
|
+
|
790
|
+
# Update properties of this object
|
791
|
+
def update!(**args)
|
792
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
793
|
+
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
794
|
+
end
|
795
|
+
end
|
796
|
+
|
716
797
|
# The response from listing repositories.
|
717
798
|
class ListRepositoriesResponse
|
718
799
|
include Google::Apis::Core::Hashable
|
@@ -838,6 +919,67 @@ module Google
|
|
838
919
|
end
|
839
920
|
end
|
840
921
|
|
922
|
+
# MavenArtifact represents a maven artifact.
|
923
|
+
class MavenArtifact
|
924
|
+
include Google::Apis::Core::Hashable
|
925
|
+
|
926
|
+
# Artifact ID for the artifact.
|
927
|
+
# Corresponds to the JSON property `artifactId`
|
928
|
+
# @return [String]
|
929
|
+
attr_accessor :artifact_id
|
930
|
+
|
931
|
+
# Output only. Time the artifact was created.
|
932
|
+
# Corresponds to the JSON property `createTime`
|
933
|
+
# @return [String]
|
934
|
+
attr_accessor :create_time
|
935
|
+
|
936
|
+
# Group ID for the artifact. Example: com.google.guava
|
937
|
+
# Corresponds to the JSON property `groupId`
|
938
|
+
# @return [String]
|
939
|
+
attr_accessor :group_id
|
940
|
+
|
941
|
+
# Required. registry_location, project_id, repository_name and maven_artifact
|
942
|
+
# forms a unique artifact For example, "projects/test-project/locations/us-west4/
|
943
|
+
# repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre", where
|
944
|
+
# "us-west4" is the registry_location, "test-project" is the project_id, "test-
|
945
|
+
# repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the
|
946
|
+
# maven artifact.
|
947
|
+
# Corresponds to the JSON property `name`
|
948
|
+
# @return [String]
|
949
|
+
attr_accessor :name
|
950
|
+
|
951
|
+
# Required. URL to access the pom file of the artifact. Example: us-west4-maven.
|
952
|
+
# pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom
|
953
|
+
# Corresponds to the JSON property `pomUri`
|
954
|
+
# @return [String]
|
955
|
+
attr_accessor :pom_uri
|
956
|
+
|
957
|
+
# Output only. Time the artifact was updated.
|
958
|
+
# Corresponds to the JSON property `updateTime`
|
959
|
+
# @return [String]
|
960
|
+
attr_accessor :update_time
|
961
|
+
|
962
|
+
# Version of this artifact.
|
963
|
+
# Corresponds to the JSON property `version`
|
964
|
+
# @return [String]
|
965
|
+
attr_accessor :version
|
966
|
+
|
967
|
+
def initialize(**args)
|
968
|
+
update!(**args)
|
969
|
+
end
|
970
|
+
|
971
|
+
# Update properties of this object
|
972
|
+
def update!(**args)
|
973
|
+
@artifact_id = args[:artifact_id] if args.key?(:artifact_id)
|
974
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
975
|
+
@group_id = args[:group_id] if args.key?(:group_id)
|
976
|
+
@name = args[:name] if args.key?(:name)
|
977
|
+
@pom_uri = args[:pom_uri] if args.key?(:pom_uri)
|
978
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
979
|
+
@version = args[:version] if args.key?(:version)
|
980
|
+
end
|
981
|
+
end
|
982
|
+
|
841
983
|
# MavenRepositoryConfig is maven related repository details. Provides additional
|
842
984
|
# configuration details for repositories of the maven format type.
|
843
985
|
class MavenRepositoryConfig
|
@@ -865,6 +1007,59 @@ module Google
|
|
865
1007
|
end
|
866
1008
|
end
|
867
1009
|
|
1010
|
+
# NpmPackage represents an npm artifact.
|
1011
|
+
class NpmPackage
|
1012
|
+
include Google::Apis::Core::Hashable
|
1013
|
+
|
1014
|
+
# Output only. Time the package was created.
|
1015
|
+
# Corresponds to the JSON property `createTime`
|
1016
|
+
# @return [String]
|
1017
|
+
attr_accessor :create_time
|
1018
|
+
|
1019
|
+
# Required. registry_location, project_id, repository_name and npm_package forms
|
1020
|
+
# a unique package For example, "projects/test-project/locations/us-west4/
|
1021
|
+
# repositories/test-repo/npmPackages/ npm_test:1.0.0", where "us-west4" is the
|
1022
|
+
# registry_location, "test-project" is the project_id, "test-repo" is the
|
1023
|
+
# repository_name and npm_test:1.0.0" is the npm package.
|
1024
|
+
# Corresponds to the JSON property `name`
|
1025
|
+
# @return [String]
|
1026
|
+
attr_accessor :name
|
1027
|
+
|
1028
|
+
# Package for the artifact.
|
1029
|
+
# Corresponds to the JSON property `packageName`
|
1030
|
+
# @return [String]
|
1031
|
+
attr_accessor :package_name
|
1032
|
+
|
1033
|
+
# Tags attached to this package.
|
1034
|
+
# Corresponds to the JSON property `tags`
|
1035
|
+
# @return [Array<String>]
|
1036
|
+
attr_accessor :tags
|
1037
|
+
|
1038
|
+
# Output only. Time the package was updated.
|
1039
|
+
# Corresponds to the JSON property `updateTime`
|
1040
|
+
# @return [String]
|
1041
|
+
attr_accessor :update_time
|
1042
|
+
|
1043
|
+
# Version of this package.
|
1044
|
+
# Corresponds to the JSON property `version`
|
1045
|
+
# @return [String]
|
1046
|
+
attr_accessor :version
|
1047
|
+
|
1048
|
+
def initialize(**args)
|
1049
|
+
update!(**args)
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
# Update properties of this object
|
1053
|
+
def update!(**args)
|
1054
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1055
|
+
@name = args[:name] if args.key?(:name)
|
1056
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
1057
|
+
@tags = args[:tags] if args.key?(:tags)
|
1058
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1059
|
+
@version = args[:version] if args.key?(:version)
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
|
868
1063
|
# This resource represents a long-running operation that is the result of a
|
869
1064
|
# network API call.
|
870
1065
|
class Operation
|
@@ -1095,6 +1290,61 @@ module Google
|
|
1095
1290
|
end
|
1096
1291
|
end
|
1097
1292
|
|
1293
|
+
# PythonPackage represents a python artifact.
|
1294
|
+
class PythonPackage
|
1295
|
+
include Google::Apis::Core::Hashable
|
1296
|
+
|
1297
|
+
# Output only. Time the package was created.
|
1298
|
+
# Corresponds to the JSON property `createTime`
|
1299
|
+
# @return [String]
|
1300
|
+
attr_accessor :create_time
|
1301
|
+
|
1302
|
+
# Required. registry_location, project_id, repository_name and python_package
|
1303
|
+
# forms a unique package name:`projects//locations//repository//pythonPackages/`.
|
1304
|
+
# For example, "projects/test-project/locations/us-west4/repositories/test-repo/
|
1305
|
+
# pythonPackages/ python_package:1.0.0", where "us-west4" is the
|
1306
|
+
# registry_location, "test-project" is the project_id, "test-repo" is the
|
1307
|
+
# repository_name and python_package:1.0.0" is the python package.
|
1308
|
+
# Corresponds to the JSON property `name`
|
1309
|
+
# @return [String]
|
1310
|
+
attr_accessor :name
|
1311
|
+
|
1312
|
+
# Package for the artifact.
|
1313
|
+
# Corresponds to the JSON property `packageName`
|
1314
|
+
# @return [String]
|
1315
|
+
attr_accessor :package_name
|
1316
|
+
|
1317
|
+
# Output only. Time the package was updated.
|
1318
|
+
# Corresponds to the JSON property `updateTime`
|
1319
|
+
# @return [String]
|
1320
|
+
attr_accessor :update_time
|
1321
|
+
|
1322
|
+
# Required. URL to access the package. Example: us-west4-python.pkg.dev/test-
|
1323
|
+
# project/test-repo/python_package/file-name-1.0.0.tar.gz
|
1324
|
+
# Corresponds to the JSON property `uri`
|
1325
|
+
# @return [String]
|
1326
|
+
attr_accessor :uri
|
1327
|
+
|
1328
|
+
# Version of this package.
|
1329
|
+
# Corresponds to the JSON property `version`
|
1330
|
+
# @return [String]
|
1331
|
+
attr_accessor :version
|
1332
|
+
|
1333
|
+
def initialize(**args)
|
1334
|
+
update!(**args)
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
# Update properties of this object
|
1338
|
+
def update!(**args)
|
1339
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1340
|
+
@name = args[:name] if args.key?(:name)
|
1341
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
1342
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1343
|
+
@uri = args[:uri] if args.key?(:uri)
|
1344
|
+
@version = args[:version] if args.key?(:version)
|
1345
|
+
end
|
1346
|
+
end
|
1347
|
+
|
1098
1348
|
# A Repository for storing artifacts with a specific format.
|
1099
1349
|
class Repository
|
1100
1350
|
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.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220803"
|
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
|
|
@@ -500,6 +536,24 @@ module Google
|
|
500
536
|
end
|
501
537
|
end
|
502
538
|
|
539
|
+
class ListMavenArtifactsResponse
|
540
|
+
# @private
|
541
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
542
|
+
collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ArtifactregistryV1::MavenArtifact, decorator: Google::Apis::ArtifactregistryV1::MavenArtifact::Representation
|
543
|
+
|
544
|
+
property :next_page_token, as: 'nextPageToken'
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
class ListNpmPackagesResponse
|
549
|
+
# @private
|
550
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
551
|
+
property :next_page_token, as: 'nextPageToken'
|
552
|
+
collection :npm_packages, as: 'npmPackages', class: Google::Apis::ArtifactregistryV1::NpmPackage, decorator: Google::Apis::ArtifactregistryV1::NpmPackage::Representation
|
553
|
+
|
554
|
+
end
|
555
|
+
end
|
556
|
+
|
503
557
|
class ListPackagesResponse
|
504
558
|
# @private
|
505
559
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -509,6 +563,15 @@ module Google
|
|
509
563
|
end
|
510
564
|
end
|
511
565
|
|
566
|
+
class ListPythonPackagesResponse
|
567
|
+
# @private
|
568
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
569
|
+
property :next_page_token, as: 'nextPageToken'
|
570
|
+
collection :python_packages, as: 'pythonPackages', class: Google::Apis::ArtifactregistryV1::PythonPackage, decorator: Google::Apis::ArtifactregistryV1::PythonPackage::Representation
|
571
|
+
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
512
575
|
class ListRepositoriesResponse
|
513
576
|
# @private
|
514
577
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -547,6 +610,19 @@ module Google
|
|
547
610
|
end
|
548
611
|
end
|
549
612
|
|
613
|
+
class MavenArtifact
|
614
|
+
# @private
|
615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
616
|
+
property :artifact_id, as: 'artifactId'
|
617
|
+
property :create_time, as: 'createTime'
|
618
|
+
property :group_id, as: 'groupId'
|
619
|
+
property :name, as: 'name'
|
620
|
+
property :pom_uri, as: 'pomUri'
|
621
|
+
property :update_time, as: 'updateTime'
|
622
|
+
property :version, as: 'version'
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
550
626
|
class MavenRepositoryConfig
|
551
627
|
# @private
|
552
628
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -555,6 +631,18 @@ module Google
|
|
555
631
|
end
|
556
632
|
end
|
557
633
|
|
634
|
+
class NpmPackage
|
635
|
+
# @private
|
636
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
637
|
+
property :create_time, as: 'createTime'
|
638
|
+
property :name, as: 'name'
|
639
|
+
property :package_name, as: 'packageName'
|
640
|
+
collection :tags, as: 'tags'
|
641
|
+
property :update_time, as: 'updateTime'
|
642
|
+
property :version, as: 'version'
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
558
646
|
class Operation
|
559
647
|
# @private
|
560
648
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -601,6 +689,18 @@ module Google
|
|
601
689
|
end
|
602
690
|
end
|
603
691
|
|
692
|
+
class PythonPackage
|
693
|
+
# @private
|
694
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
695
|
+
property :create_time, as: 'createTime'
|
696
|
+
property :name, as: 'name'
|
697
|
+
property :package_name, as: 'packageName'
|
698
|
+
property :update_time, as: 'updateTime'
|
699
|
+
property :uri, as: 'uri'
|
700
|
+
property :version, as: 'version'
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
604
704
|
class Repository
|
605
705
|
# @private
|
606
706
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -735,6 +735,138 @@ module Google
|
|
735
735
|
execute_or_queue_command(command, &block)
|
736
736
|
end
|
737
737
|
|
738
|
+
# Gets a maven artifact.
|
739
|
+
# @param [String] name
|
740
|
+
# Required. The name of the maven artifact.
|
741
|
+
# @param [String] fields
|
742
|
+
# Selector specifying which fields to include in a partial response.
|
743
|
+
# @param [String] quota_user
|
744
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
745
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
746
|
+
# @param [Google::Apis::RequestOptions] options
|
747
|
+
# Request-specific options
|
748
|
+
#
|
749
|
+
# @yield [result, err] Result & error if block supplied
|
750
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::MavenArtifact] parsed result object
|
751
|
+
# @yieldparam err [StandardError] error object if request failed
|
752
|
+
#
|
753
|
+
# @return [Google::Apis::ArtifactregistryV1::MavenArtifact]
|
754
|
+
#
|
755
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
756
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
757
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
758
|
+
def get_project_location_repository_maven_artifact(name, fields: nil, quota_user: nil, options: nil, &block)
|
759
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
760
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::MavenArtifact::Representation
|
761
|
+
command.response_class = Google::Apis::ArtifactregistryV1::MavenArtifact
|
762
|
+
command.params['name'] = name unless name.nil?
|
763
|
+
command.query['fields'] = fields unless fields.nil?
|
764
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
765
|
+
execute_or_queue_command(command, &block)
|
766
|
+
end
|
767
|
+
|
768
|
+
# Lists maven artifacts.
|
769
|
+
# @param [String] parent
|
770
|
+
# Required. The name of the parent resource whose maven artifacts will be listed.
|
771
|
+
# @param [Fixnum] page_size
|
772
|
+
# The maximum number of artifacts to return.
|
773
|
+
# @param [String] page_token
|
774
|
+
# The next_page_token value returned from a previous list request, if any.
|
775
|
+
# @param [String] fields
|
776
|
+
# Selector specifying which fields to include in a partial response.
|
777
|
+
# @param [String] quota_user
|
778
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
779
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
780
|
+
# @param [Google::Apis::RequestOptions] options
|
781
|
+
# Request-specific options
|
782
|
+
#
|
783
|
+
# @yield [result, err] Result & error if block supplied
|
784
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::ListMavenArtifactsResponse] parsed result object
|
785
|
+
# @yieldparam err [StandardError] error object if request failed
|
786
|
+
#
|
787
|
+
# @return [Google::Apis::ArtifactregistryV1::ListMavenArtifactsResponse]
|
788
|
+
#
|
789
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
790
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
791
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
792
|
+
def list_project_location_repository_maven_artifacts(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
793
|
+
command = make_simple_command(:get, 'v1/{+parent}/mavenArtifacts', options)
|
794
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::ListMavenArtifactsResponse::Representation
|
795
|
+
command.response_class = Google::Apis::ArtifactregistryV1::ListMavenArtifactsResponse
|
796
|
+
command.params['parent'] = parent unless parent.nil?
|
797
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
798
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
799
|
+
command.query['fields'] = fields unless fields.nil?
|
800
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
801
|
+
execute_or_queue_command(command, &block)
|
802
|
+
end
|
803
|
+
|
804
|
+
# Gets a npm package.
|
805
|
+
# @param [String] name
|
806
|
+
# Required. The name of the npm package.
|
807
|
+
# @param [String] fields
|
808
|
+
# Selector specifying which fields to include in a partial response.
|
809
|
+
# @param [String] quota_user
|
810
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
811
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
812
|
+
# @param [Google::Apis::RequestOptions] options
|
813
|
+
# Request-specific options
|
814
|
+
#
|
815
|
+
# @yield [result, err] Result & error if block supplied
|
816
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::NpmPackage] parsed result object
|
817
|
+
# @yieldparam err [StandardError] error object if request failed
|
818
|
+
#
|
819
|
+
# @return [Google::Apis::ArtifactregistryV1::NpmPackage]
|
820
|
+
#
|
821
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
822
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
823
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
824
|
+
def get_project_location_repository_npm_package(name, fields: nil, quota_user: nil, options: nil, &block)
|
825
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
826
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::NpmPackage::Representation
|
827
|
+
command.response_class = Google::Apis::ArtifactregistryV1::NpmPackage
|
828
|
+
command.params['name'] = name unless name.nil?
|
829
|
+
command.query['fields'] = fields unless fields.nil?
|
830
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
831
|
+
execute_or_queue_command(command, &block)
|
832
|
+
end
|
833
|
+
|
834
|
+
# Lists npm packages.
|
835
|
+
# @param [String] parent
|
836
|
+
# Required. The name of the parent resource whose npm packages will be listed.
|
837
|
+
# @param [Fixnum] page_size
|
838
|
+
# The maximum number of artifacts to return.
|
839
|
+
# @param [String] page_token
|
840
|
+
# The next_page_token value returned from a previous list request, if any.
|
841
|
+
# @param [String] fields
|
842
|
+
# Selector specifying which fields to include in a partial response.
|
843
|
+
# @param [String] quota_user
|
844
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
845
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
846
|
+
# @param [Google::Apis::RequestOptions] options
|
847
|
+
# Request-specific options
|
848
|
+
#
|
849
|
+
# @yield [result, err] Result & error if block supplied
|
850
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::ListNpmPackagesResponse] parsed result object
|
851
|
+
# @yieldparam err [StandardError] error object if request failed
|
852
|
+
#
|
853
|
+
# @return [Google::Apis::ArtifactregistryV1::ListNpmPackagesResponse]
|
854
|
+
#
|
855
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
856
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
857
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
858
|
+
def list_project_location_repository_npm_packages(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
859
|
+
command = make_simple_command(:get, 'v1/{+parent}/npmPackages', options)
|
860
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::ListNpmPackagesResponse::Representation
|
861
|
+
command.response_class = Google::Apis::ArtifactregistryV1::ListNpmPackagesResponse
|
862
|
+
command.params['parent'] = parent unless parent.nil?
|
863
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
864
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
865
|
+
command.query['fields'] = fields unless fields.nil?
|
866
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
867
|
+
execute_or_queue_command(command, &block)
|
868
|
+
end
|
869
|
+
|
738
870
|
# Deletes a package and all of its versions and tags. The returned operation
|
739
871
|
# will complete once the package has been deleted.
|
740
872
|
# @param [String] name
|
@@ -1122,6 +1254,72 @@ module Google
|
|
1122
1254
|
execute_or_queue_command(command, &block)
|
1123
1255
|
end
|
1124
1256
|
|
1257
|
+
# Gets a python package.
|
1258
|
+
# @param [String] name
|
1259
|
+
# Required. The name of the python package.
|
1260
|
+
# @param [String] fields
|
1261
|
+
# Selector specifying which fields to include in a partial response.
|
1262
|
+
# @param [String] quota_user
|
1263
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1264
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1265
|
+
# @param [Google::Apis::RequestOptions] options
|
1266
|
+
# Request-specific options
|
1267
|
+
#
|
1268
|
+
# @yield [result, err] Result & error if block supplied
|
1269
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::PythonPackage] parsed result object
|
1270
|
+
# @yieldparam err [StandardError] error object if request failed
|
1271
|
+
#
|
1272
|
+
# @return [Google::Apis::ArtifactregistryV1::PythonPackage]
|
1273
|
+
#
|
1274
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1275
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1276
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1277
|
+
def get_project_location_repository_python_package(name, fields: nil, quota_user: nil, options: nil, &block)
|
1278
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1279
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::PythonPackage::Representation
|
1280
|
+
command.response_class = Google::Apis::ArtifactregistryV1::PythonPackage
|
1281
|
+
command.params['name'] = name unless name.nil?
|
1282
|
+
command.query['fields'] = fields unless fields.nil?
|
1283
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1284
|
+
execute_or_queue_command(command, &block)
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# Lists python packages.
|
1288
|
+
# @param [String] parent
|
1289
|
+
# Required. The name of the parent resource whose python packages will be listed.
|
1290
|
+
# @param [Fixnum] page_size
|
1291
|
+
# The maximum number of artifacts to return.
|
1292
|
+
# @param [String] page_token
|
1293
|
+
# The next_page_token value returned from a previous list request, if any.
|
1294
|
+
# @param [String] fields
|
1295
|
+
# Selector specifying which fields to include in a partial response.
|
1296
|
+
# @param [String] quota_user
|
1297
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1298
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1299
|
+
# @param [Google::Apis::RequestOptions] options
|
1300
|
+
# Request-specific options
|
1301
|
+
#
|
1302
|
+
# @yield [result, err] Result & error if block supplied
|
1303
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::ListPythonPackagesResponse] parsed result object
|
1304
|
+
# @yieldparam err [StandardError] error object if request failed
|
1305
|
+
#
|
1306
|
+
# @return [Google::Apis::ArtifactregistryV1::ListPythonPackagesResponse]
|
1307
|
+
#
|
1308
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1309
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1310
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1311
|
+
def list_project_location_repository_python_packages(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1312
|
+
command = make_simple_command(:get, 'v1/{+parent}/pythonPackages', options)
|
1313
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::ListPythonPackagesResponse::Representation
|
1314
|
+
command.response_class = Google::Apis::ArtifactregistryV1::ListPythonPackagesResponse
|
1315
|
+
command.params['parent'] = parent unless parent.nil?
|
1316
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1317
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1318
|
+
command.query['fields'] = fields unless fields.nil?
|
1319
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1320
|
+
execute_or_queue_command(command, &block)
|
1321
|
+
end
|
1322
|
+
|
1125
1323
|
# Imports Yum (RPM) artifacts. The returned Operation will complete once the
|
1126
1324
|
# resources are imported. Package, Version, and File resources are created based
|
1127
1325
|
# 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.
|
4
|
+
version: 0.30.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-08-08 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.
|
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.
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.30.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: []
|