google-apis-artifactregistry_v1beta2 0.55.0 → 0.57.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: 110a083b6a92e8c12c0468dd8266ec8836babe895f1316c14de8b486d8722951
4
- data.tar.gz: 11ebe874eef4e8a026969dfaa199955e5b3e731563d8429827e701e78b29cde5
3
+ metadata.gz: aa8e024b212fcf318e13e38084a547a4697e49129e9be3f76a6980887c72bffd
4
+ data.tar.gz: c7b2795a97418ecc8b4f55eeae216e35dc6e3c14b4df9f5007bed29512dfee69
5
5
  SHA512:
6
- metadata.gz: 5ecbf81a10e11af349450afcdd5835b73a2440f5a8310b70260aa4883ef4cddeabe6307a4debc4aa1a30bdb6c3f3af7ef6d56568a53817ff3720e52628f1ee89
7
- data.tar.gz: 7d12790e61da1dc061282637fca01cd0e1bcfa8967b43e74abf0a35ce0e66a0be73abb1e3d9f013625e4a78896dbb201efe225879f53ae486ac64b0a0822661e
6
+ metadata.gz: 6310a9789694efe32f5872ee169a7eb657a839d74fa97ab6a3ff708f29ae43bbb12020d9c2de72d329e6f098b8c86369e419ebeb4d41aefbab1c4b549b4bef8e
7
+ data.tar.gz: b0c3bd85b80cad5fb3fc05565e00807ae8402dcb77f3be62936fd90d942d399fee1ce2db848e67c6a22953640ad1bb26a53216ecdd8f4df6dfb16842c6c0e76a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-artifactregistry_v1beta2
2
2
 
3
+ ### v0.57.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241010
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.56.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240717
11
+
3
12
  ### v0.55.0 (2024-06-02)
4
13
 
5
14
  * Regenerated from discovery document revision 20240528
@@ -1015,6 +1015,12 @@ module Google
1015
1015
  # @return [String]
1016
1016
  attr_accessor :name
1017
1017
 
1018
+ # The percentage of pull traffic to redirect from GCR to AR when using partial
1019
+ # redirection.
1020
+ # Corresponds to the JSON property `pullPercent`
1021
+ # @return [Fixnum]
1022
+ attr_accessor :pull_percent
1023
+
1018
1024
  def initialize(**args)
1019
1025
  update!(**args)
1020
1026
  end
@@ -1023,6 +1029,7 @@ module Google
1023
1029
  def update!(**args)
1024
1030
  @legacy_redirection_state = args[:legacy_redirection_state] if args.key?(:legacy_redirection_state)
1025
1031
  @name = args[:name] if args.key?(:name)
1032
+ @pull_percent = args[:pull_percent] if args.key?(:pull_percent)
1026
1033
  end
1027
1034
  end
1028
1035
 
@@ -1215,8 +1222,8 @@ module Google
1215
1222
  # @return [String]
1216
1223
  attr_accessor :name
1217
1224
 
1218
- # The name of the version the tag refers to, for example: "projects/p1/locations/
1219
- # us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811" If the
1225
+ # The name of the version the tag refers to, for example: `projects/p1/locations/
1226
+ # us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811` If the
1220
1227
  # package or version ID parts contain slashes, the slashes are escaped.
1221
1228
  # Corresponds to the JSON property `version`
1222
1229
  # @return [String]
@@ -1428,8 +1435,8 @@ module Google
1428
1435
  # @return [Hash<String,Object>]
1429
1436
  attr_accessor :metadata
1430
1437
 
1431
- # The name of the version, for example: "projects/p1/locations/us-central1/
1432
- # repositories/repo1/packages/pkg1/versions/art1". If the package or version ID
1438
+ # The name of the version, for example: `projects/p1/locations/us-central1/
1439
+ # repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID
1433
1440
  # parts contain slashes, the slashes are escaped.
1434
1441
  # Corresponds to the JSON property `name`
1435
1442
  # @return [String]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ArtifactregistryV1beta2
