google-apis-artifactregistry_v1 0.80.0 → 0.81.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: 3b2555a75399517210aaa47db45dc420f5db793602570153cdc233ab3aa48119
4
- data.tar.gz: e16ad623a62a31dd4a0f4f31d24a2326d3a21afa2f8b51bb928694da1679397a
3
+ metadata.gz: 38258f03f2ead6d3340bb473c7cdd744456fa21ca3668edadaed3e996234dd78
4
+ data.tar.gz: 45619303537df1872ef5d0899e729f77da190376f06d6e36b5b8ad9adc0b3b8f
5
5
  SHA512:
6
- metadata.gz: c615c5e42608ead12818a394e6628b3905533b722c9cd8236f53e67a4bbfd65cd4368fb594c0e7d3b557e377f8ec7c429cbf720be6a2fd55e1f74e0b82863ff2
7
- data.tar.gz: ab4e86a0df9917ef78a7f07b3f809b020cc1985e02e3b02c4ccba62480051272405c6c1cf047a5127a9d76e0d9dc4c5d5d529ae1fec14edf56459f4fbad41109
6
+ metadata.gz: 5e824319d800fa98b5123a78181f43a6dd145fddee74ed5bad267b909f4e9cada99334bd81c191a129b55736cc74f8e0ea56782784651bb4bebb104da780f0b3
7
+ data.tar.gz: 4c7039ab69e24ca034c105617fd58b404146f41d2c73316b5660151e54eac66d2899fdc408014938aa11f737b3c7a4539405ecda26ce1a7e147f6b48f2b81774
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.81.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260603
6
+ * Regenerated using generator version 0.19.0
7
+
3
8
  ### v0.80.0 (2026-04-19)
4
9
 
5
10
  * Regenerated from discovery document revision 20260320
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/artifacts/docs/) may provid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -339,6 +339,60 @@ module Google
339
339
  end
340
340
  end
341
341
 
342
+ # The request for checking an artifact for streaming.
343
+ class CheckPrewarmedArtifactRequest
344
+ include Google::Apis::Core::Hashable
345
+
346
+ # Optional. The location of the prewarmed artifact. multi-region is not
347
+ # supported for this field.
348
+ # Corresponds to the JSON property `streamLocation`
349
+ # @return [String]
350
+ attr_accessor :stream_location
351
+
352
+ # Optional. The artifact tag Format:projects/`project`/locations/`location`/
353
+ # repositories/`repository`/packages/`package`/tags/`tag`
354
+ # Corresponds to the JSON property `tag`
355
+ # @return [String]
356
+ attr_accessor :tag
357
+
358
+ # Optional. The artifact version Format: projects/`project`/locations/`location`/
359
+ # repositories/`repository`/packages/`package`/versions/`version`
360
+ # Corresponds to the JSON property `version`
361
+ # @return [String]
362
+ attr_accessor :version
363
+
364
+ def initialize(**args)
365
+ update!(**args)
366
+ end
367
+
368
+ # Update properties of this object
369
+ def update!(**args)
370
+ @stream_location = args[:stream_location] if args.key?(:stream_location)
371
+ @tag = args[:tag] if args.key?(:tag)
372
+ @version = args[:version] if args.key?(:version)
373
+ end
374
+ end
375
+
376
+ # The response for checking an artifact for streaming.
377
+ class CheckPrewarmedArtifactResponse
378
+ include Google::Apis::Core::Hashable
379
+
380
+ # PrewarmedArtifact represents a streamed artifact. This is not a request
381
+ # message, so field_behavior annotations are not required.
382
+ # Corresponds to the JSON property `prewarmedArtifact`
383
+ # @return [Google::Apis::ArtifactregistryV1::PrewarmedArtifact]
384
+ attr_accessor :prewarmed_artifact
385
+
386
+ def initialize(**args)
387
+ update!(**args)
388
+ end
389
+
390
+ # Update properties of this object
391
+ def update!(**args)
392
+ @prewarmed_artifact = args[:prewarmed_artifact] if args.key?(:prewarmed_artifact)
393
+ end
394
+ end
395
+
342
396
  # Artifact policy configuration for repository cleanup policies.
343
397
  class CleanupPolicy
344
398
  include Google::Apis::Core::Hashable
