google-apis-artifactregistry_v1 0.44.0 → 0.46.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: d26695dd3e89a2b64081db9c5f48826fb32aee0dc7e9392f6003770a340a536b
4
- data.tar.gz: 8d60789bcf6425499974d657c5def6478779d0ad9edb026a6cbf0942d266f1bc
3
+ metadata.gz: 143a8af8c759985a593317be192f2f1a38ecab0daf3884bab495aca2827eea17
4
+ data.tar.gz: 0ccae7bc1408d50de4a4b347e23014fd1af5e96d66e2d9a2d0890f8319e89c02
5
5
  SHA512:
6
- metadata.gz: e19d93b2ccd7c8ac1c6487c20b9c3690804a8cca2381ace54052ba57d10336137760a09fdd54a269b4df69c5e2f847486dff50c16314af3e40f1d815232979a6
7
- data.tar.gz: e027eeb61cbb9af7d5d9372a3bf8fa753a7a17b69802c22389a8b68f6d9f347a028a5b3b304bfe02f215ed6182d7f5d9d8d69188edb9f524c9b2db401a7ddfcb
6
+ metadata.gz: f0ec1287e99176ca466a06b5607867142c6a253747c4f9277e57f4a85bad1592d4ed1b1a319ed83d6a04c872e456ffac15d90daf269cca96d6debdb4dee2da4d
7
+ data.tar.gz: 1b16fde4ece9ebe48db98820862d1e8684dbfc4f1389a55f19562666d737dea8a46877da3fecb055cbd588bdf179c6a45ce80dcd75d029d312edb5fc419e0fb6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.46.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230905
6
+
7
+ ### v0.45.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230809
10
+
3
11
  ### v0.44.0 (2023-07-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230719
@@ -74,6 +74,26 @@ module Google
74
74
  end
75
75
  end
76
76
 
77
+ # Configuration for an Apt remote repository.
78
+ class AptRepository
79
+ include Google::Apis::Core::Hashable
80
+
81
+ # Publicly available Apt repositories constructed from a common repository base
82
+ # and a custom repository path.
83
+ # Corresponds to the JSON property `publicRepository`
84
+ # @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository]
85
+ attr_accessor :public_repository
86
+
87
+ def initialize(**args)
88
+ update!(**args)
89
+ end
90
+
91
+ # Update properties of this object
92
+ def update!(**args)
93
+ @public_repository = args[:public_repository] if args.key?(:public_repository)
94
+ end
95
+ end
96
+
77
97
  # The metadata of an LRO from deleting multiple versions.
78
98
  class BatchDeleteVersionsMetadata
79
99
  include Google::Apis::Core::Hashable
@@ -637,6 +657,58 @@ module Google
637
657
  end
638
658
  end
639
659
 
660
+ # Publicly available Apt repositories constructed from a common repository base
661
+ # and a custom repository path.
662
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository
663
+ include Google::Apis::Core::Hashable
664
+
665
+ # A common public repository base for Apt.
666
+ # Corresponds to the JSON property `repositoryBase`
667
+ # @return [String]
668
+ attr_accessor :repository_base
669
+
670
+ # A custom field to define a path to a specific repository from the base.
671
+ # Corresponds to the JSON property `repositoryPath`
672
+ # @return [String]
673
+ attr_accessor :repository_path
674
+
675
+ def initialize(**args)
676
+ update!(**args)
677
+ end
678
+
679
+ # Update properties of this object
680
+ def update!(**args)
681
+ @repository_base = args[:repository_base] if args.key?(:repository_base)
682
+ @repository_path = args[:repository_path] if args.key?(:repository_path)
683
+ end
684
+ end
685
+
686
+ # Publicly available Yum repositories constructed from a common repository base
687
+ # and a custom repository path.
688
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository
689
+ include Google::Apis::Core::Hashable
690
+
691
+ # A common public repository base for Yum.
692
+ # Corresponds to the JSON property `repositoryBase`
693
+ # @return [String]
694
+ attr_accessor :repository_base
695
+
696
+ # A custom field to define a path to a specific repository from the base.
697
+ # Corresponds to the JSON property `repositoryPath`
698
+ # @return [String]
699
+ attr_accessor :repository_path
700
+
701
+ def initialize(**args)
702
+ update!(**args)
703
+ end
704
+
705
+ # Update properties of this object
706
+ def update!(**args)
707
+ @repository_base = args[:repository_base] if args.key?(:repository_base)
708
+ @repository_path = args[:repository_path] if args.key?(:repository_path)
709
+ end
710
+ end
711
+
640
712
  # A hash of file content.
641
713
  class HashProp
642
714
  include Google::Apis::Core::Hashable
