google-apis-artifactregistry_v1 0.78.0 → 0.80.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: ee864b184af9a58c67d10e48194736c9f03f32e90875833478a63e52a87f8244
4
- data.tar.gz: 92f075f19ee6c400771c3204a74e7875ccf5ad8d5b9a4dc7332d256c1cd09246
3
+ metadata.gz: 3b2555a75399517210aaa47db45dc420f5db793602570153cdc233ab3aa48119
4
+ data.tar.gz: e16ad623a62a31dd4a0f4f31d24a2326d3a21afa2f8b51bb928694da1679397a
5
5
  SHA512:
6
- metadata.gz: 9070d09ced498676488c7ebe6c6271fdf3eff0b7f387396870d33ee9ca4c6eb939ceff90e20be30f4f7273ca16205eee44b4254575f96d1875c115b32ec2d4a0
7
- data.tar.gz: e750fb0dde7eeda3a05871e36fe20c9d6f91e260f6a896e4856364183c9a9e791751f4699f8804c1a2111fad33610fcaf36835efc78b5679e73a39a5c1604ee5
6
+ metadata.gz: c615c5e42608ead12818a394e6628b3905533b722c9cd8236f53e67a4bbfd65cd4368fb594c0e7d3b557e377f8ec7c429cbf720be6a2fd55e1f74e0b82863ff2
7
+ data.tar.gz: ab4e86a0df9917ef78a7f07b3f809b020cc1985e02e3b02c4ccba62480051272405c6c1cf047a5127a9d76e0d9dc4c5d5d529ae1fec14edf56459f4fbad41109
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.80.0 (2026-04-19)
4
+
5
+ * Regenerated from discovery document revision 20260320
6
+
7
+ ### v0.79.0 (2026-02-15)
8
+
9
+ * Regenerated from discovery document revision 20260206
10
+
3
11
  ### v0.78.0 (2026-01-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20260102
@@ -326,6 +326,19 @@ module Google
326
326
  end
327
327
  end
328
328
 
329
+ # The request message for Operations.CancelOperation.
330
+ class CancelOperationRequest
331
+ include Google::Apis::Core::Hashable
332
+
333
+ def initialize(**args)
334
+ update!(**args)
335
+ end
336
+
337
+ # Update properties of this object
338
+ def update!(**args)
339
+ end
340
+ end
341
+
329
342
  # Artifact policy configuration for repository cleanup policies.
330
343
  class CleanupPolicy
331
344
  include Google::Apis::Core::Hashable
@@ -2330,6 +2343,32 @@ module Google
2330
2343
  end
2331
2344
  end
2332
2345
 
2346
+ # The platform logs config for a project or a repository.
2347
+ class PlatformLogsConfig
2348
+ include Google::Apis::Core::Hashable
2349
+
2350
+ # Optional. The state of the platform logs: enabled or disabled.
2351
+ # Corresponds to the JSON property `loggingState`
2352
+ # @return [String]
2353
+ attr_accessor :logging_state
2354
+
2355
+ # Optional. The severity level for the logs. Logs will be generated if their
2356
+ # severity level is >= than the value of the severity level mentioned here.
2357
+ # Corresponds to the JSON property `severityLevel`
2358
+ # @return [String]
2359
+ attr_accessor :severity_level
2360
+
2361
+ def initialize(**args)
2362
+ update!(**args)
2363
+ end
2364
+
2365
+ # Update properties of this object
2366
+ def update!(**args)
2367
+ @logging_state = args[:logging_state] if args.key?(:logging_state)
2368
+ @severity_level = args[:severity_level] if args.key?(:severity_level)
2369
+ end
2370
+ end
2371
+
2333
2372
  # An Identity and Access Management (IAM) policy, which specifies access
2334
2373
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2335
2374
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -2419,6 +2458,32 @@ module Google
2419
2458
  end
2420
2459
  end
2421
2460
 