@@ -1853,6 +1907,32 @@ module Google
1853
1907
  end
1854
1908
  end
1855
1909
 
1910
+ # The response for listing artifacts for streaming.
1911
+ class ListPrewarmedArtifactsResponse
1912
+ include Google::Apis::Core::Hashable
1913
+
1914
+ # The token to retrieve the next page of prewarmed artifacts, or empty if there
1915
+ # are no more streamings to return.
1916
+ # Corresponds to the JSON property `nextPageToken`
1917
+ # @return [String]
1918
+ attr_accessor :next_page_token
1919
+
1920
+ # The prewarmed artifacts.
1921
+ # Corresponds to the JSON property `prewarmedArtifacts`
1922
+ # @return [Array<Google::Apis::ArtifactregistryV1::PrewarmedArtifact>]
1923
+ attr_accessor :prewarmed_artifacts
1924
+
1925
+ def initialize(**args)
1926
+ update!(**args)
1927
+ end
1928
+
1929
+ # Update properties of this object
1930
+ def update!(**args)
1931
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1932
+ @prewarmed_artifacts = args[:prewarmed_artifacts] if args.key?(:prewarmed_artifacts)
1933
+ end
1934
+ end
1935
+
1856
1936
  # The response from listing python packages.
1857
1937
  class ListPythonPackagesResponse
1858
1938
  include Google::Apis::Core::Hashable
@@ -2458,6 +2538,142 @@ module Google
2458
2538
  end
2459
2539
  end
2460
2540
 
