google-apis-artifactregistry_v1beta2 0.51.0 → 0.53.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 +8 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/artifactregistry_v1beta2/classes.rb +19 -0
- data/lib/google/apis/artifactregistry_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/artifactregistry_v1beta2/representations.rb +13 -0
- data/lib/google/apis/artifactregistry_v1beta2/service.rb +77 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93951674d429904f7124f213bf0b4ada29296c49cde63707cd18738692f96eb7
|
4
|
+
data.tar.gz: c736005f4c0ae9441ad8f78cdbc9bdd0a5e9616c406aa0a8f4936614210a92a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a497ab1ca1deba94aeccd5e237f298dad91720236b9620058293403352be5f08b9d065c11c87ffd8722af5d0e832e67066add6a66e13b17b5f25cc0b0b4eefcb
|
7
|
+
data.tar.gz: a437cf2dd09f30a11b3791948c4e0ab0ee3586db59ab56472b20893c1a24b33af68581938e6214f0fd770fdd9b3eb6e3d7f5a5602d4c07e1ed8d14b9a4f4343f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1beta2
|
2
2
|
|
3
|
+
### v0.53.0 (2024-03-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240305
|
6
|
+
|
7
|
+
### v0.52.0 (2024-02-23)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.14.0
|
10
|
+
|
3
11
|
### v0.51.0 (2024-01-28)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240122
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/artifacts/docs/) may provid
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -175,6 +175,19 @@ module Google
|
|
175
175
|
end
|
176
176
|
end
|
177
177
|
|
178
|
+
# The response to download a file.
|
179
|
+
class DownloadFileResponse
|
180
|
+
include Google::Apis::Core::Hashable
|
181
|
+
|
182
|
+
def initialize(**args)
|
183
|
+
update!(**args)
|
184
|
+
end
|
185
|
+
|
186
|
+
# Update properties of this object
|
187
|
+
def update!(**args)
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
178
191
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
179
192
|
# messages in your APIs. A typical example is to use it as the request or the
|
180
193
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -856,6 +869,11 @@ module Google
|
|
856
869
|
class Package
|
857
870
|
include Google::Apis::Core::Hashable
|
858
871
|
|
872
|
+
# Optional. Client specified annotations.
|
873
|
+
# Corresponds to the JSON property `annotations`
|
874
|
+
# @return [Hash<String,String>]
|
875
|
+
attr_accessor :annotations
|
876
|
+
|
859
877
|
# The time when the package was created.
|
860
878
|
# Corresponds to the JSON property `createTime`
|
861
879
|
# @return [String]
|
@@ -885,6 +903,7 @@ module Google
|
|
885
903
|
|
886
904
|
# Update properties of this object
|
887
905
|
def update!(**args)
|
906
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
888
907
|
@create_time = args[:create_time] if args.key?(:create_time)
|
889
908
|
@display_name = args[:display_name] if args.key?(:display_name)
|
890
909
|
@name = args[:name] if args.key?(:name)
|
@@ -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.53.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240305"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class DownloadFileResponse
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class Empty
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -314,6 +320,12 @@ module Google
|
|
314
320
|
end
|
315
321
|
end
|
316
322
|
|
323
|
+
class DownloadFileResponse
|
324
|
+
# @private
|
325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
317
329
|
class Empty
|
318
330
|
# @private
|
319
331
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -529,6 +541,7 @@ module Google
|
|
529
541
|
class Package
|
530
542
|
# @private
|
531
543
|
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
hash :annotations, as: 'annotations'
|
532
545
|
property :create_time, as: 'createTime'
|
533
546
|
property :display_name, as: 'displayName'
|
534
547
|
property :name, as: 'name'
|
@@ -52,6 +52,43 @@ 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
|
+
|
55
92
|
# Retrieves the Settings for the Project.
|
56
93
|
# @param [String] name
|
57
94
|
# Required. The name of the projectSettings resource.
|
@@ -765,6 +802,46 @@ module Google
|
|
765
802
|
execute_or_queue_command(command, &block)
|
766
803
|
end
|
767
804
|
|
805
|
+
# Updates a package.
|
806
|
+
# @param [String] name
|
807
|
+
# The name of the package, for example: `projects/p1/locations/us-central1/
|
808
|
+
# repositories/repo1/packages/pkg1`. If the package ID part contains slashes,
|
809
|
+
# the slashes are escaped.
|
810
|
+
# @param [Google::Apis::ArtifactregistryV1beta2::Package] package_object
|
811
|
+
# @param [String] update_mask
|
812
|
+
# The update mask applies to the resource. For the `FieldMask` definition, see
|
813
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
814
|
+
# fieldmask
|
815
|
+
# @param [String] fields
|
816
|
+
# Selector specifying which fields to include in a partial response.
|
817
|
+
# @param [String] quota_user
|
818
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
819
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
820
|
+
# @param [Google::Apis::RequestOptions] options
|
821
|
+
# Request-specific options
|
822
|
+
#
|
823
|
+
# @yield [result, err] Result & error if block supplied
|
824
|
+
# @yieldparam result [Google::Apis::ArtifactregistryV1beta2::Package] parsed result object
|
825
|
+
# @yieldparam err [StandardError] error object if request failed
|
826
|
+
#
|
827
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Package]
|
828
|
+
#
|
829
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
830
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
831
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
832
|
+
def patch_project_location_repository_package(name, package_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
833
|
+
command = make_simple_command(:patch, 'v1beta2/{+name}', options)
|
834
|
+
command.request_representation = Google::Apis::ArtifactregistryV1beta2::Package::Representation
|
835
|
+
command.request_object = package_object
|
836
|
+
command.response_representation = Google::Apis::ArtifactregistryV1beta2::Package::Representation
|
837
|
+
command.response_class = Google::Apis::ArtifactregistryV1beta2::Package
|
838
|
+
command.params['name'] = name unless name.nil?
|
839
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
840
|
+
command.query['fields'] = fields unless fields.nil?
|
841
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
842
|
+
execute_or_queue_command(command, &block)
|
843
|
+
end
|
844
|
+
|
768
845
|
# Creates a tag.
|
769
846
|
# @param [String] parent
|
770
847
|
# The name of the parent resource where the tag will be created.
|
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.53.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-03-10 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.14.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.14.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.53.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: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Artifact Registry API V1beta2
|