@@ -1554,13 +1626,13 @@ module Google
1554
1626
  # @return [String]
1555
1627
  attr_accessor :name
1556
1628
 
1557
- # The normal response of the operation in case of success. If the original
1558
- # method returns no data on success, such as `Delete`, the response is `google.
1559
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1560
- # the response should be the resource. For other methods, the response should
1561
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1562
- # example, if the original method name is `TakeSnapshot()`, the inferred
1563
- # response type is `TakeSnapshotResponse`.
1629
+ # The normal, successful response of the operation. If the original method
1630
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1631
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1632
+ # response should be the resource. For other methods, the response should have
1633
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1634
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1635
+ # `TakeSnapshotResponse`.
1564
1636
  # Corresponds to the JSON property `response`
1565
1637
  # @return [Hash<String,Object>]
1566
1638
  attr_accessor :response
@@ -1643,22 +1715,22 @@ module Google
1643
1715
  # evaluates to `true`. A condition can add constraints based on attributes of
1644
1716
  # the request, the resource, or both. To learn which resources support
1645
1717
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1646
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1718
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1647
1719
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1648
1720
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1649
1721
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1650
1722
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1651
1723
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1652
1724
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1653
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1654
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1655
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1656
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1657
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1658
- # access description: Does not grant access after Sep 2020 expression: request.
1659
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1660
- # a description of IAM and its features, see the [IAM documentation](https://
1661
- # cloud.google.com/iam/docs/).
1725
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1726
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1727
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1728
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1729
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1730
+ # title: expirable access description: Does not grant access after Sep 2020
1731
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1732
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1733
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1662
1734
  class Policy
1663
1735
  include Google::Apis::Core::Hashable
1664
1736
 
@@ -1826,6 +1898,11 @@ module Google
1826
1898
  class RemoteRepositoryConfig
1827
1899
  include Google::Apis::Core::Hashable
1828
1900
 
1901
+ # Configuration for an Apt remote repository.
1902
+ # Corresponds to the JSON property `aptRepository`
1903
+ # @return [Google::Apis::ArtifactregistryV1::AptRepository]
1904
+ attr_accessor :apt_repository
1905
+
1829
1906
  # The description of the remote source.
1830
1907
  # Corresponds to the JSON property `description`
1831
1908
  # @return [String]
@@ -1851,17 +1928,24 @@ module Google
1851
1928
  # @return [Google::Apis::ArtifactregistryV1::PythonRepository]
1852
1929
  attr_accessor :python_repository
1853
1930
 
1931
+ # Configuration for a Yum remote repository.
1932
+ # Corresponds to the JSON property `yumRepository`
1933
+ # @return [Google::Apis::ArtifactregistryV1::YumRepository]
1934
+ attr_accessor :yum_repository
1935
+
1854
1936
  def initialize(**args)
1855
1937
  update!(**args)
1856
1938
  end
1857
1939
 
1858
1940
  # Update properties of this object
1859
1941
  def update!(**args)
1942
+ @apt_repository = args[:apt_repository] if args.key?(:apt_repository)
1860
1943
  @description = args[:description] if args.key?(:description)
1861
1944
  @docker_repository = args[:docker_repository] if args.key?(:docker_repository)
1862
1945
  @maven_repository = args[:maven_repository] if args.key?(:maven_repository)
1863
1946
  @npm_repository = args[:npm_repository] if args.key?(:npm_repository)
1864
1947
  @python_repository = args[:python_repository] if args.key?(:python_repository)
1948
+ @yum_repository = args[:yum_repository] if args.key?(:yum_repository)
1865
1949
  end
1866
1950
  end
1867
1951
 
@@ -2006,22 +2090,22 @@ module Google
2006
2090
  # evaluates to `true`. A condition can add constraints based on attributes of
2007
2091
  # the request, the resource, or both. To learn which resources support
2008
2092
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2009
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2093
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
2010
2094
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2011
2095
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2012
2096
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2013
2097
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2014
2098
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
2015
2099
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2016
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2017
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
2018
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2019
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2020
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2021
- # access description: Does not grant access after Sep 2020 expression: request.
2022
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2023
- # a description of IAM and its features, see the [IAM documentation](https://
2024
- # cloud.google.com/iam/docs/).
2100
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
2101
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
2102
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
2103
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
2104
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
2105
+ # title: expirable access description: Does not grant access after Sep 2020
2106
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
2107
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
2108
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2025
2109
  # Corresponds to the JSON property `policy`
2026
2110
  # @return [Google::Apis::ArtifactregistryV1::Policy]
2027
2111
  attr_accessor :policy
@@ -2433,7 +2517,7 @@ module Google
2433
2517
  class UploadYumArtifactResponse
2434
2518
  include Google::Apis::Core::Hashable