2541
+ # The request for prewarming an artifact for streaming.
2542
+ class PrewarmArtifactRequest
2543
+ include Google::Apis::Core::Hashable
2544
+
2545
+ # Optional. If true, old artifact will be evicted to make room for the new
2546
+ # artifact.
2547
+ # Corresponds to the JSON property `force`
2548
+ # @return [Boolean]
2549
+ attr_accessor :force
2550
+ alias_method :force?, :force
2551
+
2552
+ # The platform (architecture and OS) of the image. This is a sub-message.
2553
+ # Corresponds to the JSON property `platform`
2554
+ # @return [Google::Apis::ArtifactregistryV1::PrewarmPlatform]
2555
+ attr_accessor :platform
2556
+
2557
+ # Optional. The retention days of the prewarmed artifact. If not specified, the
2558
+ # artifact will be cached for 3 days.
2559
+ # Corresponds to the JSON property `retentionDays`
2560
+ # @return [Fixnum]
2561
+ attr_accessor :retention_days
2562
+
2563
+ # Optional. The location to cache the artifact in. If not specified, the
2564
+ # artifact will be cached in the same location as the artifact. multi-region is
2565
+ # not supported for this field.
2566
+ # Corresponds to the JSON property `streamLocation`
2567
+ # @return [String]
2568
+ attr_accessor :stream_location
2569
+
2570
+ # Optional. The artifact tag Format:projects/`project`/locations/`location`/
2571
+ # repositories/`repository`/packages/`package`/tags/`tag`
2572
+ # Corresponds to the JSON property `tag`
2573
+ # @return [String]
2574
+ attr_accessor :tag
2575
+
2576
+ # Optional. The artifact version Format: projects/`project`/locations/`location`/
2577
+ # repositories/`repository`/packages/`package`/versions/`version`
2578
+ # Corresponds to the JSON property `version`
2579
+ # @return [String]
2580
+ attr_accessor :version
2581
+
2582
+ def initialize(**args)
2583
+ update!(**args)
2584
+ end
2585
+
2586
+ # Update properties of this object
2587
+ def update!(**args)
2588
+ @force = args[:force] if args.key?(:force)
2589
+ @platform = args[:platform] if args.key?(:platform)
2590
+ @retention_days = args[:retention_days] if args.key?(:retention_days)
2591
+ @stream_location = args[:stream_location] if args.key?(:stream_location)
2592
+ @tag = args[:tag] if args.key?(:tag)
2593
+ @version = args[:version] if args.key?(:version)
2594
+ end
2595
+ end
2596
+
2597
+ # The response for prewarming an artifact for streaming.
2598
+ class PrewarmArtifactResponse
2599
+ include Google::Apis::Core::Hashable
2600
+
2601
+ # PrewarmedArtifact represents a streamed artifact. This is not a request
2602
+ # message, so field_behavior annotations are not required.
2603
+ # Corresponds to the JSON property `prewarmedArtifact`
2604
+ # @return [Google::Apis::ArtifactregistryV1::PrewarmedArtifact]
2605
+ attr_accessor :prewarmed_artifact
2606
+
2607
+ def initialize(**args)
2608
+ update!(**args)
2609
+ end
2610
+
2611
+ # Update properties of this object
2612
+ def update!(**args)
2613
+ @prewarmed_artifact = args[:prewarmed_artifact] if args.key?(:prewarmed_artifact)
2614
+ end
2615
+ end
2616
+
2617
+ # The platform (architecture and OS) of the image. This is a sub-message.
2618
+ class PrewarmPlatform
2619
+ include Google::Apis::Core::Hashable
2620
+
2621
+ # Optional. The architecture of the image or tag. For example, "arm64" or "amd64"
2622
+ # .
2623
+ # Corresponds to the JSON property `architecture`
2624
+ # @return [String]
2625
+ attr_accessor :architecture
2626
+
2627
+ # Optional. The OS of the image or tag. For example, "linux" or "windows".
2628
+ # Corresponds to the JSON property `os`
2629
+ # @return [String]
2630
+ attr_accessor :os
2631
+
2632
+ def initialize(**args)
2633
+ update!(**args)
2634
+ end
2635
+
2636
+ # Update properties of this object
2637
+ def update!(**args)
2638
+ @architecture = args[:architecture] if args.key?(:architecture)
2639
+ @os = args[:os] if args.key?(:os)
2640
+ end
2641
+ end
2642
+
2643
+ # PrewarmedArtifact represents a streamed artifact. This is not a request
2644
+ # message, so field_behavior annotations are not required.
2645
+ class PrewarmedArtifact
2646
+ include Google::Apis::Core::Hashable
2647
+
2648
+ # The expiration time of the prewarmed artifact.
2649
+ # Corresponds to the JSON property `expirationTime`
2650
+ # @return [String]
2651
+ attr_accessor :expiration_time
2652
+
2653
+ # The location of the prewarmed artifact.
2654
+ # Corresponds to the JSON property `location`
2655
+ # @return [String]
2656
+ attr_accessor :location
2657
+
2658
+ # URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-
2659
+ # repo/nginx@sha256:
2660
+ # e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
2661
+ # Corresponds to the JSON property `uri`
2662
+ # @return [String]
2663
+ attr_accessor :uri
2664
+
2665
+ def initialize(**args)
2666
+ update!(**args)
2667
+ end
2668
+
2669
+ # Update properties of this object
2670
+ def update!(**args)
2671
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
2672
+ @location = args[:location] if args.key?(:location)
2673
+ @uri = args[:uri] if args.key?(:uri)
2674
+ end
2675
+ end
2676
+
2461
2677
  # The Artifact Registry logging configurations that apply to a Project.
2462
2678
  class ProjectConfig
2463
2679
  include Google::Apis::Core::Hashable
@@ -2673,6 +2889,60 @@ module Google
2673
2889
  end
2674
2890
  end
2675
2891
 