18
18
  # Version of the google-apis-artifactregistry_v1beta2 gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240528"
25
+ REVISION = "20241010"
26
26
  end
27
27
  end
28
28
  end
@@ -564,6 +564,7 @@ module Google
564
564
  class Representation < Google::Apis::Core::JsonRepresentation
565
565
  property :legacy_redirection_state, as: 'legacyRedirectionState'
566
566
  property :name, as: 'name'
567
+ property :pull_percent, as: 'pullPercent'
567
568
  end
568
569
  end
569
570
 
@@ -369,6 +369,8 @@ module Google
369
369
  # Lists repositories.
370
370
  # @param [String] parent
371
371
  # Required. The name of the parent resource whose repositories will be listed.
372
+ # @param [String] order_by
373
+ # Optional. The field to order the results by.
372
374
  # @param [Fixnum] page_size
373
375
  # The maximum number of repositories to return. Maximum page size is 1,000.
374
376
  # @param [String] page_token
@@ -390,11 +392,12 @@ module Google
390
392
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
391
393
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
392
394
  # @raise [Google::Apis::AuthorizationError] Authorization is required
393
- def list_project_location_repositories(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
395
+ def list_project_location_repositories(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
394
396
  command = make_simple_command(:get, 'v1beta2/{+parent}/repositories', options)
395
397
  command.response_representation = Google::Apis::ArtifactregistryV1beta2::ListRepositoriesResponse::Representation
396
398
  command.response_class = Google::Apis::ArtifactregistryV1beta2::ListRepositoriesResponse
397
399
  command.params['parent'] = parent unless parent.nil?
400
+ command.query['orderBy'] = order_by unless order_by.nil?
398
401
  command.query['pageSize'] = page_size unless page_size.nil?
399
402
  command.query['pageToken'] = page_token unless page_token.nil?
400
403
  command.query['fields'] = fields unless fields.nil?
@@ -667,11 +670,32 @@ module Google
667
670
  # projects/p1/locations/us-central1/repositories/repo1
668
671
  # @param [String] filter
669
672
  # An expression for filtering the results of the request. Filter rules are case
670
- # insensitive. The fields eligible for filtering are: * `name` * `owner` An
671
- # example of using a filter: * `name="projects/p1/locations/us-central1/
672
- # repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * `
673
- # owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/
674
- # versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.
673
+ # insensitive. The fields eligible for filtering are: * `name` * `owner` * `
674
+ # annotations` Examples of using a filter: To filter the results of your request
675
+ # to files with the name `my_file.txt` in project `my-project` in the `us-
676
+ # central` region, in repository `my-repo`, append the following filter
677
+ # expression to your request: * `name="projects/my-project/locations/us-central1/
678
+ # repositories/my-repo/files/my-file.txt"` You can also use wildcards to match
679
+ # any number of characters before or after the value: * `name="projects/my-
680
+ # project/locations/us-central1/repositories/my-repo/files/my-*"` * `name="
681
+ # projects/my-project/locations/us-central1/repositories/my-repo/files/*file.txt"
682
+ # ` * `name="projects/my-project/locations/us-central1/repositories/my-repo/
683
+ # files/*file*"` To filter the results of your request to files owned by the
684
+ # version `1.0` in package `pkg1`, append the following filter expression to
685
+ # your request: * `owner="projects/my-project/locations/us-central1/repositories/
686
+ # my-repo/packages/my-package/versions/1.0"` To filter the results of your
687
+ # request to files with the annotation key-value pair [`external_link`: `
688
+ # external_link_value`], append the following filter expression to your request:
689
+ # * `"annotations.external_link:external_link_value"` To filter just for a
690
+ # specific annotation key `external_link`, append the following filter
691
+ # expression to your request: * `"annotations.external_link"` If the annotation
692
+ # key or value contains special characters, you can escape them by surrounding
693
+ # the value with backticks. For example, to filter the results of your request
694
+ # to files with the annotation key-value pair [`external.link`:`https://example.
695
+ # com/my-file`], append the following filter expression to your request: * `` "
696
+ # annotations.`external.link`:`https://example.com/my-file`" `` You can also
697
+ # filter with annotations with a wildcard to match any number of characters
698
+ # before or after the value: * `` "annotations.*_link:`*example.com*`" ``
675
699
  # @param [Fixnum] page_size
676
700
  # The maximum number of files to return. Maximum page size is 1,000.
677
701
  # @param [String] page_token
@@ -770,6 +794,8 @@ module Google
770
794
  # Lists packages.
771
795
  # @param [String] parent
772
796
  # Required. The name of the parent resource whose packages will be listed.
797
+ # @param [String] order_by
798
+ # Optional. The field to order the results by.
773
799
  # @param [Fixnum] page_size
774
800
  # The maximum number of packages to return. Maximum page size is 1,000.
775
801
  # @param [String] page_token
@@ -791,11 +817,12 @@ module Google
791
817
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
792
818
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
793
819
  # @raise [Google::Apis::AuthorizationError] Authorization is required
794
- def list_project_location_repository_packages(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
820
+ def list_project_location_repository_packages(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
795
821
  command = make_simple_command(:get, 'v1beta2/{+parent}/packages', options)
796
822
  command.response_representation = Google::Apis::ArtifactregistryV1beta2::ListPackagesResponse::Representation
797
823
  command.response_class = Google::Apis::ArtifactregistryV1beta2::ListPackagesResponse
798
824
  command.params['parent'] = parent unless parent.nil?
825
+ command.query['orderBy'] = order_by unless order_by.nil?
799
826
  command.query['pageSize'] = page_size unless page_size.nil?
800
827
  command.query['pageToken'] = page_token unless page_token.nil?
801
828
  command.query['fields'] = fields unless fields.nil?
@@ -945,15 +972,21 @@ module Google
945
972
  # projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`.
946
973
  # @param [String] filter
947
974
  # An expression for filtering the results of the request. Filter rules are case
948
- # insensitive. The fields eligible for filtering are: * `version` An example of
949
- # using a filter: * `version="projects/p1/locations/us-central1/repositories/
950
- # repo1/packages/pkg1/versions/1.0"` --> Tags that are applied to the version `1.
951
- # 0` in package `pkg1`. * `name="projects/p1/locations/us-central1/repositories/
952
- # repo1/packages/pkg1/tags/a%2Fb%2F*"` --> tags with an ID starting with "a/b/".
953
- # * `name="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/
954
- # tags/*%2Fb%2Fc"` --> tags with an ID ending with "/b/c". * `name="projects/p1/
955
- # locations/us-central1/repositories/repo1/packages/pkg1/tags/*%2Fb%2F*"` -->
956
- # tags with an ID containing "/b/".
975
+ # insensitive. The fields eligible for filtering are: * `name` * `version`
976
+ # Examples of using a filter: To filter the results of your request to tags with
977
+ # the name `my-tag` in package `my-package` in repository `my-repo` in project "`
978
+ # y-project` in the us-central region, append the following filter expression to
979
+ # your request: * `name="projects/my-project/locations/us-central1/repositories/
980
+ # my-repo/packages/my-package/tags/my-tag"` You can also use wildcards to match
981
+ # any number of characters before or after the value: * `name="projects/my-
982
+ # project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my*
983
+ # "` * `name="projects/my-project/locations/us-central1/repositories/my-repo/
984
+ # packages/my-package/tags/*tag"` * `name="projects/my-project/locations/us-
985
+ # central1/repositories/my-repo/packages/my-package/tags/*tag*"` To filter the
986
+ # results of your request to tags applied to the version `1.0` in package `my-
987
+ # package`, append the following filter expression to your request: * `version="
988
+ # projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
989
+ # package/versions/1.0"`
957
990
  # @param [Fixnum] page_size
958
991
  # The maximum number of tags to return. Maximum page size is 1,000.
959
992
  # @param [String] page_token
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-artifactregistry_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.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: 2024-06-02 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta2/v0.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta2/v0.57.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Artifact Registry API V1beta2