google-cloud-artifact_registry-v1 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea13e6d9c4db6ac794635a61e8eddfed97d23e45d657b0865f35975727c1cc11
4
- data.tar.gz: c5a258f59648a7712e8570c1b20dac5d82f039033429521be236bb37dd789ae8
3
+ metadata.gz: 2f87c984de624013ecf25d6bc0868687dfe701532d9a0df81abdd103b3b4cbac
4
+ data.tar.gz: b01c28203f9367c0482a08c6fcc26a391c21c773b2cf3fbab5834db3656c7534
5
5
  SHA512:
6
- metadata.gz: 5ce4df12858f0c12f76b62e37872483a425e933096f2907bcee4ae6afcea4715b8b75e27f5e007f46eddf7910e96d1aca7289f5db80dfa83c118f5c7be83b125
7
- data.tar.gz: 245e49065f7c69e35e605a8e91e88cb4793e7af819730c9cc3118e52f6dfc3397056ee5766d4d6ee21e81cfc1861a926f370baf731b3fffb4045c8b462ca1cec
6
+ metadata.gz: '086ddc9431f6826c7584c4974ca23af26843efd72233ebb540139cfc198b3c3bd62471781e1c2085dc234b72da1c7c85e5d67d478c8eda48fb772d9b97ea1230'
7
+ data.tar.gz: 57d3f8022d43e6200d98c36369c171bf95117fd30bb48cae0597b9ce3cf78db346ac97f59ba5041dddbb8a856a956fdcef4c7ebcf3c2594df8af5522ef75b184
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -4955,6 +4955,13 @@ module Google
4955
4955
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
4956
4956
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4957
4957
  # * (`nil`) indicating no credentials
4958
+ #
4959
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4960
+ # external source for authentication to Google Cloud, you must validate it before
4961
+ # providing it to a Google API client library. Providing an unvalidated credential
4962
+ # configuration to Google APIs can compromise the security of your systems and data.
4963
+ # For more information, refer to [Validate credential configurations from external
4964
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4958
4965
  # @return [::Object]
4959
4966
  # @!attribute [rw] scope
4960
4967
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -4604,6 +4604,13 @@ module Google
4604
4604
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
4605
4605
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
4606
4606
  # * (`nil`) indicating no credentials
4607
+ #
4608
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4609
+ # external source for authentication to Google Cloud, you must validate it before
4610
+ # providing it to a Google API client library. Providing an unvalidated credential
4611
+ # configuration to Google APIs can compromise the security of your systems and data.
4612
+ # For more information, refer to [Validate credential configurations from external
4613
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4607
4614
  # @return [::Object]
4608
4615
  # @!attribute [rw] scope
4609
4616
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ArtifactRegistry
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "1.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -95,10 +95,14 @@ module Google
95
95
  # @!attribute [rw] condition
96
96
  # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicyCondition]
97
97
  # Policy condition for matching versions.
98
+ #
99
+ # Note: The following fields are mutually exclusive: `condition`, `most_recent_versions`. If a field in that set is populated, all other fields in the set will automatically be cleared.
98
100
  # @!attribute [rw] most_recent_versions
99
101
  # @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicyMostRecentVersions]
100
102
  # Policy condition for retaining a minimum number of versions. May only be
101
103
  # specified with a Keep action.
104
+ #
105
+ # Note: The following fields are mutually exclusive: `most_recent_versions`, `condition`. If a field in that set is populated, all other fields in the set will automatically be cleared.
102
106
  # @!attribute [rw] id
103
107
  # @return [::String]
104
108
  # The user-provided ID of the cleanup policy.
@@ -136,25 +140,39 @@ module Google
136
140
  # @!attribute [rw] docker_repository
137
141
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::DockerRepository]
138
142
  # Specific settings for a Docker remote repository.
143
+ #
144
+ # Note: The following fields are mutually exclusive: `docker_repository`, `maven_repository`, `npm_repository`, `python_repository`, `apt_repository`, `yum_repository`, `common_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
139
145
  # @!attribute [rw] maven_repository