2892
+ # The request for removing an artifact from streaming.
2893
+ class RemovePrewarmedArtifactRequest
2894
+ include Google::Apis::Core::Hashable
2895
+
2896
+ # Optional. The location of the prewarmed artifact. multi-region is not
2897
+ # supported for this field.
2898
+ # Corresponds to the JSON property `streamLocation`
2899
+ # @return [String]
2900
+ attr_accessor :stream_location
2901
+
2902
+ # Optional. The artifact tag Format:projects/`project`/locations/`location`/
2903
+ # repositories/`repository`/packages/`package`/tags/`tag`
2904
+ # Corresponds to the JSON property `tag`
2905
+ # @return [String]
2906
+ attr_accessor :tag
2907
+
2908
+ # Optional. The artifact version Format: projects/`project`/locations/`location`/
2909
+ # repositories/`repository`/packages/`package`/versions/`version`
2910
+ # Corresponds to the JSON property `version`
2911
+ # @return [String]
2912
+ attr_accessor :version
2913
+
2914
+ def initialize(**args)
2915
+ update!(**args)
2916
+ end
2917
+
2918
+ # Update properties of this object
2919
+ def update!(**args)
2920
+ @stream_location = args[:stream_location] if args.key?(:stream_location)
2921
+ @tag = args[:tag] if args.key?(:tag)
2922
+ @version = args[:version] if args.key?(:version)
2923
+ end
2924
+ end
2925
+
2926
+ # The response for removing an artifact from streaming.
2927
+ class RemovePrewarmedArtifactResponse
2928
+ include Google::Apis::Core::Hashable
2929
+
2930
+ # PrewarmedArtifact represents a streamed artifact. This is not a request
2931
+ # message, so field_behavior annotations are not required.
2932
+ # Corresponds to the JSON property `prewarmedArtifact`
2933
+ # @return [Google::Apis::ArtifactregistryV1::PrewarmedArtifact]
2934
+ attr_accessor :prewarmed_artifact
2935
+
2936
+ def initialize(**args)
2937
+ update!(**args)
2938
+ end
2939
+
2940
+ # Update properties of this object
2941
+ def update!(**args)
2942
+ @prewarmed_artifact = args[:prewarmed_artifact] if args.key?(:prewarmed_artifact)
2943
+ end
2944
+ end
2945
+
2676
2946
  # A Repository for storing artifacts with a specific format.
2677
2947
  class Repository
2678
2948
  include Google::Apis::Core::Hashable
@@ -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.80.0"
19
+ GEM_VERSION = "0.81.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260320"
25
+ REVISION = "20260603"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,18 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class CheckPrewarmedArtifactRequest
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CheckPrewarmedArtifactResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
67
79
  class CleanupPolicy
68
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
81
 
@@ -376,6 +388,12 @@ module Google
376
388
  include Google::Apis::Core::JsonObjectSupport
377
389
  end
378
390
 
391
+ class ListPrewarmedArtifactsResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
379
397
  class ListPythonPackagesResponse
380
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
399
 
@@ -472,6 +490,30 @@ module Google
472
490
  include Google::Apis::Core::JsonObjectSupport
473
491
  end
474
492
 
493
+ class PrewarmArtifactRequest
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class PrewarmArtifactResponse
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class PrewarmPlatform
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class PrewarmedArtifact
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
475
517
  class ProjectConfig
476
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
519
 
@@ -502,6 +544,18 @@ module Google
502
544
  include Google::Apis::Core::JsonObjectSupport
503
545
  end
504
546
 
547
+ class RemovePrewarmedArtifactRequest
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class RemovePrewarmedArtifactResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
505
559
  class Repository
506
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
561
 
@@ -798,6 +852,23 @@ module Google
798
852
  end
799
853
  end
800
854
 
855
+ class CheckPrewarmedArtifactRequest
856
+ # @private
857
+ class Representation < Google::Apis::Core::JsonRepresentation
858
+ property :stream_location, as: 'streamLocation'
859
+ property :tag, as: 'tag'
860
+ property :version, as: 'version'
861
+ end
862
+ end
863
+
864
+ class CheckPrewarmedArtifactResponse
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ property :prewarmed_artifact, as: 'prewarmedArtifact', class: Google::Apis::ArtifactregistryV1::PrewarmedArtifact, decorator: Google::Apis::ArtifactregistryV1::PrewarmedArtifact::Representation
868
+
869
+ end
870
+ end
871
+
801
872
  class CleanupPolicy
802
873
  # @private
803
874
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1259,6 +1330,15 @@ module Google
1259
1330
  end
1260
1331
  end
1261
1332
 
1333
+ class ListPrewarmedArtifactsResponse
1334
+ # @private
1335
+ class Representation < Google::Apis::Core::JsonRepresentation
1336
+ property :next_page_token, as: 'nextPageToken'
1337
+ collection :prewarmed_artifacts, as: 'prewarmedArtifacts', class: Google::Apis::ArtifactregistryV1::PrewarmedArtifact, decorator: Google::Apis::ArtifactregistryV1::PrewarmedArtifact::Representation
1338
+
1339
+ end
1340
+ end
1341
+
1262
1342
  class ListPythonPackagesResponse
