google-apis-artifactregistry_v1 0.26.0 → 0.29.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: cf2983966620678ce54f07689d0215766176de1a02dff6819addf2d5a6d53991
4
- data.tar.gz: 30a8af0a4c53b334e7f14f9f5c2c4f9e84a4ee2ba598ec161f5f25833d58d382
3
+ metadata.gz: bfd8ca1102afc2bf3f4fadfd505ec80cebda00907372291cc88f54677a6cde06
4
+ data.tar.gz: 8cc92af684ef6aa80bea45e53748f207305598b215554609c59b6d59ba30c618
5
5
  SHA512:
6
- metadata.gz: e851ed572718fb4a389ecd08abb896413f2df31f30cb7174ce3d677800bb47bc8c6c33003223aeb3d2987490966b7d92ae81c77678f74c1c745c72a39841b210
7
- data.tar.gz: 7cfe82451f6e1cbf49a17ba5a78ec405856ae37edc2a2d3b29f609462ef0f6c9d44bfd2d2f6597520f1b483904889f1ffdaa5d0de98a43ca31693f3c25cfb9b9
6
+ metadata.gz: f209d6e3007bb542d2538bf6910105714861ee8395b709f39eca6e8f858cbbc5c1a39d63f3fb198b59c9c6df3ca532070bdf54f4ff7426b60128635e2d542890
7
+ data.tar.gz: a6ed7cd90e70361dcbd099cb06510abfeaf32d94977549fcde579420ce2a05ee2b4d0e05197a8a1d5af70e1f9b36103f46268c473ad26b402bccb3e19665ae63
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.29.0 (2022-07-02)
4
+
5
+ * Regenerated using generator version 0.8.0
6
+ * Regenerated from discovery document revision 20220623
7
+
8
+ ### v0.28.0 (2022-06-19)
9
+
10
+ * Regenerated using generator version 0.7.0
11
+
12
+ ### v0.27.0 (2022-06-05)
13
+
14
+ * Regenerated using generator version 0.5.0
15
+
3
16
  ### v0.26.0 (2022-05-14)
4
17
 
5
18
  * Regenerated from discovery document revision 20220506
@@ -687,6 +687,58 @@ module Google
687
687
  end
688
688
  end
689
689
 
690
+ # The response from listing maven artifacts.
691
+ class ListMavenArtifactsResponse
692
+ include Google::Apis::Core::Hashable
693
+
694
+ # The maven artifacts returned.
695
+ # Corresponds to the JSON property `mavenArtifacts`
696
+ # @return [Array<Google::Apis::ArtifactregistryV1::MavenArtifact>]
697
+ attr_accessor :maven_artifacts
698
+
699
+ # The token to retrieve the next page of artifacts, or empty if there are no
700
+ # more artifacts to return.
701
+ # Corresponds to the JSON property `nextPageToken`
702
+ # @return [String]
703
+ attr_accessor :next_page_token
704
+
705
+ def initialize(**args)
706
+ update!(**args)
707
+ end
708
+
709
+ # Update properties of this object
710
+ def update!(**args)
711
+ @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
712
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
713
+ end
714
+ end
715
+
716
+ # The response from listing npm packages.
717
+ class ListNpmPackagesResponse
718
+ include Google::Apis::Core::Hashable
719
+
720
+ # The token to retrieve the next page of artifacts, or empty if there are no
721
+ # more artifacts to return.
722
+ # Corresponds to the JSON property `nextPageToken`
723
+ # @return [String]
724
+ attr_accessor :next_page_token
725
+
726
+ # The npm packages returned.
727
+ # Corresponds to the JSON property `npmPackages`
728
+ # @return [Array<Google::Apis::ArtifactregistryV1::NpmPackage>]
729
+ attr_accessor :npm_packages
730
+
731
+ def initialize(**args)
732
+ update!(**args)
733
+ end
734
+
735
+ # Update properties of this object
736
+ def update!(**args)
737
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
738
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
739
+ end
740
+ end
741
+
690
742
  # The response from listing packages.
691
743
  class ListPackagesResponse
692
744
  include Google::Apis::Core::Hashable
@@ -713,6 +765,32 @@ module Google
713
765
  end
714
766
  end
715
767
 
768
+ # The response from listing python packages.
769
+ class ListPythonPackagesResponse
770
+ include Google::Apis::Core::Hashable
771
+
772
+ # The token to retrieve the next page of artifacts, or empty if there are no
773
+ # more artifacts to return.
774
+ # Corresponds to the JSON property `nextPageToken`
775
+ # @return [String]
776
+ attr_accessor :next_page_token
777
+
778
+ # The python packages returned.
779
+ # Corresponds to the JSON property `pythonPackages`
780
+ # @return [Array<Google::Apis::ArtifactregistryV1::PythonPackage>]
781
+ attr_accessor :python_packages
782
+
783
+ def initialize(**args)
784
+ update!(**args)
785
+ end
786
+
787
+ # Update properties of this object
788
+ def update!(**args)
789
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
790
+ @python_packages = args[:python_packages] if args.key?(:python_packages)
791
+ end
792
+ end
793
+
716
794
  # The response from listing repositories.
717
795
  class ListRepositoriesResponse
718
796
  include Google::Apis::Core::Hashable
@@ -838,6 +916,67 @@ module Google
838
916
  end
839
917
  end
840
918
 
919
+ # MavenArtifact represents a maven artifact.
920
+ class MavenArtifact
921
+ include Google::Apis::Core::Hashable
922
+
923
+ # Artifact ID for the artifact.
924
+ # Corresponds to the JSON property `artifactId`
925
+ # @return [String]
926
+ attr_accessor :artifact_id
927
+
928
+ # Output only. Time the artifact was created.
929
+ # Corresponds to the JSON property `createTime`
930
+ # @return [String]
931
+ attr_accessor :create_time
932
+
933
+ # Group ID for the artifact. Example: com.google.guava
934
+ # Corresponds to the JSON property `groupId`
935
+ # @return [String]
936
+ attr_accessor :group_id
937
+
938
+ # Required. registry_location, project_id, repository_name and maven_artifact
939
+ # forms a unique artifact For example, "projects/test-project/locations/us-west4/
940
+ # repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre", where
941
+ # "us-west4" is the registry_location, "test-project" is the project_id, "test-
942
+ # repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the
943
+ # maven artifact.
944
+ # Corresponds to the JSON property `name`
945
+ # @return [String]
946
+ attr_accessor :name
947
+
948
+ # Required. URL to access the pom file of the artifact. Example: us-west4-maven.
949
+ # pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom
950
+ # Corresponds to the JSON property `pomUri`
951
+ # @return [String]
952
+ attr_accessor :pom_uri
953
+
954
+ # Output only. Time the artifact was updated.
955
+ # Corresponds to the JSON property `updateTime`
956
+ # @return [String]
957
+ attr_accessor :update_time
958
+
959
+ # Version of this artifact.
960
+ # Corresponds to the JSON property `version`
961
+ # @return [String]
962
+ attr_accessor :version
963
+
964
+ def initialize(**args)
965
+ update!(**args)
966
+ end
967
+
968
+ # Update properties of this object
969
+ def update!(**args)
970
+ @artifact_id = args[:artifact_id] if args.key?(:artifact_id)
971
+ @create_time = args[:create_time] if args.key?(:create_time)
972
+ @group_id = args[:group_id] if args.key?(:group_id)
973
+ @name = args[:name] if args.key?(:name)
974
+ @pom_uri = args[:pom_uri] if args.key?(:pom_uri)
975
+ @update_time = args[:update_time] if args.key?(:update_time)
976
+ @version = args[:version] if args.key?(:version)
977
+ end
978
+ end
979
+
841
980
  # MavenRepositoryConfig is maven related repository details. Provides additional
842
981
  # configuration details for repositories of the maven format type.
843
982
  class MavenRepositoryConfig
@@ -865,6 +1004,59 @@ module Google
865
1004
  end
866
1005
  end
867
1006
 