2461
+ # The Artifact Registry logging configurations that apply to a Project.
2462
+ class ProjectConfig
2463
+ include Google::Apis::Core::Hashable
2464
+
2465
+ # Identifier. The name of the project's configuration. Always of the form:
2466
+ # projects/`project`/locations/`location`/projectConfig
2467
+ # Corresponds to the JSON property `name`
2468
+ # @return [String]
2469
+ attr_accessor :name
2470
+
2471
+ # The platform logs config for a project or a repository.
2472
+ # Corresponds to the JSON property `platformLogsConfig`
2473
+ # @return [Google::Apis::ArtifactregistryV1::PlatformLogsConfig]
2474
+ attr_accessor :platform_logs_config
2475
+
2476
+ def initialize(**args)
2477
+ update!(**args)
2478
+ end
2479
+
2480
+ # Update properties of this object
2481
+ def update!(**args)
2482
+ @name = args[:name] if args.key?(:name)
2483
+ @platform_logs_config = args[:platform_logs_config] if args.key?(:platform_logs_config)
2484
+ end
2485
+ end
2486
+
2422
2487
  # The Artifact Registry settings that apply to a Project.
2423
2488
  class ProjectSettings
2424
2489
  include Google::Apis::Core::Hashable
@@ -2689,6 +2754,11 @@ module Google
2689
2754
  # @return [String]
2690
2755
  attr_accessor :name
2691
2756
 
2757
+ # The platform logs config for a project or a repository.
2758
+ # Corresponds to the JSON property `platformLogsConfig`
2759
+ # @return [Google::Apis::ArtifactregistryV1::PlatformLogsConfig]
2760
+ attr_accessor :platform_logs_config
2761
+
2692
2762
  # Output only. The repository endpoint, for example: `us-docker.pkg.dev/my-proj/
2693
2763
  # my-repo`.
2694
2764
  # Corresponds to the JSON property `registryUri`
@@ -2753,6 +2823,7 @@ module Google
2753
2823
  @maven_config = args[:maven_config] if args.key?(:maven_config)
2754
2824
  @mode = args[:mode] if args.key?(:mode)
2755
2825
  @name = args[:name] if args.key?(:name)
2826
+ @platform_logs_config = args[:platform_logs_config] if args.key?(:platform_logs_config)
2756
2827
  @registry_uri = args[:registry_uri] if args.key?(:registry_uri)
2757
2828
  @remote_repository_config = args[:remote_repository_config] if args.key?(:remote_repository_config)
2758
2829
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
@@ -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.78.0"
19
+ GEM_VERSION = "0.80.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260102"
25
+ REVISION = "20260320"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class CancelOperationRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class CleanupPolicy
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -454,12 +460,24 @@ module Google
454
460
  include Google::Apis::Core::JsonObjectSupport
455
461
  end
456
462
 
463
+ class PlatformLogsConfig
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
457
469
  class Policy
458
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
471
 
460
472
  include Google::Apis::Core::JsonObjectSupport
461
473
  end
462
474
 
475
+ class ProjectConfig
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
463
481
  class ProjectSettings
464
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
483
 
@@ -774,6 +792,12 @@ module Google
774
792
  end
775
793
  end
776
794
 
795
+ class CancelOperationRequest
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ end
799
+ end
800
+
777
801
  class CleanupPolicy
778
802
  # @private
779
803
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1371,6 +1395,14 @@ module Google
1371
1395
  end
1372
1396
  end
1373
1397
 
1398
+ class PlatformLogsConfig
1399
+ # @private
1400
+ class Representation < Google::Apis::Core::JsonRepresentation
1401
+ property :logging_state, as: 'loggingState'
1402
+ property :severity_level, as: 'severityLevel'
1403
+ end
1404
+ end
1405
+
1374
1406
  class Policy
1375
1407
  # @private
1376
1408
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1381,6 +1413,15 @@ module Google
1381
1413
  end
1382
1414
  end
1383
1415
 
