google-apis-storage_v1 0.26.0 → 0.27.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 +4 -0
- data/lib/google/apis/storage_v1/gem_version.rb +2 -2
- data/lib/google/apis/storage_v1/service.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: feb2fe9978aa4d9c7958652200ba4260223738ff141abab73f911ab49df518c9
|
4
|
+
data.tar.gz: dc95d0254e830623e5149c6a32f1e79f8801c7c1a988a4d9bc9ea88f3005f146
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33cff6aefb30306df3a0333fc37ee16accdf54e3d553c029a000909fed19d3ad858f95307555604498acf8c6194a950388e5b38776fd2a4aee39fed22889bf80
|
7
|
+
data.tar.gz: d1f0ca34f4e9dc2d99c94273736012a197f0d0188f6c38d2fcf7d305b45e60aba9d3fe71a82017e3bec0bec6d24ad3ff718aea51e16121d5763d4e56bfc247a2
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module StorageV1
|
18
18
|
# Version of the google-apis-storage_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230922"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2134,6 +2134,9 @@ module Google
|
|
2134
2134
|
# Name of the object. For information about how to URL encode object names to be
|
2135
2135
|
# path safe, see Encoding URI Path Parts.
|
2136
2136
|
# @param [Google::Apis::StorageV1::Object] object_object
|
2137
|
+
# @param [Boolean] copy_source_acl
|
2138
|
+
# If true, copies the source object's ACL; otherwise, uses the bucket's default
|
2139
|
+
# object ACL. The default is false.
|
2137
2140
|
# @param [Fixnum] if_generation_match
|
2138
2141
|
# Makes the operation conditional on whether the object's one live generation
|
2139
2142
|
# matches the given value. Setting to 0 makes the operation succeed only if
|
@@ -2172,7 +2175,7 @@ module Google
|
|
2172
2175
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2173
2176
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2174
2177
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2175
|
-
def restore_object(bucket, object, object_object = nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2178
|
+
def restore_object(bucket, object, object_object = nil, copy_source_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2176
2179
|
command = make_simple_command(:post, 'b/{bucket}/o/{object}/restore', options)
|
2177
2180
|
command.request_representation = Google::Apis::StorageV1::Object::Representation
|
2178
2181
|
command.request_object = object_object
|
@@ -2180,6 +2183,7 @@ module Google
|
|
2180
2183
|
command.response_class = Google::Apis::StorageV1::Object
|
2181
2184
|
command.params['bucket'] = bucket unless bucket.nil?
|
2182
2185
|
command.params['object'] = object unless object.nil?
|
2186
|
+
command.query['copySourceAcl'] = copy_source_acl unless copy_source_acl.nil?
|
2183
2187
|
command.query['generation'] = generation unless generation.nil?
|
2184
2188
|
command.query['ifGenerationMatch'] = if_generation_match unless if_generation_match.nil?
|
2185
2189
|
command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-storage_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.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: 2023-09-
|
11
|
+
date: 2023-09-24 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-storage_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|