google-apis-artifactregistry_v1 0.56.0 → 0.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f26a358c36815a48277c413c78dd6ee4d911b716e79c6cab764ce7909f3a12e
4
- data.tar.gz: a7d818ca77030a1f40ef726628b6a1ec64932451e7fd84e0ffc1a3ecd7de2492
3
+ metadata.gz: efb5e93c156fa1b8a57ff462cc949a613465ec0f4f73eb20c5b56d0700292c6e
4
+ data.tar.gz: 6a47449d5596f35b146b3c238362743904887c4c7510064b9e7c1ab52db12401
5
5
  SHA512:
6
- metadata.gz: d44f47cb773d5ce058956dfe91bf89893ba7b925ff2e680a5606ca4fd84c7cb97c7f7652749880e3c5c739d57918d7615e495acfcdedaf3cbd3eb6720fd9975e
7
- data.tar.gz: a55bed802bc446ea50233dfd699c5aebce87c45ddb0f2bb04b70c77c3b5f21f51af8d6a05392411e2052d99abe1162954f82ffc376d3aab9aa23ed7a7d0198a9
6
+ metadata.gz: d638195a17fd41263fd93f84732fb355bccf54aef0415e6f77871cae02ff3597856d63818807c990dd6144355ebbd9946eb015a8361d2a0883ef66ff27f1e6af
7
+ data.tar.gz: e1bdc7f1283cfea94529de6ebc1a9bd461a5ffb0744852332079013bad2f7ece4d38180fba1aa538ed8599800574a7d0513252204459901b0c6c312f674db876
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.57.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240305
6
+
3
7
  ### v0.56.0 (2024-02-23)
4
8
 
5
9
  * 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.
@@ -676,6 +701,26 @@ module Google
676
701
  end
677
702
  end
678
703
 
704
+ # Customer-specified publicly available remote repository.
705
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository
706
+ include Google::Apis::Core::Hashable
707
+
708
+ # An http/https uri reference to the upstream remote repository, for ex: "https:/
709
+ # /my.apt.registry/".
710
+ # Corresponds to the JSON property `uri`
711
+ # @return [String]
712
+ attr_accessor :uri
713
+
714
+ def initialize(**args)
715
+ update!(**args)
716
+ end
717
+
718
+ # Update properties of this object
719
+ def update!(**args)
720
+ @uri = args[:uri] if args.key?(:uri)
721
+ end
722
+ end
723
+
679
724
  # Publicly available Apt repositories constructed from a common repository base
680
725
  # and a custom repository path.
681
726
  class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository
@@ -702,6 +747,106 @@ module Google
702
747
  end
703
748
  end
704
749
 
750
+ # Customer-specified publicly available remote repository.
751
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository
752
+ include Google::Apis::Core::Hashable
753
+
754
+ # An http/https uri reference to the custom remote repository, for ex: "https://
755
+ # registry-1.docker.io".
756
+ # Corresponds to the JSON property `uri`
757
+ # @return [String]
758
+ attr_accessor :uri
759
+
760
+ def initialize(**args)
761
+ update!(**args)
762
+ end
763
+
764
+ # Update properties of this object
765
+ def update!(**args)
766
+ @uri = args[:uri] if args.key?(:uri)
767
+ end
768
+ end
769
+
770
+ # Customer-specified publicly available remote repository.
771
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository
772
+ include Google::Apis::Core::Hashable
773
+
774
+ # An http/https uri reference to the upstream remote repository, for ex: "https:/
775
+ # /my.maven.registry/".
776
+ # Corresponds to the JSON property `uri`
777
+ # @return [String]
778
+ attr_accessor :uri
779
+
780
+ def initialize(**args)
781
+ update!(**args)
782
+ end
783
+
784
+ # Update properties of this object
785
+ def update!(**args)
786
+ @uri = args[:uri] if args.key?(:uri)
787
+ end
788
+ end
789
+
790
+ # Customer-specified publicly available remote repository.
791
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository
792
+ include Google::Apis::Core::Hashable
793
+
794
+ # An http/https uri reference to the upstream remote repository, for ex: "https:/
795
+ # /my.npm.registry/".
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 GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository
812
+ include Google::Apis::Core::Hashable
813
+
814
+ # An http/https uri reference to the upstream remote repository, for ex: "https:/
815
+ # /my.python.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 GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository
832
+ include Google::Apis::Core::Hashable
833
+
834
+ # An http/https uri reference to the upstream remote repository, for ex: "https:/
835
+ # /my.yum.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
+
705
850
  # Publicly available Yum repositories constructed from a common repository base