140
146
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository]
141
147
  # Specific settings for a Maven remote repository.
148
+ #
149
+ # Note: The following fields are mutually exclusive: `maven_repository`, `docker_repository`, `npm_repository`, `python_repository`, `apt_repository`, `yum_repository`, `common_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
142
150
  # @!attribute [rw] npm_repository
143
151
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository]
144
152
  # Specific settings for an Npm remote repository.
153
+ #
154
+ # Note: The following fields are mutually exclusive: `npm_repository`, `docker_repository`, `maven_repository`, `python_repository`, `apt_repository`, `yum_repository`, `common_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
145
155
  # @!attribute [rw] python_repository
146
156
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository]
147
157
  # Specific settings for a Python remote repository.
158
+ #
159
+ # Note: The following fields are mutually exclusive: `python_repository`, `docker_repository`, `maven_repository`, `npm_repository`, `apt_repository`, `yum_repository`, `common_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
148
160
  # @!attribute [rw] apt_repository
149
161
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository]
150
162
  # Specific settings for an Apt remote repository.
163
+ #
164
+ # Note: The following fields are mutually exclusive: `apt_repository`, `docker_repository`, `maven_repository`, `npm_repository`, `python_repository`, `yum_repository`, `common_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
151
165
  # @!attribute [rw] yum_repository
152
166
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository]
153
167
  # Specific settings for a Yum remote repository.
168
+ #
169
+ # Note: The following fields are mutually exclusive: `yum_repository`, `docker_repository`, `maven_repository`, `npm_repository`, `python_repository`, `apt_repository`, `common_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
154
170
  # @!attribute [rw] common_repository
155
171
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::CommonRemoteRepository]
156
172
  # Common remote repository settings.
157
173
  # Used as the remote repository upstream URL.
174
+ #
175
+ # Note: The following fields are mutually exclusive: `common_repository`, `docker_repository`, `maven_repository`, `npm_repository`, `python_repository`, `apt_repository`, `yum_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
158
176
  # @!attribute [rw] description
159
177
  # @return [::String]
160
178
  # The description of the remote source.
@@ -197,9 +215,13 @@ module Google
197
215
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::DockerRepository::PublicRepository]
198
216
  # One of the publicly available Docker repositories supported by Artifact
199
217
  # Registry.
218
+ #
219
+ # Note: The following fields are mutually exclusive: `public_repository`, `custom_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
200
220
  # @!attribute [rw] custom_repository
201
221
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::DockerRepository::CustomRepository]
202
222
  # Customer-specified remote repository.
223
+ #
224
+ # Note: The following fields are mutually exclusive: `custom_repository`, `public_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
203
225
  class DockerRepository
204
226
  include ::Google::Protobuf::MessageExts
205
227
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -230,9 +252,13 @@ module Google
230
252
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository::PublicRepository]
231
253
  # One of the publicly available Maven repositories supported by Artifact
232
254
  # Registry.
255
+ #
256
+ # Note: The following fields are mutually exclusive: `public_repository`, `custom_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
233
257
  # @!attribute [rw] custom_repository
234
258
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository::CustomRepository]
235
259
  # Customer-specified remote repository.
260
+ #
261
+ # Note: The following fields are mutually exclusive: `custom_repository`, `public_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
236
262
  class MavenRepository
237
263
  include ::Google::Protobuf::MessageExts
238
264
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -263,9 +289,13 @@ module Google
263
289
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository::PublicRepository]
264
290
  # One of the publicly available Npm repositories supported by Artifact
265
291
  # Registry.
292
+ #
293
+ # Note: The following fields are mutually exclusive: `public_repository`, `custom_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
266
294
  # @!attribute [rw] custom_repository
267
295
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository::CustomRepository]
268
296
  # Customer-specified remote repository.
297
+ #
298
+ # Note: The following fields are mutually exclusive: `custom_repository`, `public_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
269
299
  class NpmRepository
270
300
  include ::Google::Protobuf::MessageExts
271
301
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -295,9 +325,13 @@ module Google
295
325
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository::PublicRepository]
296
326
  # One of the publicly available Python repositories supported by Artifact