1416
+ class ProjectConfig
1417
+ # @private
1418
+ class Representation < Google::Apis::Core::JsonRepresentation
1419
+ property :name, as: 'name'
1420
+ property :platform_logs_config, as: 'platformLogsConfig', class: Google::Apis::ArtifactregistryV1::PlatformLogsConfig, decorator: Google::Apis::ArtifactregistryV1::PlatformLogsConfig::Representation
1421
+
1422
+ end
1423
+ end
1424
+
1384
1425
  class ProjectSettings
1385
1426
  # @private
1386
1427
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1453,6 +1494,8 @@ module Google
1453
1494
 
1454
1495
  property :mode, as: 'mode'
1455
1496
  property :name, as: 'name'
1497
+ property :platform_logs_config, as: 'platformLogsConfig', class: Google::Apis::ArtifactregistryV1::PlatformLogsConfig, decorator: Google::Apis::ArtifactregistryV1::PlatformLogsConfig::Representation
1498
+
1456
1499
  property :registry_uri, as: 'registryUri'
1457
1500
  property :remote_repository_config, as: 'remoteRepositoryConfig', class: Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig::Representation
1458
1501
 
@@ -149,6 +149,37 @@ module Google
149
149
  execute_or_queue_command(command, &block)
150
150
  end
151
151
 
152
+ # Retrieves the project configuration.
153
+ # @param [String] name
154
+ # Required. The name of the project's logging configuration: projects/`project`/
155
+ # locations/`location`/projectConfig
156
+ # @param [String] fields
157
+ # Selector specifying which fields to include in a partial response.
158
+ # @param [String] quota_user
159
+ # Available to use for quota purposes for server-side applications. Can be any
160
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
161
+ # @param [Google::Apis::RequestOptions] options
162
+ # Request-specific options
163
+ #
164
+ # @yield [result, err] Result & error if block supplied
165
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::ProjectConfig] parsed result object
166
+ # @yieldparam err [StandardError] error object if request failed
167
+ #
168
+ # @return [Google::Apis::ArtifactregistryV1::ProjectConfig]
169
+ #
170
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
171
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
172
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
173
+ def get_project_location_project_config(name, fields: nil, quota_user: nil, options: nil, &block)
174
+ command = make_simple_command(:get, 'v1/{+name}', options)
175
+ command.response_representation = Google::Apis::ArtifactregistryV1::ProjectConfig::Representation
176
+ command.response_class = Google::Apis::ArtifactregistryV1::ProjectConfig
177
+ command.params['name'] = name unless name.nil?
178
+ command.query['fields'] = fields unless fields.nil?
179
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
180
+ execute_or_queue_command(command, &block)
181
+ end
182
+
152
183
  # Retrieves the VPCSC Config for the Project.
153
184
  # @param [String] name
154
185
  # Required. The name of the VPCSCConfig resource.
@@ -179,7 +210,16 @@ module Google
179
210
  execute_or_queue_command(command, &block)
180
211
  end
181
212
 
182
- # Lists information about the supported locations for this service.
213
+ # Lists information about the supported locations for this service. This method
214
+ # lists locations based on the resource scope provided in the [
215
+ # ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
216
+ # the method lists the public locations available to all projects. * **Project-
217
+ # specific locations**: If `name` follows the format `projects/`project``, the
218
+ # method lists locations visible to that specific project. This includes public,
219
+ # private, or other project-specific locations enabled for the project. For gRPC
220
+ # and client library implementations, the resource name is passed as the `name`
221
+ # field. For direct service calls, the resource name is incorporated into the
222
+ # request path based on the specific service implementation and version.
183
223
  # @param [String] name
184
224
  # The resource that owns the locations collection, if applicable.
185
225
  # @param [Array<String>, String] extra_location_types
@@ -226,6 +266,44 @@ module Google
226
266
  execute_or_queue_command(command, &block)
227
267
  end
228
268
 