706
851
  # and a custom repository path.
707
852
  class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository
@@ -1493,6 +1638,11 @@ module Google
1493
1638
  class MavenRepository
1494
1639
  include Google::Apis::Core::Hashable
1495
1640
 
1641
+ # Customer-specified publicly available remote repository.
1642
+ # Corresponds to the JSON property `customRepository`
1643
+ # @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository]
1644
+ attr_accessor :custom_repository
1645
+
1496
1646
  # One of the publicly available Maven repositories supported by Artifact
1497
1647
  # Registry.
1498
1648
  # Corresponds to the JSON property `publicRepository`
@@ -1505,6 +1655,7 @@ module Google
1505
1655
 
1506
1656
  # Update properties of this object
1507
1657
  def update!(**args)
1658
+ @custom_repository = args[:custom_repository] if args.key?(:custom_repository)
1508
1659
  @public_repository = args[:public_repository] if args.key?(:public_repository)
1509
1660
  end
1510
1661
  end
@@ -1593,6 +1744,11 @@ module Google
1593
1744
  class NpmRepository
1594
1745
  include Google::Apis::Core::Hashable
1595
1746
 
1747
+ # Customer-specified publicly available remote repository.
1748
+ # Corresponds to the JSON property `customRepository`
1749
+ # @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository]
1750
+ attr_accessor :custom_repository
1751
+
1596
1752
  # One of the publicly available Npm repositories supported by Artifact Registry.
1597
1753
  # Corresponds to the JSON property `publicRepository`
1598
1754
  # @return [String]
@@ -1604,6 +1760,7 @@ module Google
1604
1760
 
1605
1761
  # Update properties of this object
1606
1762
  def update!(**args)
1763
+ @custom_repository = args[:custom_repository] if args.key?(:custom_repository)
1607
1764
  @public_repository = args[:public_repository] if args.key?(:public_repository)
1608
1765
  end
1609
1766
  end
@@ -1687,6 +1844,11 @@ module Google
1687
1844
  class Package
1688
1845
  include Google::Apis::Core::Hashable
1689
1846
 
1847
+ # Optional. Client specified annotations.
1848
+ # Corresponds to the JSON property `annotations`
1849
+ # @return [Hash<String,String>]
1850
+ attr_accessor :annotations
1851
+
1690
1852
  # The time when the package was created.
1691
1853
  # Corresponds to the JSON property `createTime`
1692
1854
  # @return [String]
@@ -1716,6 +1878,7 @@ module Google
1716
1878
 
1717
1879
  # Update properties of this object
1718
1880
  def update!(**args)
1881
+ @annotations = args[:annotations] if args.key?(:annotations)
1719
1882
  @create_time = args[:create_time] if args.key?(:create_time)
1720
1883
  @display_name = args[:display_name] if args.key?(:display_name)
1721
1884
  @name = args[:name] if args.key?(:name)
@@ -1897,6 +2060,11 @@ module Google
1897
2060
  class PythonRepository
1898
2061
  include Google::Apis::Core::Hashable
1899
2062
 
2063
+ # Customer-specified publicly available remote repository.
2064
+ # Corresponds to the JSON property `customRepository`
2065
+ # @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository]
2066
+ attr_accessor :custom_repository
2067
+
1900
2068
  # One of the publicly available Python repositories supported by Artifact
1901
2069
  # Registry.
1902
2070
  # Corresponds to the JSON property `publicRepository`
@@ -1909,6 +2077,7 @@ module Google
1909
2077
 
1910
2078
  # Update properties of this object
1911
2079
  def update!(**args)
2080
+ @custom_repository = args[:custom_repository] if args.key?(:custom_repository)
1912
2081
  @public_repository = args[:public_repository] if args.key?(:public_repository)
1913
2082
  end
1914
2083
  end
@@ -1927,6 +2096,13 @@ module Google
1927
2096
  # @return [String]
1928
2097
  attr_accessor :description
1929
2098
 
2099
+ # Input only. A create/update remote repo option to avoid making a HEAD/GET
2100
+ # request to validate a remote repo and any supplied upstream credentials.
2101
+ # Corresponds to the JSON property `disableUpstreamValidation`
2102
+ # @return [Boolean]
2103
+ attr_accessor :disable_upstream_validation
2104
+ alias_method :disable_upstream_validation?, :disable_upstream_validation
2105
+
1930
2106
  # Configuration for a Docker remote repository.
1931
2107
  # Corresponds to the JSON property `dockerRepository`
1932
2108
  # @return [Google::Apis::ArtifactregistryV1::DockerRepository]
@@ -1965,6 +2141,7 @@ module Google
1965
2141
  def update!(**args)
1966
2142
  @apt_repository = args[:apt_repository] if args.key?(:apt_repository)
1967
2143
  @description = args[:description] if args.key?(:description)
2144
+ @disable_upstream_validation = args[:disable_upstream_validation] if args.key?(:disable_upstream_validation)
1968
2145
  @docker_repository = args[:docker_repository] if args.key?(:docker_repository)
1969
2146
  @maven_repository = args[:maven_repository] if args.key?(:maven_repository)
1970
2147
  @npm_repository = args[:npm_repository] if args.key?(:npm_repository)
@@ -2789,6 +2966,11 @@ module Google
2789
2966
  class YumRepository
2790
2967
  include Google::Apis::Core::Hashable
2791
2968
 
2969
+ # Customer-specified publicly available remote repository.
2970
+ # Corresponds to the JSON property `customRepository`
2971
+ # @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository]
2972
+ attr_accessor :custom_repository
2973
+
2792
2974
  # Publicly available Yum repositories constructed from a common repository base
2793
2975
  # and a custom repository path.
2794
2976
  # Corresponds to the JSON property `publicRepository`
@@ -2801,6 +2983,7 @@ module Google
2801
2983
 
2802
2984
  # Update properties of this object
2803
2985
  def update!(**args)
2986
+ @custom_repository = args[:custom_repository] if args.key?(:custom_repository)
2804
2987
  @public_repository = args[:public_repository] if args.key?(:public_repository)
2805
2988
  end
2806
2989
  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.56.0"
19
+ GEM_VERSION = "0.57.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 = "20240202"
25
+ REVISION = "20240305"
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
 
@@ -118,12 +124,48 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
121
133
  class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
135
 
124
136
  include Google::Apis::Core::JsonObjectSupport
125
137
  end
126
138
 
139
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
127
169
  class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository
128
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
171
 
@@ -583,6 +625,8 @@ module Google
583
625
  class AptRepository
584
626
  # @private
585
627
  class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository::Representation
629
+
586
630
  property :public_repository, as: 'publicRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository::Representation
587
631
 
588
632
  end
@@ -662,6 +706,8 @@ module Google
662
706
  class DockerRepository
663
707
  # @private
664
708
  class Representation < Google::Apis::Core::JsonRepresentation
709
+ property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository::Representation
710
+
665
711
  property :public_repository, as: 'publicRepository'
666
712
  end
667
713
  end
@@ -673,6 +719,12 @@ module Google
673
719
  end
674
720
  end
675
721
 
722
+ class DownloadFileResponse
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ end
726
+ end
727
+
676
728
  class Empty
677
729
  # @private
678
730
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -722,6 +774,13 @@ module Google
722
774
  end
723
775
  end
724
776
 
777
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository
778
+ # @private
779
+ class Representation < Google::Apis::Core::JsonRepresentation
780
+ property :uri, as: 'uri'
781
+ end
782
+ end
783
+
725
784
  class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository
726
785
  # @private
727
786
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -730,6 +789,41 @@ module Google
730
789
  end
731
790
  end
732
791
 
792
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository
793
+ # @private
794
+ class Representation < Google::Apis::Core::JsonRepresentation
795
+ property :uri, as: 'uri'
796
+ end
797
+ end
798
+
799
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ property :uri, as: 'uri'
803
+ end
804
+ end
805
+
806
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository
807
+ # @private
808
+ class Representation < Google::Apis::Core::JsonRepresentation
809
+ property :uri, as: 'uri'
810
+ end
811
+ end
812
+
813
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository
814
+ # @private
815
+ class Representation < Google::Apis::Core::JsonRepresentation
816
+ property :uri, as: 'uri'
817
+ end
818
+ end
819
+
820
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository
821
+ # @private
822
+ class Representation < Google::Apis::Core::JsonRepresentation
823
+ property :uri, as: 'uri'
824
+ end
825
+ end
826
+
733
827
  class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository
734
828
  # @private
735
829
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -997,6 +1091,8 @@ module Google
997
1091
  class MavenRepository
998
1092
  # @private
999
1093
  class Representation < Google::Apis::Core::JsonRepresentation
1094
+ property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository::Representation
1095
+
1000
1096
  property :public_repository, as: 'publicRepository'
1001
1097
  end
1002
1098
  end
@@ -1024,6 +1120,8 @@ module Google
1024
1120
  class NpmRepository
1025
1121
  # @private
1026
1122
  class Representation < Google::Apis::Core::JsonRepresentation
1123
+ property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository::Representation
1124
+
1027
1125
  property :public_repository, as: 'publicRepository'
1028
1126
  end
1029
1127
  end
@@ -1049,6 +1147,7 @@ module Google
1049
1147
  class Package
1050
1148
  # @private
1051
1149
  class Representation < Google::Apis::Core::JsonRepresentation
1150
+ hash :annotations, as: 'annotations'
1052
1151
  property :create_time, as: 'createTime'
1053
1152
  property :display_name, as: 'displayName'
1054
1153
  property :name, as: 'name'
@@ -1089,6 +1188,8 @@ module Google
1089
1188
  class PythonRepository
1090
1189
  # @private
1091
1190
  class Representation < Google::Apis::Core::JsonRepresentation
1191
+ property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository::Representation
1192
+
1092
1193
  property :public_repository, as: 'publicRepository'
1093
1194
  end
1094
1195
  end
@@ -1099,6 +1200,7 @@ module Google
1099
1200
  property :apt_repository, as: 'aptRepository', class: Google::Apis::ArtifactregistryV1::AptRepository, decorator: Google::Apis::ArtifactregistryV1::AptRepository::Representation
1100
1201
 
1101
1202
  property :description, as: 'description'
1203
+ property :disable_upstream_validation, as: 'disableUpstreamValidation'
1102
1204
  property :docker_repository, as: 'dockerRepository', class: Google::Apis::ArtifactregistryV1::DockerRepository, decorator: Google::Apis::ArtifactregistryV1::DockerRepository::Representation
1103
1205
 
1104
1206
  property :maven_repository, as: 'mavenRepository', class: Google::Apis::ArtifactregistryV1::MavenRepository, decorator: Google::Apis::ArtifactregistryV1::MavenRepository::Representation
@@ -1374,6 +1476,8 @@ module Google
1374
1476
  class YumRepository
1375
1477
  # @private
1376
1478
  class Representation < Google::Apis::Core::JsonRepresentation
1479
+ property :custom_repository, as: 'customRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository::Representation
1480
+
1377
1481
  property :public_repository, as: 'publicRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository::Representation
1378
1482
 
1379
1483
  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.
@@ -1210,6 +1247,46 @@ module Google
1210
1247
  execute_or_queue_command(command, &block)
1211
1248
  end
1212
1249
 
1250
+ # Updates a package.
1251
+ # @param [String] name
1252
+ # The name of the package, for example: `projects/p1/locations/us-central1/
1253
+ # repositories/repo1/packages/pkg1`. If the package ID part contains slashes,
1254
+ # the slashes are escaped.
1255
+ # @param [Google::Apis::ArtifactregistryV1::Package] package_object
1256
+ # @param [String] update_mask
1257
+ # The update mask applies to the resource. For the `FieldMask` definition, see
1258
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
1259
+ # fieldmask
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::Package] parsed result object
1270
+ # @yieldparam err [StandardError] error object if request failed
1271
+ #
1272
+ # @return [Google::Apis::ArtifactregistryV1::Package]
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 patch_project_location_repository_package(name, package_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1278
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1279
+ command.request_representation = Google::Apis::ArtifactregistryV1::Package::Representation
1280
+ command.request_object = package_object
1281
+ command.response_representation = Google::Apis::ArtifactregistryV1::Package::Representation
1282
+ command.response_class = Google::Apis::ArtifactregistryV1::Package
1283
+ command.params['name'] = name unless name.nil?
1284
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1285
+ command.query['fields'] = fields unless fields.nil?
1286
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1287
+ execute_or_queue_command(command, &block)
1288
+ end
1289
+
1213
1290
  # Creates a tag.
1214
1291
  # @param [String] parent
1215
1292
  # 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.56.0
4
+ version: 0.57.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-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-10 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.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.57.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: []