google-apis-artifactregistry_v1 0.56.0 → 0.58.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 +309 -0
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1/representations.rb +162 -0
- data/lib/google/apis/artifactregistry_v1/service.rb +124 -0
- 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: 97d40e94274b0ae802c2dfa2670d07fe548b5bf2019bc072596949d57d5e4b33
|
4
|
+
data.tar.gz: e95a910be35e5e3865506ea3aba97364e52664f2749a300bbbafa8b0acc1add8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3b38c759c47b71ae652ec1c72f5da652ef662aae51290c18c27411eb22324bedcb1908c343e999675de43549e99f0aefadedcb4a69dcbdce6f195eecc276b07
|
7
|
+
data.tar.gz: 215bc69a81d97da67365492e4260ff662a8ab97f1856df154cc7d2c247ef33e8bb15f1b3dc581ddb9feed17a88b0d50fbedde927844648db1a15579c934887db
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1
|
2
2
|
|
3
|
+
### v0.58.0 (2024-04-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240423
|
6
|
+
|
7
|
+
### v0.57.0 (2024-03-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240305
|
10
|
+
|
3
11
|
### v0.56.0 (2024-02-23)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.14.0
|
@@ -78,6 +78,11 @@ module Google
|
|
78
78
|
class AptRepository
|
79
79
|
include Google::Apis::Core::Hashable
|
80
80
|
|
81
|
+
# Customer-specified publicly available remote repository.
|
82
|
+
# Corresponds to the JSON property `customRepository`
|
83
|
+
# @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository]
|
84
|
+
attr_accessor :custom_repository
|
85
|
+
|
81
86
|
# Publicly available Apt repositories constructed from a common repository base
|
82
87
|
# and a custom repository path.
|
83
88
|
# Corresponds to the JSON property `publicRepository`
|
@@ -90,6 +95,7 @@ module Google
|
|
90
95
|
|
91
96
|
# Update properties of this object
|
92
97
|
def update!(**args)
|
98
|
+
@custom_repository = args[:custom_repository] if args.key?(:custom_repository)
|
93
99
|
@public_repository = args[:public_repository] if args.key?(:public_repository)
|
94
100
|
end
|
95
101
|
end
|
@@ -441,6 +447,11 @@ module Google
|
|
441
447
|
class DockerRepository
|
442
448
|
include Google::Apis::Core::Hashable
|
443
449
|
|
450
|
+
# Customer-specified publicly available remote repository.
|
451
|
+
# Corresponds to the JSON property `customRepository`
|
452
|
+
# @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository]
|
453
|
+
attr_accessor :custom_repository
|
454
|
+
|
444
455
|
# One of the publicly available Docker repositories supported by Artifact
|
445
456
|
# Registry.
|
446
457
|
# Corresponds to the JSON property `publicRepository`
|
@@ -453,6 +464,7 @@ module Google
|
|
453
464
|
|
454
465
|
# Update properties of this object
|
455
466
|
def update!(**args)
|
467
|
+
@custom_repository = args[:custom_repository] if args.key?(:custom_repository)
|
456
468
|
@public_repository = args[:public_repository] if args.key?(:public_repository)
|
457
469
|
end
|
458
470
|
end
|
@@ -479,6 +491,19 @@ module Google
|
|
479
491
|
end
|
480
492
|
end
|
481
493
|
|
494
|
+
# The response to download a file.
|
495
|
+
class DownloadFileResponse
|
496
|
+
include Google::Apis::Core::Hashable
|
497
|
+
|
498
|
+
def initialize(**args)
|
499
|
+
update!(**args)
|
500
|
+
end
|
501
|
+
|
502
|
+
# Update properties of this object
|
503
|
+
def update!(**args)
|
504
|
+
end
|
505
|
+
end
|
506
|
+
|
482
507
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
483
508
|
# messages in your APIs. A typical example is to use it as the request or the
|
484
509
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -549,6 +574,46 @@ module Google
|
|
549
574
|
end
|
550
575
|
end
|
551
576
|
|
577
|
+
# GenericArtifact represents a generic artifact
|
578
|
+
class GenericArtifact
|
579
|
+
include Google::Apis::Core::Hashable
|
580
|
+
|
581
|
+
# Output only. The time when the Generic module is created.
|
582
|
+
# Corresponds to the JSON property `createTime`
|
583
|
+
# @return [String]
|
584
|
+
attr_accessor :create_time
|
585
|
+
|
586
|
+
# Resource name of the generic artifact. project, location, repository,
|
587
|
+
# package_id and version_id create a unique generic artifact. i.e. "projects/
|
588
|
+
# test-project/locations/us-west4/repositories/test-repo/ genericArtifacts/
|
589
|
+
# package_id:version_id"
|
590
|
+
# Corresponds to the JSON property `name`
|
591
|
+
# @return [String]
|
592
|
+
attr_accessor :name
|
593
|
+
|
594
|
+
# Output only. The time when the Generic module is updated.
|
595
|
+
# Corresponds to the JSON property `updateTime`
|
596
|
+
# @return [String]
|
597
|
+
attr_accessor :update_time
|
598
|
+
|
599
|
+
# The version of the generic artifact.
|
600
|
+
# Corresponds to the JSON property `version`
|
601
|
+
# @return [String]
|
602
|
+
attr_accessor :version
|
603
|
+
|
604
|
+
def initialize(**args)
|
605
|
+
update!(**args)
|
606
|
+
end
|
607
|
+
|
608
|
+
# Update properties of this object
|
609
|
+
def update!(**args)
|
610
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
611
|
+
@name = args[:name] if args.key?(:name)
|
612
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
613
|
+
@version = args[:version] if args.key?(:version)
|
614
|
+
end
|
615
|
+
end
|
616
|
+
|
552
617
|
# GoModule represents a Go module.
|
553
618
|
class GoModule
|
554
619
|
include Google::Apis::Core::Hashable
|
@@ -676,6 +741,26 @@ module Google
|
|
676
741
|
end
|
677
742
|
end
|
678
743
|
|
744
|
+
# Customer-specified publicly available remote repository.
|
745
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository
|
746
|
+
include Google::Apis::Core::Hashable
|
747
|
+
|
748
|
+
# An http/https uri reference to the upstream remote repository, for ex: "https:/
|
749
|
+
# /my.apt.registry/".
|
750
|
+
# Corresponds to the JSON property `uri`
|
751
|
+
# @return [String]
|
752
|
+
attr_accessor :uri
|
753
|
+
|
754
|
+
def initialize(**args)
|
755
|
+
update!(**args)
|
756
|
+
end
|
757
|
+
|
758
|
+
# Update properties of this object
|
759
|
+
def update!(**args)
|
760
|
+
@uri = args[:uri] if args.key?(:uri)
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
679
764
|
# Publicly available Apt repositories constructed from a common repository base
|
680
765
|
# and a custom repository path.
|
681
766
|
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository
|
@@ -702,6 +787,106 @@ module Google
|
|
702
787
|
end
|
703
788
|
end
|
704
789
|
|
790
|
+
# Customer-specified publicly available remote repository.
|
791
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository
|
792
|
+
include Google::Apis::Core::Hashable
|
793
|
+
|
794
|
+
# An http/https uri reference to the custom remote repository, for ex: "https://
|
795
|
+
# registry-1.docker.io".
|
796
|
+
# Corresponds to the JSON property `uri`
|
797
|
+
# @return [String]
|
798
|
+
attr_accessor :uri
|
799
|
+
|
800
|
+
def initialize(**args)
|
801
|
+
update!(**args)
|
802
|
+
end
|
803
|
+
|
804
|
+
# Update properties of this object
|
805
|
+
def update!(**args)
|
806
|
+
@uri = args[:uri] if args.key?(:uri)
|
807
|
+
end
|
808
|
+
end
|
809
|
+
|
810
|
+
# Customer-specified publicly available remote repository.
|
811
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository
|
812
|
+
include Google::Apis::Core::Hashable
|
813
|
+
|
814
|
+
# An http/https uri reference to the upstream remote repository, for ex: "https:/
|
815
|
+
# /my.maven.registry/".
|
816
|
+
# Corresponds to the JSON property `uri`
|
817
|
+
# @return [String]
|
818
|
+
attr_accessor :uri
|
819
|
+
|
820
|
+
def initialize(**args)
|
821
|
+
update!(**args)
|
822
|
+
end
|
823
|
+
|
824
|
+
# Update properties of this object
|
825
|
+
def update!(**args)
|
826
|
+
@uri = args[:uri] if args.key?(:uri)
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
# Customer-specified publicly available remote repository.
|
831
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository
|
832
|
+
include Google::Apis::Core::Hashable
|
833
|
+
|
834
|
+
# An http/https uri reference to the upstream remote repository, for ex: "https:/
|
835
|
+
# /my.npm.registry/".
|
836
|
+
# Corresponds to the JSON property `uri`
|
837
|
+
# @return [String]
|
838
|
+
attr_accessor :uri
|
839
|
+
|
840
|
+
def initialize(**args)
|
841
|
+
update!(**args)
|
842
|
+
end
|
843
|
+
|
844
|
+
# Update properties of this object
|
845
|
+
def update!(**args)
|
846
|
+
@uri = args[:uri] if args.key?(:uri)
|
847
|
+
end
|
848
|
+
end
|
849
|
+
|
850
|
+
# Customer-specified publicly available remote repository.
|
851
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository
|
852
|
+
include Google::Apis::Core::Hashable
|
853
|
+
|
854
|
+
# An http/https uri reference to the upstream remote repository, for ex: "https:/
|
855
|
+
# /my.python.registry/".
|
856
|
+
# Corresponds to the JSON property `uri`
|
857
|
+
# @return [String]
|
858
|
+
attr_accessor :uri
|
859
|
+
|
860
|
+
def initialize(**args)
|
861
|
+
update!(**args)
|
862
|
+
end
|
863
|
+
|
864
|
+
# Update properties of this object
|
865
|
+
def update!(**args)
|
866
|
+
@uri = args[:uri] if args.key?(:uri)
|
867
|
+
end
|
868
|
+
end
|
869
|
+
|
870
|
+
# Customer-specified publicly available remote repository.
|
871
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository
|
872
|
+
include Google::Apis::Core::Hashable
|
873
|
+
|
874
|
+
# An http/https uri reference to the upstream remote repository, for ex: "https:/
|
875
|
+
# /my.yum.registry/".
|
876
|
+
# Corresponds to the JSON property `uri`
|
877
|
+
# @return [String]
|
878
|
+
attr_accessor :uri
|
879
|
+
|
880
|
+
def initialize(**args)
|
881
|
+
update!(**args)
|
882
|
+
end
|
883
|
+
|
884
|
+
# Update properties of this object
|
885
|
+
def update!(**args)
|
886
|
+
@uri = args[:uri] if args.key?(:uri)
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
705
890
|
# Publicly available Yum repositories constructed from a common repository base
|
706
891
|
# and a custom repository path.
|
707
892
|
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository
|
@@ -1493,6 +1678,11 @@ module Google
|
|
1493
1678
|
class MavenRepository
|
1494
1679
|
include Google::Apis::Core::Hashable
|
1495
1680
|
|
1681
|
+
# Customer-specified publicly available remote repository.
|
1682
|
+
# Corresponds to the JSON property `customRepository`
|
1683
|
+
# @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository]
|
1684
|
+
attr_accessor :custom_repository
|
1685
|
+
|
1496
1686
|
# One of the publicly available Maven repositories supported by Artifact
|
1497
1687
|
# Registry.
|
1498
1688
|
# Corresponds to the JSON property `publicRepository`
|
@@ -1505,6 +1695,7 @@ module Google
|
|
1505
1695
|
|
1506
1696
|
# Update properties of this object
|
1507
1697
|
def update!(**args)
|
1698
|
+
@custom_repository = args[:custom_repository] if args.key?(:custom_repository)
|
1508
1699
|
@public_repository = args[:public_repository] if args.key?(:public_repository)
|
1509
1700
|
end
|
1510
1701
|
end
|
@@ -1593,6 +1784,11 @@ module Google
|
|
1593
1784
|
class NpmRepository
|
1594
1785
|
include Google::Apis::Core::Hashable
|
1595
1786
|
|
1787
|
+
# Customer-specified publicly available remote repository.
|
1788
|
+
# Corresponds to the JSON property `customRepository`
|
1789
|
+
# @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository]
|
1790
|
+
attr_accessor :custom_repository
|
1791
|
+
|
1596
1792
|
# One of the publicly available Npm repositories supported by Artifact Registry.
|
1597
1793
|
# Corresponds to the JSON property `publicRepository`
|
1598
1794
|
# @return [String]
|
@@ -1604,6 +1800,7 @@ module Google
|
|
1604
1800
|
|
1605
1801
|
# Update properties of this object
|
1606
1802
|
def update!(**args)
|
1803
|
+
@custom_repository = args[:custom_repository] if args.key?(:custom_repository)
|
1607
1804
|
@public_repository = args[:public_repository] if args.key?(:public_repository)
|
1608
1805
|
end
|
1609
1806
|
end
|
@@ -1687,6 +1884,11 @@ module Google
|
|
1687
1884
|
class Package
|
1688
1885
|
include Google::Apis::Core::Hashable
|
1689
1886
|
|
1887
|
+
# Optional. Client specified annotations.
|
1888
|
+
# Corresponds to the JSON property `annotations`
|
1889
|
+
# @return [Hash<String,String>]
|
1890
|
+
attr_accessor :annotations
|
1891
|
+
|
1690
1892
|
# The time when the package was created.
|
1691
1893
|
# Corresponds to the JSON property `createTime`
|
1692
1894
|
# @return [String]
|
@@ -1716,6 +1918,7 @@ module Google
|
|
1716
1918
|
|
1717
1919
|
# Update properties of this object
|
1718
1920
|
def update!(**args)
|
1921
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
1719
1922
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1720
1923
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1721
1924
|
@name = args[:name] if args.key?(:name)
|
@@ -1897,6 +2100,11 @@ module Google
|
|
1897
2100
|
class PythonRepository
|
1898
2101
|
include Google::Apis::Core::Hashable
|
1899
2102
|
|
2103
|
+
# Customer-specified publicly available remote repository.
|
2104
|
+
# Corresponds to the JSON property `customRepository`
|
2105
|
+
# @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository]
|
2106
|
+
attr_accessor :custom_repository
|
2107
|
+
|
1900
2108
|
# One of the publicly available Python repositories supported by Artifact
|
1901
2109
|
# Registry.
|
1902
2110
|
# Corresponds to the JSON property `publicRepository`
|
@@ -1909,6 +2117,7 @@ module Google
|
|
1909
2117
|
|
1910
2118
|
# Update properties of this object
|
1911
2119
|
def update!(**args)
|
2120
|
+
@custom_repository = args[:custom_repository] if args.key?(:custom_repository)
|
1912
2121
|
@public_repository = args[:public_repository] if args.key?(:public_repository)
|
1913
2122
|
end
|
1914
2123
|
end
|
@@ -1927,6 +2136,13 @@ module Google
|
|
1927
2136
|
# @return [String]
|
1928
2137
|
attr_accessor :description
|
1929
2138
|
|
2139
|
+
# Input only. A create/update remote repo option to avoid making a HEAD/GET
|
2140
|
+
# request to validate a remote repo and any supplied upstream credentials.
|
2141
|
+
# Corresponds to the JSON property `disableUpstreamValidation`
|
2142
|
+
# @return [Boolean]
|
2143
|
+
attr_accessor :disable_upstream_validation
|
2144
|
+
alias_method :disable_upstream_validation?, :disable_upstream_validation
|
2145
|
+
|
1930
2146
|
# Configuration for a Docker remote repository.
|
1931
2147
|
# Corresponds to the JSON property `dockerRepository`
|
1932
2148
|
# @return [Google::Apis::ArtifactregistryV1::DockerRepository]
|
@@ -1965,6 +2181,7 @@ module Google
|
|
1965
2181
|
def update!(**args)
|
1966
2182
|
@apt_repository = args[:apt_repository] if args.key?(:apt_repository)
|
1967
2183
|
@description = args[:description] if args.key?(:description)
|
2184
|
+
@disable_upstream_validation = args[:disable_upstream_validation] if args.key?(:disable_upstream_validation)
|
1968
2185
|
@docker_repository = args[:docker_repository] if args.key?(:docker_repository)
|
1969
2186
|
@maven_repository = args[:maven_repository] if args.key?(:maven_repository)
|
1970
2187
|
@npm_repository = args[:npm_repository] if args.key?(:npm_repository)
|
@@ -2330,6 +2547,92 @@ module Google
|
|
2330
2547
|
end
|
2331
2548
|
end
|
2332
2549
|
|
2550
|
+
# The response to upload a generic artifact.
|
2551
|
+
class UploadGenericArtifactMediaResponse
|
2552
|
+
include Google::Apis::Core::Hashable
|
2553
|
+
|
2554
|
+
# This resource represents a long-running operation that is the result of a
|
2555
|
+
# network API call.
|
2556
|
+
# Corresponds to the JSON property `operation`
|
2557
|
+
# @return [Google::Apis::ArtifactregistryV1::Operation]
|
2558
|
+
attr_accessor :operation
|
2559
|
+
|
2560
|
+
def initialize(**args)
|
2561
|
+
update!(**args)
|
2562
|
+
end
|
2563
|
+
|
2564
|
+
# Update properties of this object
|
2565
|
+
def update!(**args)
|
2566
|
+
@operation = args[:operation] if args.key?(:operation)
|
2567
|
+
end
|
2568
|
+
end
|
2569
|
+
|
2570
|
+
# The operation metadata for uploading generic artifacts.
|
2571
|
+
class UploadGenericArtifactMetadata
|
2572
|
+
include Google::Apis::Core::Hashable
|
2573
|
+
|
2574
|
+
def initialize(**args)
|
2575
|
+
update!(**args)
|
2576
|
+
end
|
2577
|
+
|
2578
|
+
# Update properties of this object
|
2579
|
+
def update!(**args)
|
2580
|
+
end
|
2581
|
+
end
|
2582
|
+
|
2583
|
+
# The request to upload a generic artifact. The created GenericArtifact will
|
2584
|
+
# have the resource name `parent`/genericArtifacts/package_id:version_id. The
|
2585
|
+
# created file will have the resource name `parent`/files/package_id:version_id:
|
2586
|
+
# filename.
|
2587
|
+
class UploadGenericArtifactRequest
|
2588
|
+
include Google::Apis::Core::Hashable
|
2589
|
+
|
2590
|
+
# The name of the file of the generic artifact to be uploaded. E.g. "example-
|
2591
|
+
# file.zip" The filename should only include letters, numbers, and url safe
|
2592
|
+
# characters, i.e. [a-zA-Z0-9-_.~@].
|
2593
|
+
# Corresponds to the JSON property `filename`
|
2594
|
+
# @return [String]
|
2595
|
+
attr_accessor :filename
|
2596
|
+
|
2597
|
+
# Deprecated. Use package_id, version_id and filename instead. The resource name
|
2598
|
+
# of the generic artifact. E.g. "projects/math/locations/us/repositories/
|
2599
|
+
# operations/genericArtifacts/addition/1.0.0/add.py"
|
2600
|
+
# Corresponds to the JSON property `name`
|
2601
|
+
# @return [String]
|
2602
|
+
attr_accessor :name
|
2603
|
+
|
2604
|
+
# The ID of the package of the generic artifact. If the package does not exist,
|
2605
|
+
# a new package will be created. E.g. "pkg-1" The package_id must start with a
|
2606
|
+
# letter, end with a letter or number, only contain letters, numbers, hyphens
|
2607
|
+
# and periods i.e. [a-z0-9-.], and cannot exceed 256 characters.
|
2608
|
+
# Corresponds to the JSON property `packageId`
|
2609
|
+
# @return [String]
|
2610
|
+
attr_accessor :package_id
|
2611
|
+
|
2612
|
+
# The ID of the version of the generic artifact. If the version does not exist,
|
2613
|
+
# a new version will be created. E.g."1.0.0" The version_id must start and end
|
2614
|
+
# with a letter or number, can only contain lowercase letters, numbers, hyphens
|
2615
|
+
# and periods, i.e. [a-z0-9-.] and cannot exceed a total of 128 characters.
|
2616
|
+
# While "latest" is a well-known name for the latest version of a package, it is
|
2617
|
+
# not yet supported and is reserved for future use. Creating a version called "
|
2618
|
+
# latest" is not allowed.
|
2619
|
+
# Corresponds to the JSON property `versionId`
|
2620
|
+
# @return [String]
|
2621
|
+
attr_accessor :version_id
|
2622
|
+
|
2623
|
+
def initialize(**args)
|
2624
|
+
update!(**args)
|
2625
|
+
end
|
2626
|
+
|
2627
|
+
# Update properties of this object
|
2628
|
+
def update!(**args)
|
2629
|
+
@filename = args[:filename] if args.key?(:filename)
|
2630
|
+
@name = args[:name] if args.key?(:name)
|
2631
|
+
@package_id = args[:package_id] if args.key?(:package_id)
|
2632
|
+
@version_id = args[:version_id] if args.key?(:version_id)
|
2633
|
+
end
|
2634
|
+
end
|
2635
|
+
|
2333
2636
|
# The response to upload a Go module.
|
2334
2637
|
class UploadGoModuleMediaResponse
|
2335
2638
|
include Google::Apis::Core::Hashable
|
@@ -2789,6 +3092,11 @@ module Google
|
|
2789
3092
|
class YumRepository
|
2790
3093
|
include Google::Apis::Core::Hashable
|
2791
3094
|
|
3095
|
+
# Customer-specified publicly available remote repository.
|
3096
|
+
# Corresponds to the JSON property `customRepository`
|
3097
|
+
# @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository]
|
3098
|
+
attr_accessor :custom_repository
|
3099
|
+
|
2792
3100
|
# Publicly available Yum repositories constructed from a common repository base
|
2793
3101
|
# and a custom repository path.
|
2794
3102
|
# Corresponds to the JSON property `publicRepository`
|
@@ -2801,6 +3109,7 @@ module Google
|
|
2801
3109
|
|
2802
3110
|
# Update properties of this object
|
2803
3111
|
def update!(**args)
|
3112
|
+
@custom_repository = args[:custom_repository] if args.key?(:custom_repository)
|
2804
3113
|
@public_repository = args[:public_repository] if args.key?(:public_repository)
|
2805
3114
|
end
|
2806
3115
|
end
|
@@ -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.58.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240423"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class DownloadFileResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class Empty
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -100,6 +106,12 @@ module Google
|
|
100
106
|
include Google::Apis::Core::JsonObjectSupport
|
101
107
|
end
|
102
108
|
|
109
|
+
class GenericArtifact
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
103
115
|
class GoModule
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
@@ -118,12 +130,48 @@ module Google
|
|
118
130
|
include Google::Apis::Core::JsonObjectSupport
|
119
131
|
end
|
120
132
|
|
133
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
121
139
|
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository
|
122
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
141
|
|
124
142
|
include Google::Apis::Core::JsonObjectSupport
|
125
143
|
end
|
126
144
|
|
145
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
127
175
|
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository
|
128
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
177
|
|
@@ -436,6 +484,24 @@ module Google
|
|
436
484
|
include Google::Apis::Core::JsonObjectSupport
|
437
485
|
end
|
438
486
|
|
487
|
+
class UploadGenericArtifactMediaResponse
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
493
|
+
class UploadGenericArtifactMetadata
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
499
|
+
class UploadGenericArtifactRequest
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
439
505
|
class UploadGoModuleMediaResponse
|
440
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
507
|
|
@@ -583,6 +649,8 @@ module Google
|
|
583
649
|
class AptRepository
|
584
650
|
# @private
|
585
651
|
class Representation < Google::Apis::Core::JsonRepresentation
|
652
|
+
property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository::Representation
|
653
|
+
|
586
654
|
property :public_repository, as: 'publicRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository::Representation
|
587
655
|
|
588
656
|
end
|
@@ -662,6 +730,8 @@ module Google
|
|
662
730
|
class DockerRepository
|
663
731
|
# @private
|
664
732
|
class Representation < Google::Apis::Core::JsonRepresentation
|
733
|
+
property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository::Representation
|
734
|
+
|
665
735
|
property :public_repository, as: 'publicRepository'
|
666
736
|
end
|
667
737
|
end
|
@@ -673,6 +743,12 @@ module Google
|
|
673
743
|
end
|
674
744
|
end
|
675
745
|
|
746
|
+
class DownloadFileResponse
|
747
|
+
# @private
|
748
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
676
752
|
class Empty
|
677
753
|
# @private
|
678
754
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -689,6 +765,16 @@ module Google
|
|
689
765
|
end
|
690
766
|
end
|
691
767
|
|
768
|
+
class GenericArtifact
|
769
|
+
# @private
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
771
|
+
property :create_time, as: 'createTime'
|
772
|
+
property :name, as: 'name'
|
773
|
+
property :update_time, as: 'updateTime'
|
774
|
+
property :version, as: 'version'
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
692
778
|
class GoModule
|
693
779
|
# @private
|
694
780
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -722,6 +808,13 @@ module Google
|
|
722
808
|
end
|
723
809
|
end
|
724
810
|
|
811
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository
|
812
|
+
# @private
|
813
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
814
|
+
property :uri, as: 'uri'
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
725
818
|
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository
|
726
819
|
# @private
|
727
820
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -730,6 +823,41 @@ module Google
|
|
730
823
|
end
|
731
824
|
end
|
732
825
|
|
826
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository
|
827
|
+
# @private
|
828
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
829
|
+
property :uri, as: 'uri'
|
830
|
+
end
|
831
|
+
end
|
832
|
+
|
833
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository
|
834
|
+
# @private
|
835
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
836
|
+
property :uri, as: 'uri'
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
840
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository
|
841
|
+
# @private
|
842
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
843
|
+
property :uri, as: 'uri'
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
847
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository
|
848
|
+
# @private
|
849
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
850
|
+
property :uri, as: 'uri'
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
854
|
+
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository
|
855
|
+
# @private
|
856
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
857
|
+
property :uri, as: 'uri'
|
858
|
+
end
|
859
|
+
end
|
860
|
+
|
733
861
|
class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository
|
734
862
|
# @private
|
735
863
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -997,6 +1125,8 @@ module Google
|
|
997
1125
|
class MavenRepository
|
998
1126
|
# @private
|
999
1127
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1128
|
+
property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository::Representation
|
1129
|
+
|
1000
1130
|
property :public_repository, as: 'publicRepository'
|
1001
1131
|
end
|
1002
1132
|
end
|
@@ -1024,6 +1154,8 @@ module Google
|
|
1024
1154
|
class NpmRepository
|
1025
1155
|
# @private
|
1026
1156
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1157
|
+
property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository::Representation
|
1158
|
+
|
1027
1159
|
property :public_repository, as: 'publicRepository'
|
1028
1160
|
end
|
1029
1161
|
end
|
@@ -1049,6 +1181,7 @@ module Google
|
|
1049
1181
|
class Package
|
1050
1182
|
# @private
|
1051
1183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1184
|
+
hash :annotations, as: 'annotations'
|
1052
1185
|
property :create_time, as: 'createTime'
|
1053
1186
|
property :display_name, as: 'displayName'
|
1054
1187
|
property :name, as: 'name'
|
@@ -1089,6 +1222,8 @@ module Google
|
|
1089
1222
|
class PythonRepository
|
1090
1223
|
# @private
|
1091
1224
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1225
|
+
property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository::Representation
|
1226
|
+
|
1092
1227
|
property :public_repository, as: 'publicRepository'
|
1093
1228
|
end
|
1094
1229
|
end
|
@@ -1099,6 +1234,7 @@ module Google
|
|
1099
1234
|
property :apt_repository, as: 'aptRepository', class: Google::Apis::ArtifactregistryV1::AptRepository, decorator: Google::Apis::ArtifactregistryV1::AptRepository::Representation
|
1100
1235
|
|
1101
1236
|
property :description, as: 'description'
|
1237
|
+
property :disable_upstream_validation, as: 'disableUpstreamValidation'
|
1102
1238
|
property :docker_repository, as: 'dockerRepository', class: Google::Apis::ArtifactregistryV1::DockerRepository, decorator: Google::Apis::ArtifactregistryV1::DockerRepository::Representation
|
1103
1239
|
|
1104
1240
|
property :maven_repository, as: 'mavenRepository', class: Google::Apis::ArtifactregistryV1::MavenRepository, decorator: Google::Apis::ArtifactregistryV1::MavenRepository::Representation
|
@@ -1209,6 +1345,30 @@ module Google
|
|
1209
1345
|
end
|
1210
1346
|
end
|
1211
1347
|
|
1348
|
+
class UploadGenericArtifactMediaResponse
|
1349
|
+
# @private
|
1350
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1351
|
+
property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1::Operation, decorator: Google::Apis::ArtifactregistryV1::Operation::Representation
|
1352
|
+
|
1353
|
+
end
|
1354
|
+
end
|
1355
|
+
|
1356
|
+
class UploadGenericArtifactMetadata
|
1357
|
+
# @private
|
1358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1359
|
+
end
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
class UploadGenericArtifactRequest
|
1363
|
+
# @private
|
1364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1365
|
+
property :filename, as: 'filename'
|
1366
|
+
property :name, as: 'name'
|
1367
|
+
property :package_id, as: 'packageId'
|
1368
|
+
property :version_id, as: 'versionId'
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1212
1372
|
class UploadGoModuleMediaResponse
|
1213
1373
|
# @private
|
1214
1374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1374,6 +1534,8 @@ module Google
|
|
1374
1534
|
class YumRepository
|
1375
1535
|
# @private
|
1376
1536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1537
|
+
property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository::Representation
|
1538
|
+
|
1377
1539
|
property :public_repository, as: 'publicRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository::Representation
|
1378
1540
|
|
1379
1541
|
end
|
@@ -52,6 +52,43 @@ module Google
|
|
52
52
|
@batch_path = 'batch'
|
53
53
|
end
|
54
54
|
|
55
|
+
# Download a file.
|
56
|
+
# @param [String] name
|
57
|
+
# Required. The name of the file to download.
|
58
|
+
# @param [String] fields
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
60
|
+
# @param [String] quota_user
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
+
# @param [IO, String] download_dest
|
64
|
+
# IO stream or filename to receive content download
|
65
|
+
# @param [Google::Apis::RequestOptions] options
|
66
|
+
# Request-specific options
|
67
|
+
#
|
68
|
+
# @yield [result, err] Result & error if block supplied
|
69
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::DownloadFileResponse] parsed result object
|
70
|
+
# @yieldparam err [StandardError] error object if request failed
|
71
|
+
#
|
72
|
+
# @return [Google::Apis::ArtifactregistryV1::DownloadFileResponse]
|
73
|
+
#
|
74
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
+
def download_medium(name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
|
78
|
+
if download_dest.nil?
|
79
|
+
command = make_simple_command(:get, 'v1/{+name}:download', options)
|
80
|
+
else
|
81
|
+
command = make_download_command(:get, 'v1/{+name}:download', options)
|
82
|
+
command.download_dest = download_dest
|
83
|
+
end
|
84
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::DownloadFileResponse::Representation
|
85
|
+
command.response_class = Google::Apis::ArtifactregistryV1::DownloadFileResponse
|
86
|
+
command.params['name'] = name unless name.nil?
|
87
|
+
command.query['fields'] = fields unless fields.nil?
|
88
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
89
|
+
execute_or_queue_command(command, &block)
|
90
|
+
end
|
91
|
+
|
55
92
|
# Retrieves the Settings for the Project.
|
56
93
|
# @param [String] name
|
57
94
|
# Required. The name of the projectSettings resource.
|
@@ -808,6 +845,53 @@ module Google
|
|
808
845
|
execute_or_queue_command(command, &block)
|
809
846
|
end
|
810
847
|
|
848
|
+
# Directly uploads a Generic artifact. The returned Operation will complete once
|
849
|
+
# the resources are uploaded. Package, Version, and File resources are created
|
850
|
+
# based on the uploaded artifact. Uploaded artifacts that conflict with existing
|
851
|
+
# resources will raise an ALREADY_EXISTS error.
|
852
|
+
# @param [String] parent
|
853
|
+
# The resource name of the repository where the generic artifact will be
|
854
|
+
# uploaded.
|
855
|
+
# @param [Google::Apis::ArtifactregistryV1::UploadGenericArtifactRequest] upload_generic_artifact_request_object
|
856
|
+
# @param [String] fields
|
857
|
+
# Selector specifying which fields to include in a partial response.
|
858
|
+
# @param [String] quota_user
|
859
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
860
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
861
|
+
# @param [IO, String] upload_source
|
862
|
+
# IO stream or filename containing content to upload
|
863
|
+
# @param [String] content_type
|
864
|
+
# Content type of the uploaded content.
|
865
|
+
# @param [Google::Apis::RequestOptions] options
|
866
|
+
# Request-specific options
|
867
|
+
#
|
868
|
+
# @yield [result, err] Result & error if block supplied
|
869
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::UploadGenericArtifactMediaResponse] parsed result object
|
870
|
+
# @yieldparam err [StandardError] error object if request failed
|
871
|
+
#
|
872
|
+
# @return [Google::Apis::ArtifactregistryV1::UploadGenericArtifactMediaResponse]
|
873
|
+
#
|
874
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
875
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
876
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
877
|
+
def upload_generic_artifact(parent, upload_generic_artifact_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
878
|
+
if upload_source.nil?
|
879
|
+
command = make_simple_command(:post, 'v1/{+parent}/genericArtifacts:create', options)
|
880
|
+
else
|
881
|
+
command = make_upload_command(:post, 'v1/{+parent}/genericArtifacts:create', options)
|
882
|
+
command.upload_source = upload_source
|
883
|
+
command.upload_content_type = content_type
|
884
|
+
end
|
885
|
+
command.request_representation = Google::Apis::ArtifactregistryV1::UploadGenericArtifactRequest::Representation
|
886
|
+
command.request_object = upload_generic_artifact_request_object
|
887
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::UploadGenericArtifactMediaResponse::Representation
|
888
|
+
command.response_class = Google::Apis::ArtifactregistryV1::UploadGenericArtifactMediaResponse
|
889
|
+
command.params['parent'] = parent unless parent.nil?
|
890
|
+
command.query['fields'] = fields unless fields.nil?
|
891
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
892
|
+
execute_or_queue_command(command, &block)
|
893
|
+
end
|
894
|
+
|
811
895
|
# Directly uploads a Go module. The returned Operation will complete once the Go
|
812
896
|
# module is uploaded. Package, Version, and File resources are created based on
|
813
897
|
# the uploaded Go module.
|
@@ -1210,6 +1294,46 @@ module Google
|
|
1210
1294
|
execute_or_queue_command(command, &block)
|
1211
1295
|
end
|
1212
1296
|
|
1297
|
+
# Updates a package.
|
1298
|
+
# @param [String] name
|
1299
|
+
# The name of the package, for example: `projects/p1/locations/us-central1/
|
1300
|
+
# repositories/repo1/packages/pkg1`. If the package ID part contains slashes,
|
1301
|
+
# the slashes are escaped.
|
1302
|
+
# @param [Google::Apis::ArtifactregistryV1::Package] package_object
|
1303
|
+
# @param [String] update_mask
|
1304
|
+
# The update mask applies to the resource. For the `FieldMask` definition, see
|
1305
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
1306
|
+
# fieldmask
|
1307
|
+
# @param [String] fields
|
1308
|
+
# Selector specifying which fields to include in a partial response.
|
1309
|
+
# @param [String] quota_user
|
1310
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1311
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1312
|
+
# @param [Google::Apis::RequestOptions] options
|
1313
|
+
# Request-specific options
|
1314
|
+
#
|
1315
|
+
# @yield [result, err] Result & error if block supplied
|
1316
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1::Package] parsed result object
|
1317
|
+
# @yieldparam err [StandardError] error object if request failed
|
1318
|
+
#
|
1319
|
+
# @return [Google::Apis::ArtifactregistryV1::Package]
|
1320
|
+
#
|
1321
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1322
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1323
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1324
|
+
def patch_project_location_repository_package(name, package_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1325
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1326
|
+
command.request_representation = Google::Apis::ArtifactregistryV1::Package::Representation
|
1327
|
+
command.request_object = package_object
|
1328
|
+
command.response_representation = Google::Apis::ArtifactregistryV1::Package::Representation
|
1329
|
+
command.response_class = Google::Apis::ArtifactregistryV1::Package
|
1330
|
+
command.params['name'] = name unless name.nil?
|
1331
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1332
|
+
command.query['fields'] = fields unless fields.nil?
|
1333
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1334
|
+
execute_or_queue_command(command, &block)
|
1335
|
+
end
|
1336
|
+
|
1213
1337
|
# Creates a tag.
|
1214
1338
|
# @param [String] parent
|
1215
1339
|
# The name of the parent resource where the tag will be created.
|
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.58.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: 2024-
|
11
|
+
date: 2024-04-28 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.58.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: []
|