google-apis-artifactregistry_v1 0.64.0 → 0.66.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36121d54d9ba4882042dcc354f7a64d536d8f5d91332883f16f94f93684df4cf
4
- data.tar.gz: 2f8437c8d68a2c0b5914b4d65f875e70c29a85a30f3617e8be2750a023e27f14
3
+ metadata.gz: 57d69b269f6809569b36d5d1a2898d250f6da29172bc554ad2da30e271a01f76
4
+ data.tar.gz: e6f2592080b1eaa30ab748e5b01dff6a4e10126e746d49fca0df526b30d7efeb
5
5
  SHA512:
6
- metadata.gz: 71951649962b2edf5710894f050d8a0c14e2b2a65940354174c53302e051776e761ad3eb65fe6444a10b60ac6fec890ac58da926c3df6fc62b3667cfc14c5390
7
- data.tar.gz: 3e8d96ed83e14ffe0ab95db007c8f6a224a0562c368262e4b9f2c07c16fd55b7b1ee7ad07f61ba57a3701af88503b09b461e301fdeb16c8ca7f4de8154019270
6
+ metadata.gz: 4262e4e40eddc8005f3cf53a05ca5c752b3ad4e14dcc497ce57a04c47133822c200cebd26d9e98dc0c7b0643cead6ace066dc44a1249ef7965ee6370668685d5
7
+ data.tar.gz: d008a9a6745d0639e18a34d1e80b6c1b6788a3196c9084e5e857fe9a83908fae783b2399672dcda67cfcf096e3b17b916fdbfdd70cc828fc3b2d7fee07eb099d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.66.0 (2024-09-08)
4
+
5
+ * Regenerated from discovery document revision 20240903
6
+
7
+ ### v0.65.0 (2024-09-01)
8
+
9
+ * Regenerated from discovery document revision 20240826
10
+
3
11
  ### v0.64.0 (2024-08-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20240809
@@ -364,6 +364,25 @@ module Google
364
364
  end
365
365
  end
366
366
 
367
+ # Common remote repository settings type.
368
+ class CommonRemoteRepository
369
+ include Google::Apis::Core::Hashable
370
+
371
+ # Required. A common public repository base for Remote Repository.
372
+ # Corresponds to the JSON property `uri`
373
+ # @return [String]
374
+ attr_accessor :uri
375
+
376
+ def initialize(**args)
377
+ update!(**args)
378
+ end
379
+
380
+ # Update properties of this object
381
+ def update!(**args)
382
+ @uri = args[:uri] if args.key?(:uri)
383
+ end
384
+ end
385
+
367
386
  # DockerImage represents a docker artifact. The following fields are returned as
368
387
  # untyped metadata in the Version resource, using camelcase keys (i.e. metadata.
369
388
  # imageSizeBytes): * imageSizeBytes * mediaType * buildTime
@@ -2151,6 +2170,11 @@ module Google
2151
2170
  # @return [Google::Apis::ArtifactregistryV1::AptRepository]
2152
2171
  attr_accessor :apt_repository
2153
2172
 
2173
+ # Common remote repository settings type.
2174
+ # Corresponds to the JSON property `commonRepository`
2175
+ # @return [Google::Apis::ArtifactregistryV1::CommonRemoteRepository]
2176
+ attr_accessor :common_repository
2177
+
2154
2178
  # The description of the remote source.
2155
2179
  # Corresponds to the JSON property `description`
2156
2180
  # @return [String]
@@ -2200,6 +2224,7 @@ module Google
2200
2224
  # Update properties of this object
2201
2225
  def update!(**args)
2202
2226
  @apt_repository = args[:apt_repository] if args.key?(:apt_repository)
2227
+ @common_repository = args[:common_repository] if args.key?(:common_repository)
2203
2228
  @description = args[:description] if args.key?(:description)
2204
2229
  @disable_upstream_validation = args[:disable_upstream_validation] if args.key?(:disable_upstream_validation)
2205
2230
  @docker_repository = args[:docker_repository] if args.key?(:docker_repository)
