google-apis-artifactregistry_v1beta2 0.53.0 → 0.54.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/artifactregistry_v1beta2/classes.rb +11 -3
- data/lib/google/apis/artifactregistry_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/artifactregistry_v1beta2/representations.rb +1 -0
- data/lib/google/apis/artifactregistry_v1beta2/service.rb +41 -40
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 230b706e352b5cfb98205ebf2b996493255e206a9bd4618dc39ae99300874ef3
|
4
|
+
data.tar.gz: ea56575a33efecc8f3f6e2978f1efd9cf694e11c9d8820da08faf16e8a9978d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46cbd12ba22d281ea38a48a98ea7777d5c58154c0ec7d7d4d0eaf8e02beae12c4bd20fa03bc073445739749d58c91d635e7e67573aec43fcf3d5137ec797ee08
|
7
|
+
data.tar.gz: 585b5176749585c94c39234cf35a73ac71b0695078f452367dbd87cfea539332bc5804a45ce2ea259dfc8d1f454a40404f918154a38bc18ac69cb9e8134ef7ee
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1beta2
|
2
2
|
|
3
|
+
### v0.54.0 (2024-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240513
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
3
8
|
### v0.53.0 (2024-03-10)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240305
|
@@ -272,8 +272,8 @@ module Google
|
|
272
272
|
# @return [Array<Google::Apis::ArtifactregistryV1beta2::HashProp>]
|
273
273
|
attr_accessor :hashes
|
274
274
|
|
275
|
-
# The name of the file, for example:
|
276
|
-
# repositories/repo1/files/a%2Fb%2Fc.txt
|
275
|
+
# The name of the file, for example: `projects/p1/locations/us-central1/
|
276
|
+
# repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes,
|
277
277
|
# they are escaped.
|
278
278
|
# Corresponds to the JSON property `name`
|
279
279
|
# @return [String]
|
@@ -1068,11 +1068,18 @@ module Google
|
|
1068
1068
|
attr_accessor :maven_config
|
1069
1069
|
|
1070
1070
|
# The name of the repository, for example: `projects/p1/locations/us-central1/
|
1071
|
-
# repositories/repo1`.
|
1071
|
+
# repositories/repo1`. For each location in a project, repository names must be
|
1072
|
+
# unique.
|
1072
1073
|
# Corresponds to the JSON property `name`
|
1073
1074
|
# @return [String]
|
1074
1075
|
attr_accessor :name
|
1075
1076
|
|
1077
|
+
# Output only. If set, the repository satisfies physical zone isolation.
|
1078
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
1079
|
+
# @return [Boolean]
|
1080
|
+
attr_accessor :satisfies_pzi
|
1081
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
1082
|
+
|
1076
1083
|
# Output only. If set, the repository satisfies physical zone separation.
|
1077
1084
|
# Corresponds to the JSON property `satisfiesPzs`
|
1078
1085
|
# @return [Boolean]
|
@@ -1104,6 +1111,7 @@ module Google
|
|
1104
1111
|
@labels = args[:labels] if args.key?(:labels)
|
1105
1112
|
@maven_config = args[:maven_config] if args.key?(:maven_config)
|
1106
1113
|
@name = args[:name] if args.key?(:name)
|
1114
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
1107
1115
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
1108
1116
|
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
1109
1117
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.54.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240513"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -578,6 +578,7 @@ module Google
|
|
578
578
|
property :maven_config, as: 'mavenConfig', class: Google::Apis::ArtifactregistryV1beta2::MavenRepositoryConfig, decorator: Google::Apis::ArtifactregistryV1beta2::MavenRepositoryConfig::Representation
|
579
579
|
|
580
580
|
property :name, as: 'name'
|
581
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
581
582
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
582
583
|
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
583
584
|
property :update_time, as: 'updateTime'
|
@@ -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::ArtifactregistryV1beta2::DownloadFileResponse] parsed result object
|
70
|
-
# @yieldparam err [StandardError] error object if request failed
|
71
|
-
#
|
72
|
-
# @return [Google::Apis::ArtifactregistryV1beta2::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, 'v1beta2/{+name}:download', options)
|
80
|
-
else
|
81
|
-
command = make_download_command(:get, 'v1beta2/{+name}:download', options)
|
82
|
-
command.download_dest = download_dest
|
83
|
-
end
|
84
|
-
command.response_representation = Google::Apis::ArtifactregistryV1beta2::DownloadFileResponse::Representation
|
85
|
-
command.response_class = Google::Apis::ArtifactregistryV1beta2::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.
|
@@ -442,7 +405,8 @@ module Google
|
|
442
405
|
# Updates a repository.
|
443
406
|
# @param [String] name
|
444
407
|
# The name of the repository, for example: `projects/p1/locations/us-central1/
|
445
|
-
# repositories/repo1`.
|
408
|
+
# repositories/repo1`. For each location in a project, repository names must be
|
409
|
+
# unique.
|
446
410
|
# @param [Google::Apis::ArtifactregistryV1beta2::Repository] repository_object
|
447
411
|
# @param [String] update_mask
|
448
412
|
# The update mask applies to the resource. For the `FieldMask` definition, see
|
@@ -630,6 +594,43 @@ module Google
|
|
630
594
|
execute_or_queue_command(command, &block)
|
631
595
|
end
|
632
596
|
|
597
|
+
# Download a file.
|
598
|
+
# @param [String] name
|
599
|
+
# Required. The name of the file to download.
|
600
|
+
# @param [String] fields
|
601
|
+
# Selector specifying which fields to include in a partial response.
|
602
|
+
# @param [String] quota_user
|
603
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
604
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
605
|
+
# @param [IO, String] download_dest
|
606
|
+
# IO stream or filename to receive content download
|
607
|
+
# @param [Google::Apis::RequestOptions] options
|
608
|
+
# Request-specific options
|
609
|
+
#
|
610
|
+
# @yield [result, err] Result & error if block supplied
|
611
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::DownloadFileResponse] parsed result object
|
612
|
+
# @yieldparam err [StandardError] error object if request failed
|
613
|
+
#
|
614
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::DownloadFileResponse]
|
615
|
+
#
|
616
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
617
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
618
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
619
|
+
def download_project_location_repository_file(name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
|
620
|
+
if download_dest.nil?
|
621
|
+
command = make_simple_command(:get, 'v1beta2/{+name}:download', options)
|
622
|
+
else
|
623
|
+
command = make_download_command(:get, 'v1beta2/{+name}:download', options)
|
624
|
+
command.download_dest = download_dest
|
625
|
+
end
|
626
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::DownloadFileResponse::Representation
|
627
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::DownloadFileResponse
|
628
|
+
command.params['name'] = name unless name.nil?
|
629
|
+
command.query['fields'] = fields unless fields.nil?
|
630
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
631
|
+
execute_or_queue_command(command, &block)
|
632
|
+
end
|
633
|
+
|
633
634
|
# Gets a file.
|
634
635
|
# @param [String] name
|
635
636
|
# Required. The name of the file to retrieve.
|
@@ -672,7 +673,7 @@ module Google
|
|
672
673
|
# owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/
|
673
674
|
# versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.
|
674
675
|
# @param [Fixnum] page_size
|
675
|
-
# The maximum number of files to return.
|
676
|
+
# The maximum number of files to return. Maximum page size is 1,000.
|
676
677
|
# @param [String] page_token
|
677
678
|
# The next_page_token value returned from a previous list request, if any.
|
678
679
|
# @param [String] fields
|
@@ -949,7 +950,7 @@ module Google
|
|
949
950
|
# repo1/packages/pkg1/versions/1.0"` --> Tags that are applied to the version `1.
|
950
951
|
# 0` in package `pkg1`.
|
951
952
|
# @param [Fixnum] page_size
|
952
|
-
# The maximum number of tags to return. Maximum page size is
|
953
|
+
# The maximum number of tags to return. Maximum page size is 1,000.
|
953
954
|
# @param [String] page_token
|
954
955
|
# The next_page_token value returned from a previous list request, if any.
|
955
956
|
# @param [String] fields
|
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.
|
4
|
+
version: 0.54.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-
|
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.
|
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.
|
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_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1beta2/v0.54.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: []
|