1263
1343
  # @private
1264
1344
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1413,6 +1493,44 @@ module Google
1413
1493
  end
1414
1494
  end
1415
1495
 
1496
+ class PrewarmArtifactRequest
1497
+ # @private
1498
+ class Representation < Google::Apis::Core::JsonRepresentation
1499
+ property :force, as: 'force'
1500
+ property :platform, as: 'platform', class: Google::Apis::ArtifactregistryV1::PrewarmPlatform, decorator: Google::Apis::ArtifactregistryV1::PrewarmPlatform::Representation
1501
+
1502
+ property :retention_days, :numeric_string => true, as: 'retentionDays'
1503
+ property :stream_location, as: 'streamLocation'
1504
+ property :tag, as: 'tag'
1505
+ property :version, as: 'version'
1506
+ end
1507
+ end
1508
+
1509
+ class PrewarmArtifactResponse
1510
+ # @private
1511
+ class Representation < Google::Apis::Core::JsonRepresentation
1512
+ property :prewarmed_artifact, as: 'prewarmedArtifact', class: Google::Apis::ArtifactregistryV1::PrewarmedArtifact, decorator: Google::Apis::ArtifactregistryV1::PrewarmedArtifact::Representation
1513
+
1514
+ end
1515
+ end
1516
+
1517
+ class PrewarmPlatform
1518
+ # @private
1519
+ class Representation < Google::Apis::Core::JsonRepresentation
1520
+ property :architecture, as: 'architecture'
1521
+ property :os, as: 'os'
1522
+ end
1523
+ end
1524
+
1525
+ class PrewarmedArtifact
1526
+ # @private
1527
+ class Representation < Google::Apis::Core::JsonRepresentation
1528
+ property :expiration_time, as: 'expirationTime'
1529
+ property :location, as: 'location'
1530
+ property :uri, as: 'uri'
1531
+ end
1532
+ end
1533
+
1416
1534
  class ProjectConfig
1417
1535
  # @private
1418
1536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1476,6 +1594,23 @@ module Google
1476
1594
  end
1477
1595
  end
1478
1596
 
1597
+ class RemovePrewarmedArtifactRequest
1598
+ # @private
1599
+ class Representation < Google::Apis::Core::JsonRepresentation
1600
+ property :stream_location, as: 'streamLocation'
1601
+ property :tag, as: 'tag'
1602
+ property :version, as: 'version'
1603
+ end
1604
+ end
1605
+
1606
+ class RemovePrewarmedArtifactResponse
1607
+ # @private
1608
+ class Representation < Google::Apis::Core::JsonRepresentation
1609
+ property :prewarmed_artifact, as: 'prewarmedArtifact', class: Google::Apis::ArtifactregistryV1::PrewarmedArtifact, decorator: Google::Apis::ArtifactregistryV1::PrewarmedArtifact::Representation
1610
+
1611
+ end
1612
+ end
1613
+
1479
1614
  class Repository
1480
1615
  # @private
1481
1616
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -211,8 +211,8 @@ module Google
211
211
  end
212
212
 
213
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,
214
+ # lists locations based on the resource scope provided in the
215
+ # ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
216
216
  # the method lists the public locations available to all projects. * **Project-
217
217
  # specific locations**: If `name` follows the format `projects/`project``, the
218
218
  # method lists locations visible to that specific project. This includes public,
@@ -223,8 +223,8 @@ module Google
223
223
  # @param [String] name
224
224
  # The resource that owns the locations collection, if applicable.
225
225
  # @param [Array<String>, String] extra_location_types
226
- # Optional. Do not use this field. It is unsupported and is ignored unless
227
- # explicitly documented otherwise. This is primarily for internal usage.
226
+ # Optional. Do not use this field unless explicitly documented otherwise. This
227
+ # is primarily for internal usage.
228
228
  # @param [String] filter
229
229
  # A filter to narrow down results to a preferred subset. The filtering language
230
230
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -413,6 +413,41 @@ module Google
413
413
  execute_or_queue_command(command, &block)
414
414
  end
415
415
 