@@ -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.64.0"
19
+ GEM_VERSION = "0.66.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240809"
25
+ REVISION = "20240903"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class CommonRemoteRepository
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class DockerImage
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -719,6 +725,13 @@ module Google
719
725
  end
720
726
  end
721
727
 
728
+ class CommonRemoteRepository
729
+ # @private
730
+ class Representation < Google::Apis::Core::JsonRepresentation
731
+ property :uri, as: 'uri'
732
+ end
733
+ end
734
+
722
735
  class DockerImage
723
736
  # @private
724
737
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1246,6 +1259,8 @@ module Google
1246
1259
  class Representation < Google::Apis::Core::JsonRepresentation
1247
1260
  property :apt_repository, as: 'aptRepository', class: Google::Apis::ArtifactregistryV1::AptRepository, decorator: Google::Apis::ArtifactregistryV1::AptRepository::Representation
1248
1261
 
1262
+ property :common_repository, as: 'commonRepository', class: Google::Apis::ArtifactregistryV1::CommonRemoteRepository, decorator: Google::Apis::ArtifactregistryV1::CommonRemoteRepository::Representation
1263
+
1249
1264
  property :description, as: 'description'
1250
1265
  property :disable_upstream_validation, as: 'disableUpstreamValidation'
1251
1266
  property :docker_repository, as: 'dockerRepository', class: Google::Apis::ArtifactregistryV1::DockerRepository, decorator: Google::Apis::ArtifactregistryV1::DockerRepository::Representation
@@ -437,6 +437,19 @@ module Google
437
437
  # Lists repositories.
438
438
  # @param [String] parent
439
439
  # Required. The name of the parent resource whose repositories will be listed.
440
+ # @param [String] filter
441
+ # Optional. An expression for filtering the results of the request. Filter rules
442
+ # are case insensitive. The fields eligible for filtering are: * `name` Examples
443
+ # of using a filter: To filter the results of your request to repositories with
444
+ # the name `my-repo` in project `my-project` in the `us-central` region, append
445
+ # the following filter expression to your request: * `name="projects/my-project/
446
+ # locations/us-central1/repositories/my-repo"` You can also use wildcards to
447
+ # match any number of characters before or after the value: * `name="projects/my-
448
+ # project/locations/us-central1/repositories/my-*"` * `name="projects/my-project/
449
+ # locations/us-central1/repositories/*repo"` * `name="projects/my-project/
450
+ # locations/us-central1/repositories/*repo*"`
451
+ # @param [String] order_by
452
+ # Optional. The field to order the results by.
440
453
  # @param [Fixnum] page_size
441
454
  # The maximum number of repositories to return. Maximum page size is 1,000.
442
455
  # @param [String] page_token
@@ -458,11 +471,13 @@ module Google
458
471
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
459
472
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
460
473
  # @raise [Google::Apis::AuthorizationError] Authorization is required
