google-apis-artifactregistry_v1 0.58.0 → 0.60.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: 8e2c41e4923b8fa083dcc7a50b5c45c753dc14edb8448ad58a72de2e7d5dd740
4
+ data.tar.gz: 7f9401a507c447d7d0c4626772837448313eeeaba67d067931b0f9e2e217f4b9
5
5
  SHA512:
6
- metadata.gz: c3b38c759c47b71ae652ec1c72f5da652ef662aae51290c18c27411eb22324bedcb1908c343e999675de43549e99f0aefadedcb4a69dcbdce6f195eecc276b07
7
- data.tar.gz: 215bc69a81d97da67365492e4260ff662a8ab97f1856df154cc7d2c247ef33e8bb15f1b3dc581ddb9feed17a88b0d50fbedde927844648db1a15579c934887db
6
+ metadata.gz: 85a0f79a4cff12910b9d065333cbf720c539274549ae4755af15ab3aef4b0751fc14d9596cd9b3f40b3ec18a8ce6303f1681407a4a173b56dc5b6859233697bc
7
+ data.tar.gz: 4ed84f96c2ab415c456238a7a5d3c944feb20d6929efba3d90c268414a40d0671f53b750196d7db8a3456beb6f07306f7ffbf438c96255427d721ddf85995139
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.60.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240520
6
+
7
+ ### v0.59.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240513
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.58.0 (2024-04-28)
4
13
 
5
14
  * 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]
@@ -2220,9 +2220,8 @@ module Google
2220
2220
  # @return [String]
2221
2221
  attr_accessor :description
2222
2222
 
2223
- # Optional. If this is true, aunspecified repo type will be treated as error. Is
2224
- # used for new repo types that don't have any specific fields. Right now is used
2225
- # by AOSS team when creating repos for customers.
2223
+ # Optional. If this is true, an unspecified repo type will be treated as error
2224
+ # rather than defaulting to standard.
2226
2225
  # Corresponds to the JSON property `disallowUnspecifiedMode`
2227
2226
  # @return [Boolean]
2228
2227
  attr_accessor :disallow_unspecified_mode
@@ -2267,7 +2266,8 @@ module Google
2267
2266
  attr_accessor :mode
2268
2267
 
2269
2268
  # The name of the repository, for example: `projects/p1/locations/us-central1/
2270
- # repositories/repo1`.
2269
+ # repositories/repo1`. For each location in a project, repository names must be
2270
+ # unique.
2271
2271
  # Corresponds to the JSON property `name`
2272
2272
  # @return [String]
2273
2273
  attr_accessor :name
@@ -2277,6 +2277,12 @@ module Google
2277
2277
  # @return [Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig]
2278
2278
  attr_accessor :remote_repository_config
2279
2279
 
2280
+ # Output only. If set, the repository satisfies physical zone isolation.
2281
+ # Corresponds to the JSON property `satisfiesPzi`
2282
+ # @return [Boolean]
2283
+ attr_accessor :satisfies_pzi
2284
+ alias_method :satisfies_pzi?, :satisfies_pzi
2285
+
2280
2286
  # Output only. If set, the repository satisfies physical zone separation.
2281
2287
  # Corresponds to the JSON property `satisfiesPzs`
2282
2288
  # @return [Boolean]
@@ -2319,6 +2325,7 @@ module Google
2319
2325
  @mode = args[:mode] if args.key?(:mode)
2320
2326
  @name = args[:name] if args.key?(:name)
2321
2327
  @remote_repository_config = args[:remote_repository_config] if args.key?(:remote_repository_config)
2328
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
2322
2329
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
2323
2330
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
2324
2331
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -2587,35 +2594,26 @@ module Google
2587
2594
  class UploadGenericArtifactRequest
2588
2595
  include Google::Apis::Core::Hashable
2589
2596
 
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-_.~@].
2597
+ # The name of the file of the generic artifact to be uploaded. E.g. `example-
2598
+ # file.zip` The filename is limited to letters, numbers, and url safe characters,
2599
+ # i.e. [a-zA-Z0-9-_.~@].
2593
2600
  # Corresponds to the JSON property `filename`
