google-apis-artifactregistry_v1 0.58.0 → 0.59.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: 97d40e94274b0ae802c2dfa2670d07fe548b5bf2019bc072596949d57d5e4b33
4
- data.tar.gz: e95a910be35e5e3865506ea3aba97364e52664f2749a300bbbafa8b0acc1add8
3
+ metadata.gz: 4f48d7c8149416358662f110f00a32dd3ebbea6eed3b623d57242cc2645b7d0c
4
+ data.tar.gz: 58674cfe2823d24c84a0a37d8b825132fefe645b8770772ecb29cbfa9f4f2c9a
5
5
  SHA512:
6
- metadata.gz: c3b38c759c47b71ae652ec1c72f5da652ef662aae51290c18c27411eb22324bedcb1908c343e999675de43549e99f0aefadedcb4a69dcbdce6f195eecc276b07
7
- data.tar.gz: 215bc69a81d97da67365492e4260ff662a8ab97f1856df154cc7d2c247ef33e8bb15f1b3dc581ddb9feed17a88b0d50fbedde927844648db1a15579c934887db
6
+ metadata.gz: e4d87677af8f20060f423338fe64797b52fa894cb714db47e602fdf3108948fed22c98ff498eb6ba13e6950a7375c82033883c7e6c87f18ac611fbc1fc59c0cf
7
+ data.tar.gz: fcaacd9b6fd194413d1cd1a63ea946d6237ba282140571fd946c2ee462590714f933341b9a4099ca4abee8605374820b5c74424b133c5a9ae25a5635616c0182
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.59.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240513
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.58.0 (2024-04-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20240423
@@ -703,8 +703,8 @@ module Google
703
703
  # @return [Array<Google::Apis::ArtifactregistryV1::HashProp>]
704
704
  attr_accessor :hashes
705
705
 
706
- # The name of the file, for example: "projects/p1/locations/us-central1/
707
- # repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes,
706
+ # The name of the file, for example: `projects/p1/locations/us-central1/
707
+ # repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes,
708
708
  # they are escaped.
709
709
  # Corresponds to the JSON property `name`
710
710
  # @return [String]
@@ -2267,7 +2267,8 @@ module Google
2267
2267
  attr_accessor :mode
2268
2268
 
2269
2269
  # The name of the repository, for example: `projects/p1/locations/us-central1/
2270
- # repositories/repo1`.
2270
+ # repositories/repo1`. For each location in a project, repository names must be
2271
+ # unique.
2271
2272
  # Corresponds to the JSON property `name`
2272
2273
  # @return [String]
2273
2274
  attr_accessor :name
@@ -2277,6 +2278,12 @@ module Google
2277
2278
  # @return [Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig]
2278
2279
  attr_accessor :remote_repository_config
2279
2280
 
2281
+ # Output only. If set, the repository satisfies physical zone isolation.
2282
+ # Corresponds to the JSON property `satisfiesPzi`
2283
+ # @return [Boolean]
2284
+ attr_accessor :satisfies_pzi
2285
+ alias_method :satisfies_pzi?, :satisfies_pzi
2286
+
2280
2287
  # Output only. If set, the repository satisfies physical zone separation.
2281
2288
  # Corresponds to the JSON property `satisfiesPzs`
2282
2289
  # @return [Boolean]
@@ -2319,6 +2326,7 @@ module Google
2319
2326
  @mode = args[:mode] if args.key?(:mode)
2320
2327
  @name = args[:name] if args.key?(:name)
2321
2328
  @remote_repository_config = args[:remote_repository_config] if args.key?(:remote_repository_config)
2329
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
2322
2330
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
2323
2331
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
2324
2332
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -2587,35 +2595,26 @@ module Google
2587
2595
  class UploadGenericArtifactRequest
2588
2596
  include Google::Apis::Core::Hashable
2589
2597
 
2590
- # The name of the file of the generic artifact to be uploaded. E.g. "example-
2591
- # file.zip" The filename should only include letters, numbers, and url safe
2592
- # characters, i.e. [a-zA-Z0-9-_.~@].
2598
+ # The name of the file of the generic artifact to be uploaded. E.g. `example-
2599
+ # file.zip` The filename is limited to letters, numbers, and url safe characters,
2600
+ # i.e. [a-zA-Z0-9-_.~@].
2593
2601
  # Corresponds to the JSON property `filename`
2594
2602
  # @return [String]
2595
2603
  attr_accessor :filename
2596
2604
 
2597
- # Deprecated. Use package_id, version_id and filename instead. The resource name
2598
- # of the generic artifact. E.g. "projects/math/locations/us/repositories/
2599
- # operations/genericArtifacts/addition/1.0.0/add.py"
2600
- # Corresponds to the JSON property `name`
2601
- # @return [String]
2602
- attr_accessor :name
2603
-
2604
2605
  # The ID of the package of the generic artifact. If the package does not exist,
2605
- # a new package will be created. E.g. "pkg-1" The package_id must start with a
2606
- # letter, end with a letter or number, only contain letters, numbers, hyphens
2607
- # and periods i.e. [a-z0-9-.], and cannot exceed 256 characters.
2606
+ # a new package will be created. The `package_id` must start with a letter, end
2607
+ # with a letter or number, only contain letters, numbers, hyphens and periods i.
2608
+ # e. [a-z0-9-.], and cannot exceed 256 characters.
2608
2609
  # Corresponds to the JSON property `packageId`
2609
2610
  # @return [String]
2610
2611
  attr_accessor :package_id
2611
2612
 
2612
2613
  # The ID of the version of the generic artifact. If the version does not exist,
2613
- # a new version will be created. E.g."1.0.0" The version_id must start and end
2614
- # with a letter or number, can only contain lowercase letters, numbers, hyphens
2615
- # and periods, i.e. [a-z0-9-.] and cannot exceed a total of 128 characters.
2616
- # While "latest" is a well-known name for the latest version of a package, it is
2617
- # not yet supported and is reserved for future use. Creating a version called "
2618
- # latest" is not allowed.
2614
+ # a new version will be created. The version_id must start and end with a letter
2615
+ # or number, can only contain lowercase letters, numbers, hyphens and periods, i.
2616
+ # e. [a-z0-9-.] and cannot exceed a total of 128 characters. Creating a version
2617
+ # called `latest` is not allowed.
2619
2618
  # Corresponds to the JSON property `versionId`
2620
2619
  # @return [String]
2621
2620
  attr_accessor :version_id
@@ -2627,7 +2626,6 @@ module Google
2627
2626
  # Update properties of this object
2628
2627
  def update!(**args)
2629
2628
  @filename = args[:filename] if args.key?(:filename)
2630
- @name = args[:name] if args.key?(:name)
2631
2629
  @package_id = args[:package_id] if args.key?(:package_id)
2632
2630
  @version_id = args[:version_id] if args.key?(:version_id)
2633
2631
  end
@@ -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.58.0"
19
+ GEM_VERSION = "0.59.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240423"
25
+ REVISION = "20240513"
26
26
  end
27
27
  end
28
28
  end
@@ -1270,6 +1270,7 @@ module Google
1270
1270
  property :name, as: 'name'
1271
1271
  property :remote_repository_config, as: 'remoteRepositoryConfig', class: Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig::Representation
1272
1272
 
1273
+ property :satisfies_pzi, as: 'satisfiesPzi'
1273
1274
  property :satisfies_pzs, as: 'satisfiesPzs'
1274
1275
  property :size_bytes, :numeric_string => true, as: 'sizeBytes'
1275
1276
  property :update_time, as: 'updateTime'
@@ -1363,7 +1364,6 @@ module Google
1363
1364
  # @private
1364
1365
  class Representation < Google::Apis::Core::JsonRepresentation
1365
1366
  property :filename, as: 'filename'
1366
- property :name, as: 'name'
1367
1367
  property :package_id, as: 'packageId'
1368
1368
  property :version_id, as: 'versionId'
1369
1369
  end
@@ -52,43 +52,6 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
- # Download a file.
56
- # @param [String] name
57
- # Required. The name of the file to download.
58
- # @param [String] fields
59
- # Selector specifying which fields to include in a partial response.
60
- # @param [String] quota_user
61
- # Available to use for quota purposes for server-side applications. Can be any
62
- # arbitrary string assigned to a user, but should not exceed 40 characters.
63
- # @param [IO, String] download_dest
64
- # IO stream or filename to receive content download
65
- # @param [Google::Apis::RequestOptions] options
66
- # Request-specific options
67
- #
68
- # @yield [result, err] Result & error if block supplied
69
- # @yieldparam result [Google::Apis::ArtifactregistryV1::DownloadFileResponse] parsed result object
70
- # @yieldparam err [StandardError] error object if request failed
71
- #
72
- # @return [Google::Apis::ArtifactregistryV1::DownloadFileResponse]
73
- #
74
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
75
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
76
- # @raise [Google::Apis::AuthorizationError] Authorization is required
77
- def download_medium(name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
78
- if download_dest.nil?
79
- command = make_simple_command(:get, 'v1/{+name}:download', options)
80
- else
81
- command = make_download_command(:get, 'v1/{+name}:download', options)
82
- command.download_dest = download_dest
83
- end
84
- command.response_representation = Google::Apis::ArtifactregistryV1::DownloadFileResponse::Representation
85
- command.response_class = Google::Apis::ArtifactregistryV1::DownloadFileResponse
86
- command.params['name'] = name unless name.nil?
87
- command.query['fields'] = fields unless fields.nil?
88
- command.query['quotaUser'] = quota_user unless quota_user.nil?
89
- execute_or_queue_command(command, &block)
90
- end
91
-
92
55
  # Retrieves the Settings for the Project.
93
56
  # @param [String] name
94
57
  # Required. The name of the projectSettings resource.
@@ -510,7 +473,8 @@ module Google
510
473
  # Updates a repository.
511
474
  # @param [String] name
512
475
  # The name of the repository, for example: `projects/p1/locations/us-central1/
513
- # repositories/repo1`.
476
+ # repositories/repo1`. For each location in a project, repository names must be
477
+ # unique.
514
478
  # @param [Google::Apis::ArtifactregistryV1::Repository] repository_object
515
479
  # @param [String] update_mask
516
480
  # The update mask applies to the resource. For the `FieldMask` definition, see
@@ -734,7 +698,7 @@ module Google
734
698
  # @param [String] order_by
735
699
  # The field to order the results by.
736
700
  # @param [Fixnum] page_size
737
- # The maximum number of artifacts to return.
701
+ # The maximum number of artifacts to return. Maximum page size is 1,000.
738
702
  # @param [String] page_token
739
703
  # The next_page_token value returned from a previous list request, if any.
740
704
  # @param [String] fields
@@ -767,6 +731,43 @@ module Google
767
731
  execute_or_queue_command(command, &block)
768
732
  end
769
733
 
734
+ # Download a file.
735
+ # @param [String] name
736
+ # Required. The name of the file to download.
737
+ # @param [String] fields
738
+ # Selector specifying which fields to include in a partial response.
739
+ # @param [String] quota_user
740
+ # Available to use for quota purposes for server-side applications. Can be any
741
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
742
+ # @param [IO, String] download_dest
743
+ # IO stream or filename to receive content download
744
+ # @param [Google::Apis::RequestOptions] options
745
+ # Request-specific options
746
+ #
747
+ # @yield [result, err] Result & error if block supplied
748
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::DownloadFileResponse] parsed result object
749
+ # @yieldparam err [StandardError] error object if request failed
750
+ #
751
+ # @return [Google::Apis::ArtifactregistryV1::DownloadFileResponse]
752
+ #
753
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
754
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
755
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
756
+ def download_project_location_repository_file(name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
757
+ if download_dest.nil?
758
+ command = make_simple_command(:get, 'v1/{+name}:download', options)
759
+ else
760
+ command = make_download_command(:get, 'v1/{+name}:download', options)
761
+ command.download_dest = download_dest
762
+ end
763
+ command.response_representation = Google::Apis::ArtifactregistryV1::DownloadFileResponse::Representation
764
+ command.response_class = Google::Apis::ArtifactregistryV1::DownloadFileResponse
765
+ command.params['name'] = name unless name.nil?
766
+ command.query['fields'] = fields unless fields.nil?
767
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
768
+ execute_or_queue_command(command, &block)
769
+ end
770
+
770
771
  # Gets a file.
771
772
  # @param [String] name
772
773
  # Required. The name of the file to retrieve.
@@ -811,7 +812,7 @@ module Google
811
812
  # @param [String] order_by
812
813
  # The field to order the results by.
813
814
  # @param [Fixnum] page_size
814
- # The maximum number of files to return.
815
+ # The maximum number of files to return. Maximum page size is 1,000.
815
816
  # @param [String] page_token
816
817
  # The next_page_token value returned from a previous list request, if any.
817
818
  # @param [String] fields
@@ -845,10 +846,10 @@ module Google
845
846
  execute_or_queue_command(command, &block)
846
847
  end
847
848
 
848
- # Directly uploads a Generic artifact. The returned Operation will complete once
849
- # the resources are uploaded. Package, Version, and File resources are created
849
+ # Directly uploads a Generic artifact. The returned operation will complete once
850
+ # the resources are uploaded. Package, version, and file resources are created
850
851
  # based on the uploaded artifact. Uploaded artifacts that conflict with existing
851
- # resources will raise an ALREADY_EXISTS error.
852
+ # resources will raise an `ALREADY_EXISTS` error.
852
853
  # @param [String] parent
853
854
  # The resource name of the repository where the generic artifact will be
854
855
  # uploaded.
@@ -1099,7 +1100,7 @@ module Google
1099
1100
  # @param [String] parent
1100
1101
  # Required. The name of the parent resource whose maven artifacts will be listed.
1101
1102
  # @param [Fixnum] page_size
1102
- # The maximum number of artifacts to return.
1103
+ # The maximum number of artifacts to return. Maximum page size is 1,000.
1103
1104
  # @param [String] page_token
1104
1105
  # The next_page_token value returned from a previous list request, if any.
1105
1106
  # @param [String] fields
@@ -1165,7 +1166,7 @@ module Google
1165
1166
  # @param [String] parent
1166
1167
  # Required. The name of the parent resource whose npm packages will be listed.
1167
1168
  # @param [Fixnum] page_size
1168
- # The maximum number of artifacts to return.
1169
+ # The maximum number of artifacts to return. Maximum page size is 1,000.
1169
1170
  # @param [String] page_token
1170
1171
  # The next_page_token value returned from a previous list request, if any.
1171
1172
  # @param [String] fields
@@ -1441,7 +1442,7 @@ module Google
1441
1442
  # repo1/packages/pkg1/versions/1.0"` --> Tags that are applied to the version `1.
1442
1443
  # 0` in package `pkg1`.
1443
1444
  # @param [Fixnum] page_size
1444
- # The maximum number of tags to return. Maximum page size is 10,000.
1445
+ # The maximum number of tags to return. Maximum page size is 1,000.
1445
1446
  # @param [String] page_token
1446
1447
  # The next_page_token value returned from a previous list request, if any.
1447
1448
  # @param [String] fields
@@ -1693,7 +1694,7 @@ module Google
1693
1694
  # @param [String] parent
1694
1695
  # Required. The name of the parent resource whose python packages will be listed.
1695
1696
  # @param [Fixnum] page_size
1696
- # The maximum number of artifacts to return.
1697
+ # The maximum number of artifacts to return. Maximum page size is 1,000.
1697
1698
  # @param [String] page_token
1698
1699
  # The next_page_token value returned from a previous list request, if any.
1699
1700
  # @param [String] fields
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.58.0
4
+ version: 0.59.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-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.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.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.59.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: []