461
- def list_project_location_repositories(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
474
+ def list_project_location_repositories(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
462
475
  command = make_simple_command(:get, 'v1/{+parent}/repositories', options)
463
476
  command.response_representation = Google::Apis::ArtifactregistryV1::ListRepositoriesResponse::Representation
464
477
  command.response_class = Google::Apis::ArtifactregistryV1::ListRepositoriesResponse
465
478
  command.params['parent'] = parent unless parent.nil?
479
+ command.query['filter'] = filter unless filter.nil?
480
+ command.query['orderBy'] = order_by unless order_by.nil?
466
481
  command.query['pageSize'] = page_size unless page_size.nil?
467
482
  command.query['pageToken'] = page_token unless page_token.nil?
468
483
  command.query['fields'] = fields unless fields.nil?
@@ -838,30 +853,30 @@ module Google
838
853
  # An expression for filtering the results of the request. Filter rules are case
839
854
  # insensitive. The fields eligible for filtering are: * `name` * `owner` * `
840
855
  # annotations` Examples of using a filter: To filter the results of your request
841
- # to files with the name "my_file.txt" in project my-project in the us-central
842
- # region, in repository my-repo, append the following filter expression to your
843
- # request: * `name="projects/my-project/locations/us-central1/repositories/my-
844
- # repo/files/my-file.txt"` You can also use wildcards to match any number of
845
- # characters before or after the value: * `name="projects/my-project/locations/
846
- # us-central1/repositories/my-repo/files/my-*"` * `name="projects/my-project/
847
- # locations/us-central1/repositories/my-repo/files/*file.txt"` * `name="projects/
848
- # my-project/locations/us-central1/repositories/my-repo/files/*file*"` To filter
849
- # the results of your request to files owned by the version `1.0` in package `
850
- # pkg1`, append the following filter expression to your request: * `owner="
851
- # projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
852
- # package/versions/1.0"` To filter the results of your request to files with the
853
- # annotation key-value pair [`external_link`:`external_link_value`], append the
854
- # following filter expression to your request: * "annotations.external_link:
855
- # external_link_value" To filter just for a specific annotation key `
856
- # external_link`, append the following filter expression to your request: * "
857
- # annotations.external_link" If the annotation key or value contains special
858
- # characters, you can escape them by surrounding the value with backticks. For
859
- # example, to filter the results of your request to files with the annotation
860
- # key-value pair [`external.link`:`https://example.com/my-file`], append the
861
- # following filter expression to your request: * "annotations.`external.link`:`
862
- # https://example.com/my-file`" You can also filter with annotations with a
863
- # wildcard to match any number of characters before or after the value: * "
864
- # annotations.*_link:`*example.com*`"
856
+ # to files with the name `my_file.txt` in project `my-project` in the `us-
857
+ # central` region, in repository `my-repo`, append the following filter
858
+ # expression to your request: * `name="projects/my-project/locations/us-central1/
859
+ # repositories/my-repo/files/my-file.txt"` You can also use wildcards to match
860
+ # any number of characters before or after the value: * `name="projects/my-
861
+ # project/locations/us-central1/repositories/my-repo/files/my-*"` * `name="
862
+ # projects/my-project/locations/us-central1/repositories/my-repo/files/*file.txt"
863
+ # ` * `name="projects/my-project/locations/us-central1/repositories/my-repo/
864
+ # files/*file*"` To filter the results of your request to files owned by the
865
+ # version `1.0` in package `pkg1`, append the following filter expression to
866
+ # your request: * `owner="projects/my-project/locations/us-central1/repositories/
867
+ # my-repo/packages/my-package/versions/1.0"` To filter the results of your
868
+ # request to files with the annotation key-value pair [`external_link`: `
869
+ # external_link_value`], append the following filter expression to your request:
870
+ # * `"annotations.external_link:external_link_value"` To filter just for a
871
+ # specific annotation key `external_link`, append the following filter
872
+ # expression to your request: * `"annotations.external_link"` If the annotation
873
+ # key or value contains special characters, you can escape them by surrounding
874
+ # the value with backticks. For example, to filter the results of your request
875
+ # to files with the annotation key-value pair [`external.link`:`https://example.
876
+ # com/my-file`], append the following filter expression to your request: * `` "
877
+ # annotations.`external.link`:`https://example.com/my-file`" `` You can also
878
+ # filter with annotations with a wildcard to match any number of characters
879
+ # before or after the value: * `` "annotations.*_link:`*example.com*`" ``
865
880
  # @param [String] order_by
866
881
  # The field to order the results by.
867
882
  # @param [Fixnum] page_size
@@ -1315,6 +1330,33 @@ module Google
1315
1330
  # Lists packages.
1316
1331
  # @param [String] parent
1317
1332
  # Required. The name of the parent resource whose packages will be listed.
1333
+ # @param [String] filter
1334
+ # Optional. An expression for filtering the results of the request. Filter rules
1335
+ # are case insensitive. The fields eligible for filtering are: * `name` * `
1336
+ # annotations` Examples of using a filter: To filter the results of your request
1337
+ # to packages with the name `my-package` in project `my-project` in the `us-
1338
+ # central` region, in repository `my-repo`, append the following filter
1339
+ # expression to your request: * `name="projects/my-project/locations/us-central1/
1340
+ # repositories/my-repo/packages/my-package"` You can also use wildcards to match
1341
+ # any number of characters before or after the value: * `name="projects/my-
1342
+ # project/locations/us-central1/repositories/my-repo/packages/my-*"` * `name="
1343
+ # projects/my-project/locations/us-central1/repositories/my-repo/packages/*
1344
+ # package"` * `name="projects/my-project/locations/us-central1/repositories/my-
1345
+ # repo/packages/*pack*"` To filter the results of your request to packages with
1346
+ # the annotation key-value pair [`external_link`: `external_link_value`], append
1347
+ # the following filter expression to your request": * `"annotations.
1348
+ # external_link:external_link_value"` To filter the results just for a specific
1349
+ # annotation key `external_link`, append the following filter expression to your
1350
+ # request: * `"annotations.external_link"` If the annotation key or value
1351
+ # contains special characters, you can escape them by surrounding the value with
1352
+ # backticks. For example, to filter the results of your request to packages with
1353
+ # the annotation key-value pair [`external.link`:`https://example.com/my-package`
1354
+ # ], append the following filter expression to your request: * `` "annotations.`
1355
+ # external.link`:`https://example.com/my-package`" `` You can also filter with
1356
+ # annotations with a wildcard to match any number of characters before or after
1357
+ # the value: * `` "annotations.*_link:`*example.com*`" ``
1358
+ # @param [String] order_by
1359
+ # Optional. The field to order the results by.
1318
1360
  # @param [Fixnum] page_size
1319
1361
  # The maximum number of packages to return. Maximum page size is 1,000.
1320
1362
  # @param [String] page_token
@@ -1336,11 +1378,13 @@ module Google
1336
1378
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1337
1379
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1338
1380
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1339
- def list_project_location_repository_packages(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1381
+ def list_project_location_repository_packages(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1340
1382
  command = make_simple_command(:get, 'v1/{+parent}/packages', options)
1341
1383
  command.response_representation = Google::Apis::ArtifactregistryV1::ListPackagesResponse::Representation
1342
1384
  command.response_class = Google::Apis::ArtifactregistryV1::ListPackagesResponse
1343
1385
  command.params['parent'] = parent unless parent.nil?
1386
+ command.query['filter'] = filter unless filter.nil?
1387
+ command.query['orderBy'] = order_by unless order_by.nil?
1344
1388
  command.query['pageSize'] = page_size unless page_size.nil?
1345
1389
  command.query['pageToken'] = page_token unless page_token.nil?
1346
1390
  command.query['fields'] = fields unless fields.nil?
@@ -1492,19 +1536,19 @@ module Google
1492
1536
  # An expression for filtering the results of the request. Filter rules are case
1493
1537
  # insensitive. The fields eligible for filtering are: * `name` * `version`
1494
1538
  # Examples of using a filter: To filter the results of your request to tags with
1495
- # the name "my-tag" in package "my-package" in repository "my-repo" in project "
1496
- # my-project" in the us-central region, append the following filter expression
1497
- # to your request: * `name="projects/my-project/locations/us-central1/
1498
- # repositories/my-repo/packages/my-package/tags/my-tag"` You can also use
1499
- # wildcards to match any number of characters before or after the value: * `name=
1500
- # "projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
1501
- # package/tags/my*"` * `name="projects/my-project/locations/us-central1/
1502
- # repositories/my-repo/packages/my-package/tags/*tag"` * `name="projects/my-
1503
- # project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*
1504
- # tag*"` To filter the results of your request to tags applied to the version `1.
1505
- # 0` in package `my-package`, append the following filter expression to your
1506
- # request: * `version="projects/my-project/locations/us-central1/repositories/my-
1507
- # repo/packages/my-package/versions/1.0"`
1539
+ # the name `my-tag` in package `my-package` in repository `my-repo` in project "`
1540
+ # y-project` in the us-central region, append the following filter expression to
1541
+ # your request: * `name="projects/my-project/locations/us-central1/repositories/
1542
+ # my-repo/packages/my-package/tags/my-tag"` You can also use wildcards to match
1543
+ # any number of characters before or after the value: * `name="projects/my-
1544
+ # project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my*
1545
+ # "` * `name="projects/my-project/locations/us-central1/repositories/my-repo/
1546
+ # packages/my-package/tags/*tag"` * `name="projects/my-project/locations/us-
1547
+ # central1/repositories/my-repo/packages/my-package/tags/*tag*"` To filter the
1548
+ # results of your request to tags applied to the version `1.0` in package `my-
1549
+ # package`, append the following filter expression to your request: * `version="
1550
+ # projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
1551
+ # package/versions/1.0"`
1508
1552
  # @param [Fixnum] page_size
1509
1553
  # The maximum number of tags to return. Maximum page size is 1,000.
1510
1554
  # @param [String] page_token
@@ -1685,6 +1729,32 @@ module Google
1685
1729
  # Lists versions.
1686
1730
  # @param [String] parent
1687
1731
  # The name of the parent resource whose versions will be listed.
1732
+ # @param [String] filter
1733
+ # Optional. An expression for filtering the results of the request. Filter rules
1734
+ # are case insensitive. The fields eligible for filtering are: * `name` * `
1735
+ # annotations` Examples of using a filter: To filter the results of your request
1736
+ # to versions with the name `my-version` in project `my-project` in the `us-
1737
+ # central` region, in repository `my-repo`, append the following filter
1738
+ # expression to your request: * `name="projects/my-project/locations/us-central1/
1739
+ # repositories/my-repo/packages/my-package/versions/my-version"` You can also
1740
+ # use wildcards to match any number of characters before or after the value: * `
1741
+ # name="projects/my-project/locations/us-central1/repositories/my-repo/packages/
1742
+ # my-package/versions/*version"` * `name="projects/my-project/locations/us-
1743
+ # central1/repositories/my-repo/packages/my-package/versions/my*"` * `name="
1744
+ # projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
1745
+ # package/versions/*version*"` To filter the results of your request to versions
1746
+ # with the annotation key-value pair [`external_link`: `external_link_value`],
1747
+ # append the following filter expression to your request: * `"annotations.
1748
+ # external_link:external_link_value"` To filter just for a specific annotation
1749
+ # key `external_link`, append the following filter expression to your request: *
1750
+ # `"annotations.external_link"` If the annotation key or value contains special
1751
+ # characters, you can escape them by surrounding the value with backticks. For
1752
+ # example, to filter the results of your request to versions with the annotation
1753
+ # key-value pair [`external.link`:`https://example.com/my-version`], append the
1754
+ # following filter expression to your request: * `` "annotations.`external.link`:
1755
+ # `https://example.com/my-version`" `` You can also filter with annotations with
1756
+ # a wildcard to match any number of characters before or after the value: * `` "
1757
+ # annotations.*_link:`*example.com*`" ``
1688
1758
  # @param [String] order_by
1689
1759
  # Optional. The field to order the results by.
1690
1760
  # @param [Fixnum] page_size
@@ -1710,11 +1780,12 @@ module Google
1710
1780
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1711
1781
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1712
1782
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1713
- def list_project_location_repository_package_versions(parent, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1783
+ def list_project_location_repository_package_versions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1714
1784
  command = make_simple_command(:get, 'v1/{+parent}/versions', options)
1715
1785
  command.response_representation = Google::Apis::ArtifactregistryV1::ListVersionsResponse::Representation
1716
1786
  command.response_class = Google::Apis::ArtifactregistryV1::ListVersionsResponse
1717
1787
  command.params['parent'] = parent unless parent.nil?
1788
+ command.query['filter'] = filter unless filter.nil?
1718
1789
  command.query['orderBy'] = order_by unless order_by.nil?
1719
1790
  command.query['pageSize'] = page_size unless page_size.nil?
1720
1791
  command.query['pageToken'] = page_token unless page_token.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-artifactregistry_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.64.0
4
+ version: 0.66.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-08-25 00:00:00.000000000 Z
11
+ date: 2024-09-15 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.64.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.66.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
63
63
  post_install_message:
64
64
  rdoc_options: []