2594
2601
  # @return [String]
2595
2602
  attr_accessor :filename
2596
2603
 
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
2604
  # 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.
2605
+ # a new package will be created. The `package_id` must start with a letter, end
2606
+ # with a letter or number, only contain letters, numbers, hyphens and periods i.
2607
+ # e. [a-z0-9-.], and cannot exceed 256 characters.
2608
2608
  # Corresponds to the JSON property `packageId`
2609
2609
  # @return [String]
2610
2610
  attr_accessor :package_id
2611
2611
 
2612
2612
  # 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.
2613
+ # a new version will be created. The version_id must start and end with a letter
2614
+ # or number, can only contain lowercase letters, numbers, hyphens and periods, i.
2615
+ # e. [a-z0-9-.] and cannot exceed a total of 128 characters. Creating a version
2616
+ # called `latest` is not allowed.
2619
2617
  # Corresponds to the JSON property `versionId`
2620
2618
  # @return [String]
2621
2619
  attr_accessor :version_id
@@ -2627,7 +2625,6 @@ module Google
2627
2625
  # Update properties of this object
2628
2626
  def update!(**args)
2629
2627
  @filename = args[:filename] if args.key?(:filename)
2630
- @name = args[:name] if args.key?(:name)
2631
2628
  @package_id = args[:package_id] if args.key?(:package_id)
2632
2629
  @version_id = args[:version_id] if args.key?(:version_id)
2633
2630
  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.60.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 = "20240520"
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,75 @@ module Google
767
731
  execute_or_queue_command(command, &block)
768
732
  end
769
733
 