416
+ # Checks an artifact streaming.
417
+ # @param [String] repository
418
+ # Required. The name of the repository, for example: `projects/p1/locations/us-
419
+ # central1/repositories/repo1`. If the package or version ID parts contain
420
+ # slashes, the slashes are escaped.
421
+ # @param [Google::Apis::ArtifactregistryV1::CheckPrewarmedArtifactRequest] check_prewarmed_artifact_request_object
422
+ # @param [String] fields
423
+ # Selector specifying which fields to include in a partial response.
424
+ # @param [String] quota_user
425
+ # Available to use for quota purposes for server-side applications. Can be any
426
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
427
+ # @param [Google::Apis::RequestOptions] options
428
+ # Request-specific options
429
+ #
430
+ # @yield [result, err] Result & error if block supplied
431
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::CheckPrewarmedArtifactResponse] parsed result object
432
+ # @yieldparam err [StandardError] error object if request failed
433
+ #
434
+ # @return [Google::Apis::ArtifactregistryV1::CheckPrewarmedArtifactResponse]
435
+ #
436
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
437
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
438
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
439
+ def check_repository_prewarmed_artifact(repository, check_prewarmed_artifact_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
440
+ command = make_simple_command(:post, 'v1/{+repository}:checkPrewarmedArtifact', options)
441
+ command.request_representation = Google::Apis::ArtifactregistryV1::CheckPrewarmedArtifactRequest::Representation
442
+ command.request_object = check_prewarmed_artifact_request_object
443
+ command.response_representation = Google::Apis::ArtifactregistryV1::CheckPrewarmedArtifactResponse::Representation
444
+ command.response_class = Google::Apis::ArtifactregistryV1::CheckPrewarmedArtifactResponse
445
+ command.params['repository'] = repository unless repository.nil?
446
+ command.query['fields'] = fields unless fields.nil?
447
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
448
+ execute_or_queue_command(command, &block)
449
+ end
450
+
416
451
  # Creates a repository. The returned Operation will finish once the repository
417
452
  # has been created. Its response will be the created Repository.
418
453
  # @param [String] parent
@@ -681,6 +716,75 @@ module Google
681
716
  execute_or_queue_command(command, &block)
682
717
  end
683
718
 
719
+ # Prewarms an artifact for streaming.
720
+ # @param [String] repository
721
+ # Required. The repository name, for example: `projects/p1/locations/us-central1/
722
+ # repositories/repo1`. If the package or version ID parts contain slashes, the
723
+ # slashes are escaped.
724
+ # @param [Google::Apis::ArtifactregistryV1::PrewarmArtifactRequest] prewarm_artifact_request_object
725
+ # @param [String] fields
726
+ # Selector specifying which fields to include in a partial response.
727
+ # @param [String] quota_user
728
+ # Available to use for quota purposes for server-side applications. Can be any
729
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
730
+ # @param [Google::Apis::RequestOptions] options
731
+ # Request-specific options
732
+ #
733
+ # @yield [result, err] Result & error if block supplied
734
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::Operation] parsed result object
735
+ # @yieldparam err [StandardError] error object if request failed
736
+ #
737
+ # @return [Google::Apis::ArtifactregistryV1::Operation]
738
+ #
739
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
740
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
741
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
742
+ def prewarm_repository_artifact(repository, prewarm_artifact_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
743
+ command = make_simple_command(:post, 'v1/{+repository}:prewarmArtifact', options)
744
+ command.request_representation = Google::Apis::ArtifactregistryV1::PrewarmArtifactRequest::Representation
745
+ command.request_object = prewarm_artifact_request_object
746
+ command.response_representation = Google::Apis::ArtifactregistryV1::Operation::Representation
747
+ command.response_class = Google::Apis::ArtifactregistryV1::Operation
748
+ command.params['repository'] = repository unless repository.nil?
749
+ command.query['fields'] = fields unless fields.nil?
750
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
751
+ execute_or_queue_command(command, &block)
752
+ end
753
+
754
+ # Removes an artifact from streaming.
755
+ # @param [String] repository
756
+ # Required. The repository name, for example: `projects/p1/locations/us-central1/
757
+ # repositories/repo1`.
758
+ # @param [Google::Apis::ArtifactregistryV1::RemovePrewarmedArtifactRequest] remove_prewarmed_artifact_request_object
759
+ # @param [String] fields
760
+ # Selector specifying which fields to include in a partial response.
761
+ # @param [String] quota_user
762
+ # Available to use for quota purposes for server-side applications. Can be any
763
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
764
+ # @param [Google::Apis::RequestOptions] options
765
+ # Request-specific options
766
+ #
767
+ # @yield [result, err] Result & error if block supplied
768
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::RemovePrewarmedArtifactResponse] parsed result object
769
+ # @yieldparam err [StandardError] error object if request failed
770
+ #
771
+ # @return [Google::Apis::ArtifactregistryV1::RemovePrewarmedArtifactResponse]
772
+ #
773
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
774
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
775
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
776
+ def remove_repository_prewarmed_artifact(repository, remove_prewarmed_artifact_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
777
+ command = make_simple_command(:post, 'v1/{+repository}:removePrewarmedArtifact', options)
778
+ command.request_representation = Google::Apis::ArtifactregistryV1::RemovePrewarmedArtifactRequest::Representation
779
+ command.request_object = remove_prewarmed_artifact_request_object
780
+ command.response_representation = Google::Apis::ArtifactregistryV1::RemovePrewarmedArtifactResponse::Representation
781
+ command.response_class = Google::Apis::ArtifactregistryV1::RemovePrewarmedArtifactResponse
782
+ command.params['repository'] = repository unless repository.nil?
783
+ command.query['fields'] = fields unless fields.nil?
784
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
785
+ execute_or_queue_command(command, &block)
786
+ end
787
+
684
788
  # Updates the IAM policy for a given resource.
685
789
  # @param [String] resource
686
790
  # REQUIRED: The resource for which the policy is being specified. See [Resource
@@ -2215,6 +2319,49 @@ module Google
2215
2319
  execute_or_queue_command(command, &block)
2216
2320
  end
2217
2321
 
2322
+ # Lists all streamed artifacts in a repository.
2323
+ # @param [String] parent
2324
+ # Required. The repository of the artifact to list. Format: projects/`project`/
2325
+ # locations/`location`/repositories/`repository`
2326
+ # @param [String] filter
2327
+ # Optional. Filter should only support The location of the prewarmed artifacts.
2328
+ # multi-region is not supported for this field.
2329
+ # @param [Fixnum] page_size
2330
+ # Optional. The maximum number of prewarmed artifacts to return. Maximum page
2331
+ # size is 1,000. Default page size is 100.
2332
+ # @param [String] page_token
2333
+ # Optional. The next_page_token value returned from a previous list request, if
2334
+ # any.
2335
+ # @param [String] fields
2336
+ # Selector specifying which fields to include in a partial response.
2337
+ # @param [String] quota_user
2338
+ # Available to use for quota purposes for server-side applications. Can be any
2339
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2340
+ # @param [Google::Apis::RequestOptions] options
2341
+ # Request-specific options
2342
+ #
2343
+ # @yield [result, err] Result & error if block supplied
2344
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::ListPrewarmedArtifactsResponse] parsed result object
2345
+ # @yieldparam err [StandardError] error object if request failed
2346
+ #
2347
+ # @return [Google::Apis::ArtifactregistryV1::ListPrewarmedArtifactsResponse]
2348
+ #
2349
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2350
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2351
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2352
+ def list_project_location_repository_prewarmed_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2353
+ command = make_simple_command(:get, 'v1/{+parent}/prewarmedArtifacts', options)
2354
+ command.response_representation = Google::Apis::ArtifactregistryV1::ListPrewarmedArtifactsResponse::Representation
2355
+ command.response_class = Google::Apis::ArtifactregistryV1::ListPrewarmedArtifactsResponse
2356
+ command.params['parent'] = parent unless parent.nil?
2357
+ command.query['filter'] = filter unless filter.nil?
2358
+ command.query['pageSize'] = page_size unless page_size.nil?
2359
+ command.query['pageToken'] = page_token unless page_token.nil?
2360
+ command.query['fields'] = fields unless fields.nil?
2361
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2362
+ execute_or_queue_command(command, &block)
2363
+ end
2364
+
2218
2365
  # Gets a python package.
2219
2366
  # @param [String] name
2220
2367
  # Required. The name of the python package.
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.80.0
4
+ version: 0.81.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.80.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.81.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:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="