1007
+ # NpmPackage represents an npm artifact.
1008
+ class NpmPackage
1009
+ include Google::Apis::Core::Hashable
1010
+
1011
+ # Output only. Time the package was created.
1012
+ # Corresponds to the JSON property `createTime`
1013
+ # @return [String]
1014
+ attr_accessor :create_time
1015
+
1016
+ # Required. registry_location, project_id, repository_name and npm_package forms
1017
+ # a unique package For example, "projects/test-project/locations/us-west4/
1018
+ # repositories/test-repo/npmPackages/ npm_test:1.0.0", where "us-west4" is the
1019
+ # registry_location, "test-project" is the project_id, "test-repo" is the
1020
+ # repository_name and npm_test:1.0.0" is the npm package.
1021
+ # Corresponds to the JSON property `name`
1022
+ # @return [String]
1023
+ attr_accessor :name
1024
+
1025
+ # Package for the artifact.
1026
+ # Corresponds to the JSON property `packageName`
1027
+ # @return [String]
1028
+ attr_accessor :package_name
1029
+
1030
+ # Tags attached to this package.
1031
+ # Corresponds to the JSON property `tags`
1032
+ # @return [Array<String>]
1033
+ attr_accessor :tags
1034
+
1035
+ # Output only. Time the package was updated.
1036
+ # Corresponds to the JSON property `updateTime`
1037
+ # @return [String]
1038
+ attr_accessor :update_time
1039
+
1040
+ # Version of this package.
1041
+ # Corresponds to the JSON property `version`
1042
+ # @return [String]
1043
+ attr_accessor :version
1044
+
1045
+ def initialize(**args)
1046
+ update!(**args)
1047
+ end
1048
+
1049
+ # Update properties of this object
1050
+ def update!(**args)
1051
+ @create_time = args[:create_time] if args.key?(:create_time)
1052
+ @name = args[:name] if args.key?(:name)
1053
+ @package_name = args[:package_name] if args.key?(:package_name)
1054
+ @tags = args[:tags] if args.key?(:tags)
1055
+ @update_time = args[:update_time] if args.key?(:update_time)
1056
+ @version = args[:version] if args.key?(:version)
1057
+ end
1058
+ end
1059
+
868
1060
  # This resource represents a long-running operation that is the result of a
869
1061
  # network API call.
870
1062
  class Operation
@@ -1095,6 +1287,61 @@ module Google
1095
1287
  end
1096
1288
  end
1097
1289
 
1290
+ # PythonPackage represents a python artifact.
1291
+ class PythonPackage
1292
+ include Google::Apis::Core::Hashable
1293
+
1294
+ # Output only. Time the package was created.
1295
+ # Corresponds to the JSON property `createTime`
1296
+ # @return [String]
1297
+ attr_accessor :create_time
1298
+
1299
+ # Required. registry_location, project_id, repository_name and python_package
1300
+ # forms a unique package name:`projects//locations//repository//pythonPackages/`.
1301
+ # For example, "projects/test-project/locations/us-west4/repositories/test-repo/
1302
+ # pythonPackages/ python_package:1.0.0", where "us-west4" is the
1303
+ # registry_location, "test-project" is the project_id, "test-repo" is the
1304
+ # repository_name and python_package:1.0.0" is the python package.
1305
+ # Corresponds to the JSON property `name`
1306
+ # @return [String]
1307
+ attr_accessor :name
1308
+
1309
+ # Package for the artifact.
1310
+ # Corresponds to the JSON property `packageName`
1311
+ # @return [String]
1312
+ attr_accessor :package_name
1313
+
1314
+ # Output only. Time the package was updated.
1315
+ # Corresponds to the JSON property `updateTime`
1316
+ # @return [String]
1317
+ attr_accessor :update_time
1318
+
1319
+ # Required. URL to access the package. Example: us-west4-python.pkg.dev/test-
1320
+ # project/test-repo/python_package/file-name-1.0.0.tar.gz
1321
+ # Corresponds to the JSON property `uri`
1322
+ # @return [String]
1323
+ attr_accessor :uri
1324
+
1325
+ # Version of this package.
1326
+ # Corresponds to the JSON property `version`
1327
+ # @return [String]
1328
+ attr_accessor :version
1329
+
1330
+ def initialize(**args)
1331
+ update!(**args)
1332
+ end
1333
+
1334
+ # Update properties of this object
1335
+ def update!(**args)
1336
+ @create_time = args[:create_time] if args.key?(:create_time)
1337
+ @name = args[:name] if args.key?(:name)
1338
+ @package_name = args[:package_name] if args.key?(:package_name)
1339
+ @update_time = args[:update_time] if args.key?(:update_time)
1340
+ @uri = args[:uri] if args.key?(:uri)
1341
+ @version = args[:version] if args.key?(:version)
1342
+ end
1343
+ end
1344
+
1098
1345
  # A Repository for storing artifacts with a specific format.
1099
1346
  class Repository
1100
1347
  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.26.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.8.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220506"
25
+ REVISION = "20220623"
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.26.0
4
+ version: 0.29.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-05-16 00:00:00.000000000 Z
11
+ date: 2022-07-04 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.4'
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.4'
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.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.29.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Artifact Registry API V1