269
+ # Updates the project configuration.
270
+ # @param [String] name
271
+ # Identifier. The name of the project's configuration. Always of the form:
272
+ # projects/`project`/locations/`location`/projectConfig
273
+ # @param [Google::Apis::ArtifactregistryV1::ProjectConfig] project_config_object
274
+ # @param [String] update_mask
275
+ # Optional. Field mask to support partial updates. See https://protobuf.dev/
276
+ # reference/protobuf/google.protobuf/#field-mask for more details.
277
+ # @param [String] fields
278
+ # Selector specifying which fields to include in a partial response.
279
+ # @param [String] quota_user
280
+ # Available to use for quota purposes for server-side applications. Can be any
281
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
282
+ # @param [Google::Apis::RequestOptions] options
283
+ # Request-specific options
284
+ #
285
+ # @yield [result, err] Result & error if block supplied
286
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::ProjectConfig] parsed result object
287
+ # @yieldparam err [StandardError] error object if request failed
288
+ #
289
+ # @return [Google::Apis::ArtifactregistryV1::ProjectConfig]
290
+ #
291
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
292
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
293
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
294
+ def update_project_location_project_config(name, project_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
295
+ command = make_simple_command(:patch, 'v1/{+name}', options)
296
+ command.request_representation = Google::Apis::ArtifactregistryV1::ProjectConfig::Representation
297
+ command.request_object = project_config_object
298
+ command.response_representation = Google::Apis::ArtifactregistryV1::ProjectConfig::Representation
299
+ command.response_class = Google::Apis::ArtifactregistryV1::ProjectConfig
300
+ command.params['name'] = name unless name.nil?
301
+ command.query['updateMask'] = update_mask unless update_mask.nil?
302
+ command.query['fields'] = fields unless fields.nil?
303
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
304
+ execute_or_queue_command(command, &block)
305
+ end
306
+
229
307
  # Updates the VPCSC Config for the Project.
230
308
  # @param [String] name
231
309
  # The name of the project's VPC SC Config. Always of the form: projects/`
@@ -264,6 +342,46 @@ module Google
264
342
  execute_or_queue_command(command, &block)
265
343
  end
266
344
 
345
+ # Starts asynchronous cancellation on a long-running operation. The server makes
346
+ # a best effort to cancel the operation, but success is not guaranteed. If the
347
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
348
+ # Clients can use Operations.GetOperation or other methods to check whether the
349
+ # cancellation succeeded or whether the operation completed despite cancellation.
350
+ # On successful cancellation, the operation is not deleted; instead, it becomes
351
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
352
+ # , corresponding to `Code.CANCELLED`.
353
+ # @param [String] name
354
+ # The name of the operation resource to be cancelled.
355
+ # @param [Google::Apis::ArtifactregistryV1::CancelOperationRequest] cancel_operation_request_object
356
+ # @param [String] fields
357
+ # Selector specifying which fields to include in a partial response.
358
+ # @param [String] quota_user
359
+ # Available to use for quota purposes for server-side applications. Can be any
360
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
361
+ # @param [Google::Apis::RequestOptions] options
362
+ # Request-specific options
363
+ #
364
+ # @yield [result, err] Result & error if block supplied
365
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::Empty] parsed result object
366
+ # @yieldparam err [StandardError] error object if request failed
367
+ #
368
+ # @return [Google::Apis::ArtifactregistryV1::Empty]
369
+ #
370
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
371
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
372
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
373
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
374
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
375
+ command.request_representation = Google::Apis::ArtifactregistryV1::CancelOperationRequest::Representation
376
+ command.request_object = cancel_operation_request_object
377
+ command.response_representation = Google::Apis::ArtifactregistryV1::Empty::Representation
378
+ command.response_class = Google::Apis::ArtifactregistryV1::Empty
379
+ command.params['name'] = name unless name.nil?
380
+ command.query['fields'] = fields unless fields.nil?
381
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
382
+ execute_or_queue_command(command, &block)
383
+ end
384
+
267
385
  # Gets the latest state of a long-running operation. Clients can use this method
268
386
  # to poll the operation result at intervals as recommended by the API service.
269
387
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-artifactregistry_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.78.0
4
+ version: 0.80.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.78.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.80.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
62
62
  rdoc_options: []
63
63
  require_paths: