google-apis-artifactregistry_v1 0.39.0 → 0.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/artifactregistry_v1/classes.rb +211 -1
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1/representations.rb +139 -0
- data/lib/google/apis/artifactregistry_v1/service.rb +84 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01dbce704cea21f014c4144cbdc4ee723c9cf0f00a940fe15964f638421a8a9f
|
4
|
+
data.tar.gz: de85aeef623d4509eca476346e7800ba674a416539bcbe4ce0717ec625e75e58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 749bb254ca07b809f520f039ea472ad32ea2faceb550c1cea72b4f2ec0e4fae2ea5f49a8ae81a071a31b21237a09d52ec5aef8e51fd29af03e064d7767ffe9c8
|
7
|
+
data.tar.gz: a2615d229654636eebcd2cb81a2db5143e1720f295dc6682507658be0f30622fe493ddaa63dcf2d6b86419acf88bd1324598452d9c109b712c0c86f546e0d24e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1
|
2
2
|
|
3
|
+
### v0.41.0 (2023-05-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230512
|
6
|
+
|
7
|
+
### v0.40.0 (2023-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230411
|
10
|
+
|
3
11
|
### v0.39.0 (2023-03-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230313
|
@@ -360,6 +360,37 @@ module Google
|
|
360
360
|
end
|
361
361
|
end
|
362
362
|
|
363
|
+
# A detailed representation of a GooGet artifact.
|
364
|
+
class GoogetArtifact
|
365
|
+
include Google::Apis::Core::Hashable
|
366
|
+
|
367
|
+
# Output only. Operating system architecture of the artifact.
|
368
|
+
# Corresponds to the JSON property `architecture`
|
369
|
+
# @return [String]
|
370
|
+
attr_accessor :architecture
|
371
|
+
|
372
|
+
# Output only. The Artifact Registry resource name of the artifact.
|
373
|
+
# Corresponds to the JSON property `name`
|
374
|
+
# @return [String]
|
375
|
+
attr_accessor :name
|
376
|
+
|
377
|
+
# Output only. The GooGet package name of the artifact.
|
378
|
+
# Corresponds to the JSON property `packageName`
|
379
|
+
# @return [String]
|
380
|
+
attr_accessor :package_name
|
381
|
+
|
382
|
+
def initialize(**args)
|
383
|
+
update!(**args)
|
384
|
+
end
|
385
|
+
|
386
|
+
# Update properties of this object
|
387
|
+
def update!(**args)
|
388
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
389
|
+
@name = args[:name] if args.key?(:name)
|
390
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
363
394
|
# Files store content that is potentially associated with Packages or Versions.
|
364
395
|
class GoogleDevtoolsArtifactregistryV1File
|
365
396
|
include Google::Apis::Core::Hashable
|
@@ -557,6 +588,119 @@ module Google
|
|
557
588
|
end
|
558
589
|
end
|
559
590
|
|
591
|
+
# Error information explaining why a package was not imported.
|
592
|
+
class ImportGoogetArtifactsErrorInfo
|
593
|
+
include Google::Apis::Core::Hashable
|
594
|
+
|
595
|
+
# The `Status` type defines a logical error model that is suitable for different
|
596
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
597
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
598
|
+
# data: error code, error message, and error details. You can find out more
|
599
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
600
|
+
# //cloud.google.com/apis/design/errors).
|
601
|
+
# Corresponds to the JSON property `error`
|
602
|
+
# @return [Google::Apis::ArtifactregistryV1::Status]
|
603
|
+
attr_accessor :error
|
604
|
+
|
605
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
606
|
+
# Corresponds to the JSON property `gcsSource`
|
607
|
+
# @return [Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsGcsSource]
|
608
|
+
attr_accessor :gcs_source
|
609
|
+
|
610
|
+
def initialize(**args)
|
611
|
+
update!(**args)
|
612
|
+
end
|
613
|
+
|
614
|
+
# Update properties of this object
|
615
|
+
def update!(**args)
|
616
|
+
@error = args[:error] if args.key?(:error)
|
617
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
622
|
+
class ImportGoogetArtifactsGcsSource
|
623
|
+
include Google::Apis::Core::Hashable
|
624
|
+
|
625
|
+
# Cloud Storage paths URI (e.g., gs://my_bucket/my_object).
|
626
|
+
# Corresponds to the JSON property `uris`
|
627
|
+
# @return [Array<String>]
|
628
|
+
attr_accessor :uris
|
629
|
+
|
630
|
+
# Supports URI wildcards for matching multiple objects from a single URI.
|
631
|
+
# Corresponds to the JSON property `useWildcards`
|
632
|
+
# @return [Boolean]
|
633
|
+
attr_accessor :use_wildcards
|
634
|
+
alias_method :use_wildcards?, :use_wildcards
|
635
|
+
|
636
|
+
def initialize(**args)
|
637
|
+
update!(**args)
|
638
|
+
end
|
639
|
+
|
640
|
+
# Update properties of this object
|
641
|
+
def update!(**args)
|
642
|
+
@uris = args[:uris] if args.key?(:uris)
|
643
|
+
@use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
647
|
+
# The operation metadata for importing artifacts.
|
648
|
+
class ImportGoogetArtifactsMetadata
|
649
|
+
include Google::Apis::Core::Hashable
|
650
|
+
|
651
|
+
def initialize(**args)
|
652
|
+
update!(**args)
|
653
|
+
end
|
654
|
+
|
655
|
+
# Update properties of this object
|
656
|
+
def update!(**args)
|
657
|
+
end
|
658
|
+
end
|
659
|
+
|
660
|
+
# The request to import new googet artifacts.
|
661
|
+
class ImportGoogetArtifactsRequest
|
662
|
+
include Google::Apis::Core::Hashable
|
663
|
+
|
664
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
665
|
+
# Corresponds to the JSON property `gcsSource`
|
666
|
+
# @return [Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsGcsSource]
|
667
|
+
attr_accessor :gcs_source
|
668
|
+
|
669
|
+
def initialize(**args)
|
670
|
+
update!(**args)
|
671
|
+
end
|
672
|
+
|
673
|
+
# Update properties of this object
|
674
|
+
def update!(**args)
|
675
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
679
|
+
# The response message from importing artifacts.
|
680
|
+
class ImportGoogetArtifactsResponse
|
681
|
+
include Google::Apis::Core::Hashable
|
682
|
+
|
683
|
+
# Detailed error info for packages that were not imported.
|
684
|
+
# Corresponds to the JSON property `errors`
|
685
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsErrorInfo>]
|
686
|
+
attr_accessor :errors
|
687
|
+
|
688
|
+
# The GooGet artifacts updated.
|
689
|
+
# Corresponds to the JSON property `googetArtifacts`
|
690
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::GoogetArtifact>]
|
691
|
+
attr_accessor :googet_artifacts
|
692
|
+
|
693
|
+
def initialize(**args)
|
694
|
+
update!(**args)
|
695
|
+
end
|
696
|
+
|
697
|
+
# Update properties of this object
|
698
|
+
def update!(**args)
|
699
|
+
@errors = args[:errors] if args.key?(:errors)
|
700
|
+
@googet_artifacts = args[:googet_artifacts] if args.key?(:googet_artifacts)
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
560
704
|
# Error information explaining why a package was not imported.
|
561
705
|
class ImportYumArtifactsErrorInfo
|
562
706
|
include Google::Apis::Core::Hashable
|
@@ -958,7 +1102,7 @@ module Google
|
|
958
1102
|
end
|
959
1103
|
end
|
960
1104
|
|
961
|
-
# A resource that represents Google Cloud
|
1105
|
+
# A resource that represents a Google Cloud location.
|
962
1106
|
class Location
|
963
1107
|
include Google::Apis::Core::Hashable
|
964
1108
|
|
@@ -1863,6 +2007,72 @@ module Google
|
|
1863
2007
|
end
|
1864
2008
|
end
|
1865
2009
|
|
2010
|
+
# The response to upload an artifact.
|
2011
|
+
class UploadGoogetArtifactMediaResponse
|
2012
|
+
include Google::Apis::Core::Hashable
|
2013
|
+
|
2014
|
+
# This resource represents a long-running operation that is the result of a
|
2015
|
+
# network API call.
|
2016
|
+
# Corresponds to the JSON property `operation`
|
2017
|
+
# @return [Google::Apis::ArtifactregistryV1::Operation]
|
2018
|
+
attr_accessor :operation
|
2019
|
+
|
2020
|
+
def initialize(**args)
|
2021
|
+
update!(**args)
|
2022
|
+
end
|
2023
|
+
|
2024
|
+
# Update properties of this object
|
2025
|
+
def update!(**args)
|
2026
|
+
@operation = args[:operation] if args.key?(:operation)
|
2027
|
+
end
|
2028
|
+
end
|
2029
|
+
|
2030
|
+
# The operation metadata for uploading artifacts.
|
2031
|
+
class UploadGoogetArtifactMetadata
|
2032
|
+
include Google::Apis::Core::Hashable
|
2033
|
+
|
2034
|
+
def initialize(**args)
|
2035
|
+
update!(**args)
|
2036
|
+
end
|
2037
|
+
|
2038
|
+
# Update properties of this object
|
2039
|
+
def update!(**args)
|
2040
|
+
end
|
2041
|
+
end
|
2042
|
+
|
2043
|
+
# The request to upload an artifact.
|
2044
|
+
class UploadGoogetArtifactRequest
|
2045
|
+
include Google::Apis::Core::Hashable
|
2046
|
+
|
2047
|
+
def initialize(**args)
|
2048
|
+
update!(**args)
|
2049
|
+
end
|
2050
|
+
|
2051
|
+
# Update properties of this object
|
2052
|
+
def update!(**args)
|
2053
|
+
end
|
2054
|
+
end
|
2055
|
+
|
2056
|
+
# The response of the completed artifact upload operation. This response is
|
2057
|
+
# contained in the Operation and available to users.
|
2058
|
+
class UploadGoogetArtifactResponse
|
2059
|
+
include Google::Apis::Core::Hashable
|
2060
|
+
|
2061
|
+
# The Apt artifacts updated.
|
2062
|
+
# Corresponds to the JSON property `googetArtifacts`
|
2063
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::GoogetArtifact>]
|
2064
|
+
attr_accessor :googet_artifacts
|
2065
|
+
|
2066
|
+
def initialize(**args)
|
2067
|
+
update!(**args)
|
2068
|
+
end
|
2069
|
+
|
2070
|
+
# Update properties of this object
|
2071
|
+
def update!(**args)
|
2072
|
+
@googet_artifacts = args[:googet_artifacts] if args.key?(:googet_artifacts)
|
2073
|
+
end
|
2074
|
+
end
|
2075
|
+
|
1866
2076
|
# The response to upload an artifact.
|
1867
2077
|
class UploadKfpArtifactMediaResponse
|
1868
2078
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ArtifactregistryV1
|
18
18
|
# Version of the google-apis-artifactregistry_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.41.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230512"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class GoogetArtifact
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class GoogleDevtoolsArtifactregistryV1File
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -112,6 +118,36 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class ImportGoogetArtifactsErrorInfo
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class ImportGoogetArtifactsGcsSource
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class ImportGoogetArtifactsMetadata
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class ImportGoogetArtifactsRequest
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class ImportGoogetArtifactsResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
115
151
|
class ImportYumArtifactsErrorInfo
|
116
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
153
|
|
@@ -352,6 +388,30 @@ module Google
|
|
352
388
|
include Google::Apis::Core::JsonObjectSupport
|
353
389
|
end
|
354
390
|
|
391
|
+
class UploadGoogetArtifactMediaResponse
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
397
|
+
class UploadGoogetArtifactMetadata
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
403
|
+
class UploadGoogetArtifactRequest
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
409
|
+
class UploadGoogetArtifactResponse
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
355
415
|
class UploadKfpArtifactMediaResponse
|
356
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
417
|
|
@@ -497,6 +557,15 @@ module Google
|
|
497
557
|
end
|
498
558
|
end
|
499
559
|
|
560
|
+
class GoogetArtifact
|
561
|
+
# @private
|
562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
563
|
+
property :architecture, as: 'architecture'
|
564
|
+
property :name, as: 'name'
|
565
|
+
property :package_name, as: 'packageName'
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
500
569
|
class GoogleDevtoolsArtifactregistryV1File
|
501
570
|
# @private
|
502
571
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -561,6 +630,48 @@ module Google
|
|
561
630
|
end
|
562
631
|
end
|
563
632
|
|
633
|
+
class ImportGoogetArtifactsErrorInfo
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
|
637
|
+
|
638
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsGcsSource::Representation
|
639
|
+
|
640
|
+
end
|
641
|
+
end
|
642
|
+
|
643
|
+
class ImportGoogetArtifactsGcsSource
|
644
|
+
# @private
|
645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
646
|
+
collection :uris, as: 'uris'
|
647
|
+
property :use_wildcards, as: 'useWildcards'
|
648
|
+
end
|
649
|
+
end
|
650
|
+
|
651
|
+
class ImportGoogetArtifactsMetadata
|
652
|
+
# @private
|
653
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
657
|
+
class ImportGoogetArtifactsRequest
|
658
|
+
# @private
|
659
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
660
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsGcsSource::Representation
|
661
|
+
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
class ImportGoogetArtifactsResponse
|
666
|
+
# @private
|
667
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
668
|
+
collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsErrorInfo::Representation
|
669
|
+
|
670
|
+
collection :googet_artifacts, as: 'googetArtifacts', class: Google::Apis::ArtifactregistryV1::GoogetArtifact, decorator: Google::Apis::ArtifactregistryV1::GoogetArtifact::Representation
|
671
|
+
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
564
675
|
class ImportYumArtifactsErrorInfo
|
565
676
|
# @private
|
566
677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -930,6 +1041,34 @@ module Google
|
|
930
1041
|
end
|
931
1042
|
end
|
932
1043
|
|
1044
|
+
class UploadGoogetArtifactMediaResponse
|
1045
|
+
# @private
|
1046
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1047
|
+
property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1::Operation, decorator: Google::Apis::ArtifactregistryV1::Operation::Representation
|
1048
|
+
|
1049
|
+
end
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
class UploadGoogetArtifactMetadata
|
1053
|
+
# @private
|
1054
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1055
|
+
end
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
class UploadGoogetArtifactRequest
|
1059
|
+
# @private
|
1060
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1061
|
+
end
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
class UploadGoogetArtifactResponse
|
1065
|
+
# @private
|
1066
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1067
|
+
collection :googet_artifacts, as: 'googetArtifacts', class: Google::Apis::ArtifactregistryV1::GoogetArtifact, decorator: Google::Apis::ArtifactregistryV1::GoogetArtifact::Representation
|
1068
|
+
|
1069
|
+
end
|
1070
|
+
end
|
1071
|
+
|
933
1072
|
class UploadKfpArtifactMediaResponse
|
934
1073
|
# @private
|
935
1074
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -806,6 +806,88 @@ module Google
|
|
806
806
|
execute_or_queue_command(command, &block)
|
807
807
|
end
|
808
808
|
|
809
|
+
# Imports GooGet artifacts. The returned Operation will complete once the
|
810
|
+
# resources are imported. Package, Version, and File resources are created based
|
811
|
+
# on the imported artifacts. Imported artifacts that conflict with existing
|
812
|
+
# resources are ignored.
|
813
|
+
# @param [String] parent
|
814
|
+
# The name of the parent resource where the artifacts will be imported.
|
815
|
+
# @param [Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsRequest] import_googet_artifacts_request_object
|
816
|
+
# @param [String] fields
|
817
|
+
# Selector specifying which fields to include in a partial response.
|
818
|
+
# @param [String] quota_user
|
819
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
820
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
821
|
+
# @param [Google::Apis::RequestOptions] options
|
822
|
+
# Request-specific options
|
823
|
+
#
|
824
|
+
# @yield [result, err] Result & error if block supplied
|
825
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::Operation] parsed result object
|
826
|
+
# @yieldparam err [StandardError] error object if request failed
|
827
|
+
#
|
828
|
+
# @return [Google::Apis::ArtifactregistryV1::Operation]
|
829
|
+
#
|
830
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
831
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
832
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
833
|
+
def import_googet_artifacts(parent, import_googet_artifacts_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
834
|
+
command = make_simple_command(:post, 'v1/{+parent}/googetArtifacts:import', options)
|
835
|
+
command.request_representation = Google::Apis::ArtifactregistryV1::ImportGoogetArtifactsRequest::Representation
|
836
|
+
command.request_object = import_googet_artifacts_request_object
|
837
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::Operation::Representation
|
838
|
+
command.response_class = Google::Apis::ArtifactregistryV1::Operation
|
839
|
+
command.params['parent'] = parent unless parent.nil?
|
840
|
+
command.query['fields'] = fields unless fields.nil?
|
841
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
842
|
+
execute_or_queue_command(command, &block)
|
843
|
+
end
|
844
|
+
|
845
|
+
# Directly uploads a GooGet artifact. The returned Operation will complete once
|
846
|
+
# the resources are uploaded. Package, Version, and File resources are created
|
847
|
+
# based on the imported artifact. Imported artifacts that conflict with existing
|
848
|
+
# resources are ignored.
|
849
|
+
# @param [String] parent
|
850
|
+
# The name of the parent resource where the artifacts will be uploaded.
|
851
|
+
# @param [Google::Apis::ArtifactregistryV1::UploadGoogetArtifactRequest] upload_googet_artifact_request_object
|
852
|
+
# @param [String] fields
|
853
|
+
# Selector specifying which fields to include in a partial response.
|
854
|
+
# @param [String] quota_user
|
855
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
856
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
857
|
+
# @param [IO, String] upload_source
|
858
|
+
# IO stream or filename containing content to upload
|
859
|
+
# @param [String] content_type
|
860
|
+
# Content type of the uploaded content.
|
861
|
+
# @param [Google::Apis::RequestOptions] options
|
862
|
+
# Request-specific options
|
863
|
+
#
|
864
|
+
# @yield [result, err] Result & error if block supplied
|
865
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::UploadGoogetArtifactMediaResponse] parsed result object
|
866
|
+
# @yieldparam err [StandardError] error object if request failed
|
867
|
+
#
|
868
|
+
# @return [Google::Apis::ArtifactregistryV1::UploadGoogetArtifactMediaResponse]
|
869
|
+
#
|
870
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
871
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
872
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
873
|
+
def upload_googet_artifact_goo_get_artifact(parent, upload_googet_artifact_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
874
|
+
if upload_source.nil?
|
875
|
+
command = make_simple_command(:post, 'v1/{+parent}/googetArtifacts:create', options)
|
876
|
+
else
|
877
|
+
command = make_upload_command(:post, 'v1/{+parent}/googetArtifacts:create', options)
|
878
|
+
command.upload_source = upload_source
|
879
|
+
command.upload_content_type = content_type
|
880
|
+
end
|
881
|
+
command.request_representation = Google::Apis::ArtifactregistryV1::UploadGoogetArtifactRequest::Representation
|
882
|
+
command.request_object = upload_googet_artifact_request_object
|
883
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::UploadGoogetArtifactMediaResponse::Representation
|
884
|
+
command.response_class = Google::Apis::ArtifactregistryV1::UploadGoogetArtifactMediaResponse
|
885
|
+
command.params['parent'] = parent unless parent.nil?
|
886
|
+
command.query['fields'] = fields unless fields.nil?
|
887
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
888
|
+
execute_or_queue_command(command, &block)
|
889
|
+
end
|
890
|
+
|
809
891
|
# Directly uploads a KFP artifact. The returned Operation will complete once the
|
810
892
|
# resource is uploaded. Package, Version, and File resources will be created
|
811
893
|
# based on the uploaded artifact. Uploaded artifacts that conflict with existing
|
@@ -1179,7 +1261,8 @@ module Google
|
|
1179
1261
|
|
1180
1262
|
# Lists tags.
|
1181
1263
|
# @param [String] parent
|
1182
|
-
# The name of the parent
|
1264
|
+
# The name of the parent package whose tags will be listed. Example: "projects/
|
1265
|
+
# p1/locations/us-central1/repositories/repo1/packages/pkg1
|
1183
1266
|
# @param [String] filter
|
1184
1267
|
# An expression for filtering the results of the request. Filter rules are case
|
1185
1268
|
# insensitive. The fields eligible for filtering are: * `version` An example of
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-artifactregistry_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.41.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.41.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|