2435
2519
 
2436
- # The Apt artifacts updated.
2520
+ # The Yum artifacts updated.
2437
2521
  # Corresponds to the JSON property `yumArtifacts`
2438
2522
  # @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
2439
2523
  attr_accessor :yum_artifacts
@@ -2620,6 +2704,26 @@ module Google
2620
2704
  @package_type = args[:package_type] if args.key?(:package_type)
2621
2705
  end
2622
2706
  end
2707
+
2708
+ # Configuration for a Yum remote repository.
2709
+ class YumRepository
2710
+ include Google::Apis::Core::Hashable
2711
+
2712
+ # Publicly available Yum repositories constructed from a common repository base
2713
+ # and a custom repository path.
2714
+ # Corresponds to the JSON property `publicRepository`
2715
+ # @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository]
2716
+ attr_accessor :public_repository
2717
+
2718
+ def initialize(**args)
2719
+ update!(**args)
2720
+ end
2721
+
2722
+ # Update properties of this object
2723
+ def update!(**args)
2724
+ @public_repository = args[:public_repository] if args.key?(:public_repository)
2725
+ end
2726
+ end
2623
2727
  end
2624
2728
  end
2625
2729
  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.44.0"
19
+ GEM_VERSION = "0.46.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 = "20230719"
25
+ REVISION = "20230905"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AptRepository
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class BatchDeleteVersionsMetadata
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -112,6 +118,18 @@ module Google
112
118
  include Google::Apis::Core::JsonObjectSupport
113
119
  end
114
120
 
121
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
115
133
  class HashProp
116
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
135
 
@@ -532,6 +550,12 @@ module Google
532
550
  include Google::Apis::Core::JsonObjectSupport
533
551
  end
534
552
 
553
+ class YumRepository
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
535
559
  class AptArtifact
536
560
  # @private
537
561
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -544,6 +568,14 @@ module Google
544
568
  end
545
569
  end
546
570
 
571
+ class AptRepository
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ property :public_repository, as: 'publicRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository::Representation
575
+
576
+ end
577
+ end
578
+
547
579
  class BatchDeleteVersionsMetadata
548
580
  # @private
549
581
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -679,6 +711,22 @@ module Google
679
711
  end
680
712
  end
681
713
 
714
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository
715
+ # @private
716
+ class Representation < Google::Apis::Core::JsonRepresentation
717
+ property :repository_base, as: 'repositoryBase'
718
+ property :repository_path, as: 'repositoryPath'
719
+ end
720
+ end
721
+
722
+ class GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ property :repository_base, as: 'repositoryBase'
726
+ property :repository_path, as: 'repositoryPath'
727
+ end
728
+ end
729
+
682
730
  class HashProp
683
731
  # @private
684
732
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1037,6 +1085,8 @@ module Google
1037
1085
  class RemoteRepositoryConfig
1038
1086
  # @private
1039
1087
  class Representation < Google::Apis::Core::JsonRepresentation
1088
+ property :apt_repository, as: 'aptRepository', class: Google::Apis::ArtifactregistryV1::AptRepository, decorator: Google::Apis::ArtifactregistryV1::AptRepository::Representation
1089
+
1040
1090
  property :description, as: 'description'
1041
1091
  property :docker_repository, as: 'dockerRepository', class: Google::Apis::ArtifactregistryV1::DockerRepository, decorator: Google::Apis::ArtifactregistryV1::DockerRepository::Representation
1042
1092
 
@@ -1046,6 +1096,8 @@ module Google
1046
1096
 
1047
1097
  property :python_repository, as: 'pythonRepository', class: Google::Apis::ArtifactregistryV1::PythonRepository, decorator: Google::Apis::ArtifactregistryV1::PythonRepository::Representation
1048
1098
 
1099
+ property :yum_repository, as: 'yumRepository', class: Google::Apis::ArtifactregistryV1::YumRepository, decorator: Google::Apis::ArtifactregistryV1::YumRepository::Representation
1100
+
1049
1101
  end
1050
1102
  end
1051
1103
 
@@ -1288,6 +1340,14 @@ module Google
1288
1340
  property :package_type, as: 'packageType'
1289
1341
  end
1290
1342
  end
1343
+
1344
+ class YumRepository
1345
+ # @private
1346
+ class Representation < Google::Apis::Core::JsonRepresentation
1347
+ property :public_repository, as: 'publicRepository', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository::Representation
1348
+
1349
+ end
1350
+ end
1291
1351
  end
1292
1352
  end
1293
1353
  end
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.44.0
4
+ version: 0.46.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-07-23 00:00:00.000000000 Z
11
+ date: 2023-09-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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.46.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Artifact Registry API V1