297
327
  # Registry.
328
+ #
329
+ # Note: The following fields are mutually exclusive: `public_repository`, `custom_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
298
330
  # @!attribute [rw] custom_repository
299
331
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository::CustomRepository]
300
332
  # Customer-specified remote repository.
333
+ #
334
+ # Note: The following fields are mutually exclusive: `custom_repository`, `public_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
301
335
  class PythonRepository
302
336
  include ::Google::Protobuf::MessageExts
303
337
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -327,9 +361,13 @@ module Google
327
361
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository::PublicRepository]
328
362
  # One of the publicly available Apt repositories supported by Artifact
329
363
  # Registry.
364
+ #
365
+ # Note: The following fields are mutually exclusive: `public_repository`, `custom_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
330
366
  # @!attribute [rw] custom_repository
331
367
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository::CustomRepository]
332
368
  # Customer-specified remote repository.
369
+ #
370
+ # Note: The following fields are mutually exclusive: `custom_repository`, `public_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
333
371
  class AptRepository
334
372
  include ::Google::Protobuf::MessageExts
335
373
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -378,9 +416,13 @@ module Google
378
416
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository::PublicRepository]
379
417
  # One of the publicly available Yum repositories supported by Artifact
380
418
  # Registry.
419
+ #
420
+ # Note: The following fields are mutually exclusive: `public_repository`, `custom_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
381
421
  # @!attribute [rw] custom_repository
382
422
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository::CustomRepository]
383
423
  # Customer-specified remote repository.
424
+ #
425
+ # Note: The following fields are mutually exclusive: `custom_repository`, `public_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
384
426
  class YumRepository
385
427
  include ::Google::Protobuf::MessageExts
386
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -448,16 +490,24 @@ module Google
448
490
  # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig]
449
491
  # Maven repository config contains repository level configuration
450
492
  # for the repositories of maven type.
493
+ #
494
+ # Note: The following fields are mutually exclusive: `maven_config`, `docker_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
451
495
  # @!attribute [rw] docker_config
452
496
  # @return [::Google::Cloud::ArtifactRegistry::V1::Repository::DockerRepositoryConfig]
453
497
  # Docker repository config contains repository level configuration
454
498
  # for the repositories of docker type.
499
+ #
500
+ # Note: The following fields are mutually exclusive: `docker_config`, `maven_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
455
501
  # @!attribute [rw] virtual_repository_config
456
502
  # @return [::Google::Cloud::ArtifactRegistry::V1::VirtualRepositoryConfig]
457
503
  # Configuration specific for a Virtual Repository.
504
+ #
505
+ # Note: The following fields are mutually exclusive: `virtual_repository_config`, `remote_repository_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
458
506
  # @!attribute [rw] remote_repository_config
459
507
  # @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig]
460
508
  # Configuration specific for a Remote Repository.
509
+ #
510
+ # Note: The following fields are mutually exclusive: `remote_repository_config`, `virtual_repository_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
461
511
  # @!attribute [rw] name
462
512
  # @return [::String]
463
513
  # The name of the repository, for example:
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-artifact_registry-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -156,7 +155,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
156
155
  licenses:
157
156
  - Apache-2.0
158
157
  metadata: {}
159
- post_install_message:
160
158
  rdoc_options: []
161
159
  require_paths:
162
160
  - lib
@@ -164,15 +162,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
164
162
  requirements:
165
163
  - - ">="
166
164
  - !ruby/object:Gem::Version
167
- version: '2.7'
165
+ version: '3.0'
168
166
  required_rubygems_version: !ruby/object:Gem::Requirement
169
167
  requirements:
170
168
  - - ">="
171
169
  - !ruby/object:Gem::Version
172
170
  version: '0'
173
171
  requirements: []
174
- rubygems_version: 3.5.23
175
- signing_key:
172
+ rubygems_version: 3.6.2
176
173
  specification_version: 4
177
174
  summary: Store and manage build artifacts in a scalable and integrated service built
178
175
  on Google infrastructure.