google-cloud-artifact_registry-v1 0.9.1 → 0.11.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 +4 -4
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/client.rb +125 -6
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/operations.rb +10 -1
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/paths.rb +42 -0
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/client.rb +746 -5
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/operations.rb +75 -0
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/service_stub.rb +60 -0
- data/lib/google/cloud/artifact_registry/v1/version.rb +1 -1
- data/lib/google/devtools/artifactregistry/v1/repository_pb.rb +29 -1
- data/lib/google/devtools/artifactregistry/v1/service_pb.rb +1 -1
- data/lib/google/devtools/artifactregistry/v1/service_services_pb.rb +3 -0
- data/lib/google/devtools/artifactregistry/v1/version_pb.rb +2 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/devtools/artifactregistry/v1/package.rb +1 -1
- data/proto_docs/google/devtools/artifactregistry/v1/repository.rb +411 -10
- data/proto_docs/google/devtools/artifactregistry/v1/tag.rb +3 -1
- data/proto_docs/google/devtools/artifactregistry/v1/version.rb +16 -0
- metadata +5 -5
@@ -21,18 +21,352 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module ArtifactRegistry
|
23
23
|
module V1
|
24
|
+
# Artifact policy configuration for the repository contents.
|
25
|
+
# @!attribute [rw] id
|
26
|
+
# @return [::String]
|
27
|
+
# The user-provided ID of the upstream policy.
|
28
|
+
# @!attribute [rw] repository
|
29
|
+
# @return [::String]
|
30
|
+
# A reference to the repository resource, for example:
|
31
|
+
# `projects/p1/locations/us-central1/repositories/repo1`.
|
32
|
+
# @!attribute [rw] priority
|
33
|
+
# @return [::Integer]
|
34
|
+
# Entries with a greater priority value take precedence in the pull order.
|
35
|
+
class UpstreamPolicy
|
36
|
+
include ::Google::Protobuf::MessageExts
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
end
|
39
|
+
|
40
|
+
# CleanupPolicyCondition is a set of conditions attached to a CleanupPolicy.
|
41
|
+
# If multiple entries are set, all must be satisfied for the condition to be
|
42
|
+
# satisfied.
|
43
|
+
# @!attribute [rw] tag_state
|
44
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicyCondition::TagState]
|
45
|
+
# Match versions by tag status.
|
46
|
+
# @!attribute [rw] tag_prefixes
|
47
|
+
# @return [::Array<::String>]
|
48
|
+
# Match versions by tag prefix. Applied on any prefix match.
|
49
|
+
# @!attribute [rw] version_name_prefixes
|
50
|
+
# @return [::Array<::String>]
|
51
|
+
# Match versions by version name prefix. Applied on any prefix match.
|
52
|
+
# @!attribute [rw] package_name_prefixes
|
53
|
+
# @return [::Array<::String>]
|
54
|
+
# Match versions by package prefix. Applied on any prefix match.
|
55
|
+
# @!attribute [rw] older_than
|
56
|
+
# @return [::Google::Protobuf::Duration]
|
57
|
+
# Match versions older than a duration.
|
58
|
+
# @!attribute [rw] newer_than
|
59
|
+
# @return [::Google::Protobuf::Duration]
|
60
|
+
# Match versions newer than a duration.
|
61
|
+
class CleanupPolicyCondition
|
62
|
+
include ::Google::Protobuf::MessageExts
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
|
65
|
+
# Statuses applying to versions.
|
66
|
+
module TagState
|
67
|
+
# Tag status not specified.
|
68
|
+
TAG_STATE_UNSPECIFIED = 0
|
69
|
+
|
70
|
+
# Applies to tagged versions only.
|
71
|
+
TAGGED = 1
|
72
|
+
|
73
|
+
# Applies to untagged versions only.
|
74
|
+
UNTAGGED = 2
|
75
|
+
|
76
|
+
# Applies to all versions.
|
77
|
+
ANY = 3
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# CleanupPolicyMostRecentVersions is an alternate condition of a CleanupPolicy
|
82
|
+
# for retaining a minimum number of versions.
|
83
|
+
# @!attribute [rw] package_name_prefixes
|
84
|
+
# @return [::Array<::String>]
|
85
|
+
# List of package name prefixes that will apply this rule.
|
86
|
+
# @!attribute [rw] keep_count
|
87
|
+
# @return [::Integer]
|
88
|
+
# Minimum number of versions to keep.
|
89
|
+
class CleanupPolicyMostRecentVersions
|
90
|
+
include ::Google::Protobuf::MessageExts
|
91
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
92
|
+
end
|
93
|
+
|
94
|
+
# Artifact policy configuration for repository cleanup policies.
|
95
|
+
# @!attribute [rw] condition
|
96
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicyCondition]
|
97
|
+
# Policy condition for matching versions.
|
98
|
+
# @!attribute [rw] most_recent_versions
|
99
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicyMostRecentVersions]
|
100
|
+
# Policy condition for retaining a minimum number of versions. May only be
|
101
|
+
# specified with a Keep action.
|
102
|
+
# @!attribute [rw] id
|
103
|
+
# @return [::String]
|
104
|
+
# The user-provided ID of the cleanup policy.
|
105
|
+
# @!attribute [rw] action
|
106
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy::Action]
|
107
|
+
# Policy action.
|
108
|
+
class CleanupPolicy
|
109
|
+
include ::Google::Protobuf::MessageExts
|
110
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
111
|
+
|
112
|
+
# Action type for a cleanup policy.
|
113
|
+
module Action
|
114
|
+
# Action not specified.
|
115
|
+
ACTION_UNSPECIFIED = 0
|
116
|
+
|
117
|
+
# Delete action.
|
118
|
+
DELETE = 1
|
119
|
+
|
120
|
+
# Keep action.
|
121
|
+
KEEP = 2
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# Virtual repository configuration.
|
126
|
+
# @!attribute [rw] upstream_policies
|
127
|
+
# @return [::Array<::Google::Cloud::ArtifactRegistry::V1::UpstreamPolicy>]
|
128
|
+
# Policies that configure the upstream artifacts distributed by the Virtual
|
129
|
+
# Repository. Upstream policies cannot be set on a standard repository.
|
130
|
+
class VirtualRepositoryConfig
|
131
|
+
include ::Google::Protobuf::MessageExts
|
132
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
133
|
+
end
|
134
|
+
|
135
|
+
# Remote repository configuration.
|
136
|
+
# @!attribute [rw] docker_repository
|
137
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::DockerRepository]
|
138
|
+
# Specific settings for a Docker remote repository.
|
139
|
+
# @!attribute [rw] maven_repository
|
140
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository]
|
141
|
+
# Specific settings for a Maven remote repository.
|
142
|
+
# @!attribute [rw] npm_repository
|
143
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository]
|
144
|
+
# Specific settings for an Npm remote repository.
|
145
|
+
# @!attribute [rw] python_repository
|
146
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository]
|
147
|
+
# Specific settings for a Python remote repository.
|
148
|
+
# @!attribute [rw] apt_repository
|
149
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository]
|
150
|
+
# Specific settings for an Apt remote repository.
|
151
|
+
# @!attribute [rw] yum_repository
|
152
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository]
|
153
|
+
# Specific settings for a Yum remote repository.
|
154
|
+
# @!attribute [rw] description
|
155
|
+
# @return [::String]
|
156
|
+
# The description of the remote source.
|
157
|
+
# @!attribute [rw] upstream_credentials
|
158
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::UpstreamCredentials]
|
159
|
+
# Optional. The credentials used to access the remote repository.
|
160
|
+
class RemoteRepositoryConfig
|
161
|
+
include ::Google::Protobuf::MessageExts
|
162
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
163
|
+
|
164
|
+
# The credentials to access the remote repository.
|
165
|
+
# @!attribute [rw] username_password_credentials
|
166
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::UpstreamCredentials::UsernamePasswordCredentials]
|
167
|
+
# Use username and password to access the remote repository.
|
168
|
+
class UpstreamCredentials
|
169
|
+
include ::Google::Protobuf::MessageExts
|
170
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
171
|
+
|
172
|
+
# Username and password credentials.
|
173
|
+
# @!attribute [rw] username
|
174
|
+
# @return [::String]
|
175
|
+
# The username to access the remote repository.
|
176
|
+
# @!attribute [rw] password_secret_version
|
177
|
+
# @return [::String]
|
178
|
+
# The Secret Manager key version that holds the password to access the
|
179
|
+
# remote repository. Must be in the format of
|
180
|
+
# `projects/{project}/secrets/{secret}/versions/{version}`.
|
181
|
+
class UsernamePasswordCredentials
|
182
|
+
include ::Google::Protobuf::MessageExts
|
183
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
# Configuration for a Docker remote repository.
|
188
|
+
# @!attribute [rw] public_repository
|
189
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::DockerRepository::PublicRepository]
|
190
|
+
# One of the publicly available Docker repositories supported by Artifact
|
191
|
+
# Registry.
|
192
|
+
class DockerRepository
|
193
|
+
include ::Google::Protobuf::MessageExts
|
194
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
195
|
+
|
196
|
+
# Predefined list of publicly available Docker repositories like Docker
|
197
|
+
# Hub.
|
198
|
+
module PublicRepository
|
199
|
+
# Unspecified repository.
|
200
|
+
PUBLIC_REPOSITORY_UNSPECIFIED = 0
|
201
|
+
|
202
|
+
# Docker Hub.
|
203
|
+
DOCKER_HUB = 1
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
207
|
+
# Configuration for a Maven remote repository.
|
208
|
+
# @!attribute [rw] public_repository
|
209
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository::PublicRepository]
|
210
|
+
# One of the publicly available Maven repositories supported by Artifact
|
211
|
+
# Registry.
|
212
|
+
class MavenRepository
|
213
|
+
include ::Google::Protobuf::MessageExts
|
214
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
215
|
+
|
216
|
+
# Predefined list of publicly available Maven repositories like Maven
|
217
|
+
# Central.
|
218
|
+
module PublicRepository
|
219
|
+
# Unspecified repository.
|
220
|
+
PUBLIC_REPOSITORY_UNSPECIFIED = 0
|
221
|
+
|
222
|
+
# Maven Central.
|
223
|
+
MAVEN_CENTRAL = 1
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
# Configuration for a Npm remote repository.
|
228
|
+
# @!attribute [rw] public_repository
|
229
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository::PublicRepository]
|
230
|
+
# One of the publicly available Npm repositories supported by Artifact
|
231
|
+
# Registry.
|
232
|
+
class NpmRepository
|
233
|
+
include ::Google::Protobuf::MessageExts
|
234
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
235
|
+
|
236
|
+
# Predefined list of publicly available NPM repositories like npmjs.
|
237
|
+
module PublicRepository
|
238
|
+
# Unspecified repository.
|
239
|
+
PUBLIC_REPOSITORY_UNSPECIFIED = 0
|
240
|
+
|
241
|
+
# npmjs.
|
242
|
+
NPMJS = 1
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
# Configuration for a Python remote repository.
|
247
|
+
# @!attribute [rw] public_repository
|
248
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository::PublicRepository]
|
249
|
+
# One of the publicly available Python repositories supported by Artifact
|
250
|
+
# Registry.
|
251
|
+
class PythonRepository
|
252
|
+
include ::Google::Protobuf::MessageExts
|
253
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
254
|
+
|
255
|
+
# Predefined list of publicly available Python repositories like PyPI.org.
|
256
|
+
module PublicRepository
|
257
|
+
# Unspecified repository.
|
258
|
+
PUBLIC_REPOSITORY_UNSPECIFIED = 0
|
259
|
+
|
260
|
+
# PyPI.
|
261
|
+
PYPI = 1
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
# Configuration for an Apt remote repository.
|
266
|
+
# @!attribute [rw] public_repository
|
267
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository::PublicRepository]
|
268
|
+
# One of the publicly available Apt repositories supported by Artifact
|
269
|
+
# Registry.
|
270
|
+
class AptRepository
|
271
|
+
include ::Google::Protobuf::MessageExts
|
272
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
273
|
+
|
274
|
+
# Publicly available Apt repositories constructed from a common repository
|
275
|
+
# base and a custom repository path.
|
276
|
+
# @!attribute [rw] repository_base
|
277
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository::PublicRepository::RepositoryBase]
|
278
|
+
# A common public repository base for Apt.
|
279
|
+
# @!attribute [rw] repository_path
|
280
|
+
# @return [::String]
|
281
|
+
# A custom field to define a path to a specific repository from the base.
|
282
|
+
class PublicRepository
|
283
|
+
include ::Google::Protobuf::MessageExts
|
284
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
285
|
+
|
286
|
+
# Predefined list of publicly available repository bases for Apt.
|
287
|
+
module RepositoryBase
|
288
|
+
# Unspecified repository base.
|
289
|
+
REPOSITORY_BASE_UNSPECIFIED = 0
|
290
|
+
|
291
|
+
# Debian.
|
292
|
+
DEBIAN = 1
|
293
|
+
|
294
|
+
# Ubuntu LTS/Pro.
|
295
|
+
UBUNTU = 2
|
296
|
+
end
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
# Configuration for a Yum remote repository.
|
301
|
+
# @!attribute [rw] public_repository
|
302
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository::PublicRepository]
|
303
|
+
# One of the publicly available Yum repositories supported by Artifact
|
304
|
+
# Registry.
|
305
|
+
class YumRepository
|
306
|
+
include ::Google::Protobuf::MessageExts
|
307
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
308
|
+
|
309
|
+
# Publicly available Yum repositories constructed from a common repository
|
310
|
+
# base and a custom repository path.
|
311
|
+
# @!attribute [rw] repository_base
|
312
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository::PublicRepository::RepositoryBase]
|
313
|
+
# A common public repository base for Yum.
|
314
|
+
# @!attribute [rw] repository_path
|
315
|
+
# @return [::String]
|
316
|
+
# A custom field to define a path to a specific repository from the base.
|
317
|
+
class PublicRepository
|
318
|
+
include ::Google::Protobuf::MessageExts
|
319
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
320
|
+
|
321
|
+
# Predefined list of publicly available repository bases for Yum.
|
322
|
+
module RepositoryBase
|
323
|
+
# Unspecified repository base.
|
324
|
+
REPOSITORY_BASE_UNSPECIFIED = 0
|
325
|
+
|
326
|
+
# CentOS.
|
327
|
+
CENTOS = 1
|
328
|
+
|
329
|
+
# CentOS Debug.
|
330
|
+
CENTOS_DEBUG = 2
|
331
|
+
|
332
|
+
# CentOS Vault.
|
333
|
+
CENTOS_VAULT = 3
|
334
|
+
|
335
|
+
# CentOS Stream.
|
336
|
+
CENTOS_STREAM = 4
|
337
|
+
|
338
|
+
# Rocky.
|
339
|
+
ROCKY = 5
|
340
|
+
|
341
|
+
# Fedora Extra Packages for Enterprise Linux (EPEL).
|
342
|
+
EPEL = 6
|
343
|
+
end
|
344
|
+
end
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
24
348
|
# A Repository for storing artifacts with a specific format.
|
25
349
|
# @!attribute [rw] maven_config
|
26
350
|
# @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig]
|
27
351
|
# Maven repository config contains repository level configuration
|
28
352
|
# for the repositories of maven type.
|
353
|
+
# @!attribute [rw] docker_config
|
354
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::Repository::DockerRepositoryConfig]
|
355
|
+
# Docker repository config contains repository level configuration
|
356
|
+
# for the repositories of docker type.
|
357
|
+
# @!attribute [rw] virtual_repository_config
|
358
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::VirtualRepositoryConfig]
|
359
|
+
# Configuration specific for a Virtual Repository.
|
360
|
+
# @!attribute [rw] remote_repository_config
|
361
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig]
|
362
|
+
# Configuration specific for a Remote Repository.
|
29
363
|
# @!attribute [rw] name
|
30
364
|
# @return [::String]
|
31
365
|
# The name of the repository, for example:
|
32
|
-
#
|
366
|
+
# `projects/p1/locations/us-central1/repositories/repo1`.
|
33
367
|
# @!attribute [rw] format
|
34
368
|
# @return [::Google::Cloud::ArtifactRegistry::V1::Repository::Format]
|
35
|
-
# The format of packages that are stored in the repository.
|
369
|
+
# Optional. The format of packages that are stored in the repository.
|
36
370
|
# @!attribute [rw] description
|
37
371
|
# @return [::String]
|
38
372
|
# The user-provided description of the repository.
|
@@ -43,18 +377,39 @@ module Google
|
|
43
377
|
# longer than 63 characters. Label keys must begin with a lowercase letter
|
44
378
|
# and may only contain lowercase letters, numeric characters, underscores,
|
45
379
|
# and dashes.
|
46
|
-
# @!attribute [
|
380
|
+
# @!attribute [r] create_time
|
47
381
|
# @return [::Google::Protobuf::Timestamp]
|
48
|
-
# The time when the repository was created.
|
49
|
-
# @!attribute [
|
382
|
+
# Output only. The time when the repository was created.
|
383
|
+
# @!attribute [r] update_time
|
50
384
|
# @return [::Google::Protobuf::Timestamp]
|
51
|
-
# The time when the repository was last updated.
|
385
|
+
# Output only. The time when the repository was last updated.
|
52
386
|
# @!attribute [rw] kms_key_name
|
53
387
|
# @return [::String]
|
54
388
|
# The Cloud KMS resource name of the customer managed encryption key that's
|
55
389
|
# used to encrypt the contents of the Repository. Has the form:
|
56
390
|
# `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
|
57
391
|
# This value may not be changed after the Repository has been created.
|
392
|
+
# @!attribute [rw] mode
|
393
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::Repository::Mode]
|
394
|
+
# Optional. The mode of the repository.
|
395
|
+
# @!attribute [rw] cleanup_policies
|
396
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy}]
|
397
|
+
# Optional. Cleanup policies for this repository. Cleanup policies indicate
|
398
|
+
# when certain package versions can be automatically deleted. Map keys are
|
399
|
+
# policy IDs supplied by users during policy creation. They must unique
|
400
|
+
# within a repository and be under 128 characters in length.
|
401
|
+
# @!attribute [r] size_bytes
|
402
|
+
# @return [::Integer]
|
403
|
+
# Output only. The size, in bytes, of all artifact storage in this
|
404
|
+
# repository. Repositories that are generally available or in public preview
|
405
|
+
# use this to calculate storage costs.
|
406
|
+
# @!attribute [r] satisfies_pzs
|
407
|
+
# @return [::Boolean]
|
408
|
+
# Output only. If set, the repository satisfies physical zone separation.
|
409
|
+
# @!attribute [rw] cleanup_policy_dry_run
|
410
|
+
# @return [::Boolean]
|
411
|
+
# Optional. If true, the cleanup pipeline is prevented from deleting versions
|
412
|
+
# in this repository.
|
58
413
|
class Repository
|
59
414
|
include ::Google::Protobuf::MessageExts
|
60
415
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -88,6 +443,19 @@ module Google
|
|
88
443
|
end
|
89
444
|
end
|
90
445
|
|
446
|
+
# DockerRepositoryConfig is docker related repository details.
|
447
|
+
# Provides additional configuration details for repositories of the docker
|
448
|
+
# format type.
|
449
|
+
# @!attribute [rw] immutable_tags
|
450
|
+
# @return [::Boolean]
|
451
|
+
# The repository which enabled this flag prevents all tags from being
|
452
|
+
# modified, moved or deleted. This does not prevent tags from being
|
453
|
+
# created.
|
454
|
+
class DockerRepositoryConfig
|
455
|
+
include ::Google::Protobuf::MessageExts
|
456
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
457
|
+
end
|
458
|
+
|
91
459
|
# @!attribute [rw] key
|
92
460
|
# @return [::String]
|
93
461
|
# @!attribute [rw] value
|
@@ -97,6 +465,15 @@ module Google
|
|
97
465
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
98
466
|
end
|
99
467
|
|
468
|
+
# @!attribute [rw] key
|
469
|
+
# @return [::String]
|
470
|
+
# @!attribute [rw] value
|
471
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
|
472
|
+
class CleanupPoliciesEntry
|
473
|
+
include ::Google::Protobuf::MessageExts
|
474
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
475
|
+
end
|
476
|
+
|
100
477
|
# A package format.
|
101
478
|
module Format
|
102
479
|
# Unspecified package format.
|
@@ -119,13 +496,36 @@ module Google
|
|
119
496
|
|
120
497
|
# Python package format.
|
121
498
|
PYTHON = 8
|
499
|
+
|
500
|
+
# Kubeflow Pipelines package format.
|
501
|
+
KFP = 9
|
502
|
+
|
503
|
+
# Go package format.
|
504
|
+
GO = 10
|
505
|
+
end
|
506
|
+
|
507
|
+
# The mode configures the repository to serve artifacts from different
|
508
|
+
# sources.
|
509
|
+
module Mode
|
510
|
+
# Unspecified mode.
|
511
|
+
MODE_UNSPECIFIED = 0
|
512
|
+
|
513
|
+
# A standard repository storing artifacts.
|
514
|
+
STANDARD_REPOSITORY = 1
|
515
|
+
|
516
|
+
# A virtual repository to serve artifacts from one or more sources.
|
517
|
+
VIRTUAL_REPOSITORY = 2
|
518
|
+
|
519
|
+
# A remote repository to serve artifacts from a remote source.
|
520
|
+
REMOTE_REPOSITORY = 3
|
122
521
|
end
|
123
522
|
end
|
124
523
|
|
125
524
|
# The request to list repositories.
|
126
525
|
# @!attribute [rw] parent
|
127
526
|
# @return [::String]
|
128
|
-
# Required. The name of the parent resource whose repositories will be
|
527
|
+
# Required. The name of the parent resource whose repositories will be
|
528
|
+
# listed.
|
129
529
|
# @!attribute [rw] page_size
|
130
530
|
# @return [::Integer]
|
131
531
|
# The maximum number of repositories to return. Maximum page size is 1,000.
|
@@ -162,13 +562,14 @@ module Google
|
|
162
562
|
# The request to create a new repository.
|
163
563
|
# @!attribute [rw] parent
|
164
564
|
# @return [::String]
|
165
|
-
# Required. The name of the parent resource where the repository will be
|
565
|
+
# Required. The name of the parent resource where the repository will be
|
566
|
+
# created.
|
166
567
|
# @!attribute [rw] repository_id
|
167
568
|
# @return [::String]
|
168
|
-
# The repository id to use for this repository.
|
569
|
+
# Required. The repository id to use for this repository.
|
169
570
|
# @!attribute [rw] repository
|
170
571
|
# @return [::Google::Cloud::ArtifactRegistry::V1::Repository]
|
171
|
-
# The repository to be created.
|
572
|
+
# Required. The repository to be created.
|
172
573
|
class CreateRepositoryRequest
|
173
574
|
include ::Google::Protobuf::MessageExts
|
174
575
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -44,7 +44,9 @@ module Google
|
|
44
44
|
# The request to list tags.
|
45
45
|
# @!attribute [rw] parent
|
46
46
|
# @return [::String]
|
47
|
-
# The name of the parent
|
47
|
+
# The name of the parent package whose tags will be listed.
|
48
|
+
# For example:
|
49
|
+
# `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`.
|
48
50
|
# @!attribute [rw] filter
|
49
51
|
# @return [::String]
|
50
52
|
# An expression for filtering the results of the request. Filter rules are
|
@@ -114,6 +114,22 @@ module Google
|
|
114
114
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
115
|
end
|
116
116
|
|
117
|
+
# The request to delete multiple versions across a repository.
|
118
|
+
# @!attribute [rw] parent
|
119
|
+
# @return [::String]
|
120
|
+
# The name of the repository holding all requested versions.
|
121
|
+
# @!attribute [rw] names
|
122
|
+
# @return [::Array<::String>]
|
123
|
+
# Required. The names of the versions to delete.
|
124
|
+
# A maximum of 10000 versions can be deleted in a batch.
|
125
|
+
# @!attribute [rw] validate_only
|
126
|
+
# @return [::Boolean]
|
127
|
+
# If true, the request is performed without deleting data, following AIP-163.
|
128
|
+
class BatchDeleteVersionsRequest
|
129
|
+
include ::Google::Protobuf::MessageExts
|
130
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
131
|
+
end
|
132
|
+
|
117
133
|
# The metadata of an LRO from deleting multiple versions.
|
118
134
|
# @!attribute [rw] failed_versions
|
119
135
|
# @return [::Array<::String>]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-artifact_registry-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -277,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: '0'
|
279
279
|
requirements: []
|
280
|
-
rubygems_version: 3.4.
|
280
|
+
rubygems_version: 3.4.19
|
281
281
|
signing_key:
|
282
282
|
specification_version: 4
|
283
283
|
summary: Store and manage build artifacts in a scalable and integrated service built
|