734
+ # Deletes a file and all of its content. It is only allowed on generic
735
+ # repositories. The returned operation will complete once the file has been
736
+ # deleted.
737
+ # @param [String] name
738
+ # Required. The name of the file to delete.
739
+ # @param [String] fields
740
+ # Selector specifying which fields to include in a partial response.
741
+ # @param [String] quota_user
742
+ # Available to use for quota purposes for server-side applications. Can be any
743
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
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::Operation] parsed result object
749
+ # @yieldparam err [StandardError] error object if request failed
750
+ #
751
+ # @return [Google::Apis::ArtifactregistryV1::Operation]
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 delete_project_location_repository_file(name, fields: nil, quota_user: nil, options: nil, &block)
757
+ command = make_simple_command(:delete, 'v1/{+name}', options)
758
+ command.response_representation = Google::Apis::ArtifactregistryV1::Operation::Representation
759
+ command.response_class = Google::Apis::ArtifactregistryV1::Operation
760
+ command.params['name'] = name unless name.nil?
761
+ command.query['fields'] = fields unless fields.nil?
762
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
763
+ execute_or_queue_command(command, &block)
764
+ end
765
+
766
+ # Download a file.
767
+ # @param [String] name
768
+ # Required. The name of the file to download.
769
+ # @param [String] fields
770
+ # Selector specifying which fields to include in a partial response.
771
+ # @param [String] quota_user
772
+ # Available to use for quota purposes for server-side applications. Can be any
773
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
774
+ # @param [IO, String] download_dest
775
+ # IO stream or filename to receive content download
776
+ # @param [Google::Apis::RequestOptions] options
777
+ # Request-specific options
778
+ #
779
+ # @yield [result, err] Result & error if block supplied
780
+ # @yieldparam result [Google::Apis::ArtifactregistryV1::DownloadFileResponse] parsed result object
781
+ # @yieldparam err [StandardError] error object if request failed
782
+ #
783
+ # @return [Google::Apis::ArtifactregistryV1::DownloadFileResponse]
784
+ #
785
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
786
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
787
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
788
+ def download_project_location_repository_file(name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
789
+ if download_dest.nil?
790
+ command = make_simple_command(:get, 'v1/{+name}:download', options)
791
+ else
792
+ command = make_download_command(:get, 'v1/{+name}:download', options)
793
+ command.download_dest = download_dest
794
+ end
795
+ command.response_representation = Google::Apis::ArtifactregistryV1::DownloadFileResponse::Representation
796
+ command.response_class = Google::Apis::ArtifactregistryV1::DownloadFileResponse
797
+ command.params['name'] = name unless name.nil?
798
+ command.query['fields'] = fields unless fields.nil?
799
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
800
+ execute_or_queue_command(command, &block)
801
+ end
802
+
770
803
  # Gets a file.
771
804
  # @param [String] name
772
805
  # Required. The name of the file to retrieve.
@@ -811,7 +844,7 @@ module Google
811
844
  # @param [String] order_by
812
845
  # The field to order the results by.
813
846
  # @param [Fixnum] page_size
814
- # The maximum number of files to return.
847
+ # The maximum number of files to return. Maximum page size is 1,000.
815
848
  # @param [String] page_token
816
849
  # The next_page_token value returned from a previous list request, if any.
817
850
  # @param [String] fields
@@ -845,10 +878,10 @@ module Google
845
878
  execute_or_queue_command(command, &block)
846
879
  end
847
880
 
848
- # Directly uploads a Generic artifact. The returned Operation will complete once
849
- # the resources are uploaded. Package, Version, and File resources are created
881
+ # Directly uploads a Generic artifact. The returned operation will complete once
882
+ # the resources are uploaded. Package, version, and file resources are created
850
883
  # based on the uploaded artifact. Uploaded artifacts that conflict with existing
851
- # resources will raise an ALREADY_EXISTS error.
884
+ # resources will raise an `ALREADY_EXISTS` error.
852
885
  # @param [String] parent
853
886
  # The resource name of the repository where the generic artifact will be
854
887
  # uploaded.
@@ -1099,7 +1132,7 @@ module Google
1099
1132
  # @param [String] parent
1100
1133
  # Required. The name of the parent resource whose maven artifacts will be listed.
1101
1134
  # @param [Fixnum] page_size
1102
- # The maximum number of artifacts to return.
1135
+ # The maximum number of artifacts to return. Maximum page size is 1,000.
1103
1136
  # @param [String] page_token
1104
1137
  # The next_page_token value returned from a previous list request, if any.
1105
1138
  # @param [String] fields
@@ -1165,7 +1198,7 @@ module Google
1165
1198
  # @param [String] parent
1166
1199
  # Required. The name of the parent resource whose npm packages will be listed.
1167
1200
  # @param [Fixnum] page_size
1168
- # The maximum number of artifacts to return.
1201
+ # The maximum number of artifacts to return. Maximum page size is 1,000.
1169
1202
  # @param [String] page_token
1170
1203
  # The next_page_token value returned from a previous list request, if any.
1171
1204
  # @param [String] fields
@@ -1441,7 +1474,7 @@ module Google
1441
1474
  # repo1/packages/pkg1/versions/1.0"` --> Tags that are applied to the version `1.
1442
1475
  # 0` in package `pkg1`.
1443
1476
  # @param [Fixnum] page_size
1444
- # The maximum number of tags to return. Maximum page size is 10,000.
1477
+ # The maximum number of tags to return. Maximum page size is 1,000.
1445
1478
  # @param [String] page_token
1446
1479
  # The next_page_token value returned from a previous list request, if any.
1447
1480
  # @param [String] fields
@@ -1693,7 +1726,7 @@ module Google
1693
1726
  # @param [String] parent
1694
1727
  # Required. The name of the parent resource whose python packages will be listed.
1695
1728
  # @param [Fixnum] page_size
1696
- # The maximum number of artifacts to return.
1729
+ # The maximum number of artifacts to return. Maximum page size is 1,000.
1697
1730
  # @param [String] page_token
1698
1731
  # The next_page_token value returned from a previous list request, if any.
1699
1732
  # @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.60.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-26 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.60.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: []