google-apis-storage_v1 0.25.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ac3bda0c55dce8463c85e9d322b51eb398882c6d4839c91b0624c65c3d85322
|
4
|
+
data.tar.gz: 5a831d29ac1d89f9fe4690f86335973719c3a5c223472691328a91f6a90a1517
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b19d739437d70d60bf75c8d24e59e575e3ed08e847b048a628a69e6ce8891fa540dd4c46ec99a18ed2c003f765d60cd185c31e8730adfba1c4fa967dd09f2d63
|
7
|
+
data.tar.gz: 2c081af800735e4f6139e97d259cc4c5515806ee0b21dd55e9f84858c1fc2b390145c121aff17ff1c84cc593ee6f3a3847ded1975382ecb620213e338e997594
|
data/CHANGELOG.md
CHANGED
@@ -137,6 +137,11 @@ module Google
|
|
137
137
|
# @return [String]
|
138
138
|
attr_accessor :name
|
139
139
|
|
140
|
+
# The bucket's object retention config.
|
141
|
+
# Corresponds to the JSON property `objectRetention`
|
142
|
+
# @return [Google::Apis::StorageV1::Bucket::ObjectRetention]
|
143
|
+
attr_accessor :object_retention
|
144
|
+
|
140
145
|
# The owner of the bucket. This is always the project team's owner group.
|
141
146
|
# Corresponds to the JSON property `owner`
|
142
147
|
# @return [Google::Apis::StorageV1::Bucket::Owner]
|
@@ -177,6 +182,12 @@ module Google
|
|
177
182
|
# @return [String]
|
178
183
|
attr_accessor :self_link
|
179
184
|
|
185
|
+
# The bucket's soft delete policy, which defines the period of time that soft-
|
186
|
+
# deleted objects will be retained, and cannot be permanently deleted.
|
187
|
+
# Corresponds to the JSON property `softDeletePolicy`
|
188
|
+
# @return [Google::Apis::StorageV1::Bucket::SoftDeletePolicy]
|
189
|
+
attr_accessor :soft_delete_policy
|
190
|
+
|
180
191
|
# The bucket's default storage class, used whenever no storageClass is specified
|
181
192
|
# for a newly-created object. This defines how objects in the bucket are stored
|
182
193
|
# and determines the SLA and the cost of storage. Values include MULTI_REGIONAL,
|
@@ -235,12 +246,14 @@ module Google
|
|
235
246
|
@logging = args[:logging] if args.key?(:logging)
|
236
247
|
@metageneration = args[:metageneration] if args.key?(:metageneration)
|
237
248
|
@name = args[:name] if args.key?(:name)
|
249
|
+
@object_retention = args[:object_retention] if args.key?(:object_retention)
|
238
250
|
@owner = args[:owner] if args.key?(:owner)
|
239
251
|
@project_number = args[:project_number] if args.key?(:project_number)
|
240
252
|
@retention_policy = args[:retention_policy] if args.key?(:retention_policy)
|
241
253
|
@rpo = args[:rpo] if args.key?(:rpo)
|
242
254
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
243
255
|
@self_link = args[:self_link] if args.key?(:self_link)
|
256
|
+
@soft_delete_policy = args[:soft_delete_policy] if args.key?(:soft_delete_policy)
|
244
257
|
@storage_class = args[:storage_class] if args.key?(:storage_class)
|
245
258
|
@time_created = args[:time_created] if args.key?(:time_created)
|
246
259
|
@updated = args[:updated] if args.key?(:updated)
|
@@ -258,6 +271,19 @@ module Google
|
|
258
271
|
attr_accessor :enabled
|
259
272
|
alias_method :enabled?, :enabled
|
260
273
|
|
274
|
+
# The storage class that objects in the bucket eventually transition to if they
|
275
|
+
# are not read for a certain length of time. Valid values are NEARLINE and
|
276
|
+
# ARCHIVE.
|
277
|
+
# Corresponds to the JSON property `terminalStorageClass`
|
278
|
+
# @return [String]
|
279
|
+
attr_accessor :terminal_storage_class
|
280
|
+
|
281
|
+
# A date and time in RFC 3339 format representing the time of the most recent
|
282
|
+
# update to "terminalStorageClass".
|
283
|
+
# Corresponds to the JSON property `terminalStorageClassUpdateTime`
|
284
|
+
# @return [DateTime]
|
285
|
+
attr_accessor :terminal_storage_class_update_time
|
286
|
+
|
261
287
|
# A date and time in RFC 3339 format representing the instant at which "enabled"
|
262
288
|
# was last toggled.
|
263
289
|
# Corresponds to the JSON property `toggleTime`
|
@@ -271,6 +297,8 @@ module Google
|
|
271
297
|
# Update properties of this object
|
272
298
|
def update!(**args)
|
273
299
|
@enabled = args[:enabled] if args.key?(:enabled)
|
300
|
+
@terminal_storage_class = args[:terminal_storage_class] if args.key?(:terminal_storage_class)
|
301
|
+
@terminal_storage_class_update_time = args[:terminal_storage_class_update_time] if args.key?(:terminal_storage_class_update_time)
|
274
302
|
@toggle_time = args[:toggle_time] if args.key?(:toggle_time)
|
275
303
|
end
|
276
304
|
end
|
@@ -682,6 +710,25 @@ module Google
|
|
682
710
|
end
|
683
711
|
end
|
684
712
|
|
713
|
+
# The bucket's object retention config.
|
714
|
+
class ObjectRetention
|
715
|
+
include Google::Apis::Core::Hashable
|
716
|
+
|
717
|
+
# The bucket's object retention mode. Can be Enabled.
|
718
|
+
# Corresponds to the JSON property `mode`
|
719
|
+
# @return [String]
|
720
|
+
attr_accessor :mode
|
721
|
+
|
722
|
+
def initialize(**args)
|
723
|
+
update!(**args)
|
724
|
+
end
|
725
|
+
|
726
|
+
# Update properties of this object
|
727
|
+
def update!(**args)
|
728
|
+
@mode = args[:mode] if args.key?(:mode)
|
729
|
+
end
|
730
|
+
end
|
731
|
+
|
685
732
|
# The owner of the bucket. This is always the project team's owner group.
|
686
733
|
class Owner
|
687
734
|
include Google::Apis::Core::Hashable
|
@@ -751,6 +798,34 @@ module Google
|
|
751
798
|
end
|
752
799
|
end
|
753
800
|
|
801
|
+
# The bucket's soft delete policy, which defines the period of time that soft-
|
802
|
+
# deleted objects will be retained, and cannot be permanently deleted.
|
803
|
+
class SoftDeletePolicy
|
804
|
+
include Google::Apis::Core::Hashable
|
805
|
+
|
806
|
+
# Server-determined value that indicates the time from which the policy, or one
|
807
|
+
# with a greater retention, was effective. This value is in RFC 3339 format.
|
808
|
+
# Corresponds to the JSON property `effectiveTime`
|
809
|
+
# @return [DateTime]
|
810
|
+
attr_accessor :effective_time
|
811
|
+
|
812
|
+
# The period of time in seconds, that soft-deleted objects in the bucket will be
|
813
|
+
# retained and cannot be permanently deleted.
|
814
|
+
# Corresponds to the JSON property `retentionDurationSeconds`
|
815
|
+
# @return [Fixnum]
|
816
|
+
attr_accessor :retention_duration_seconds
|
817
|
+
|
818
|
+
def initialize(**args)
|
819
|
+
update!(**args)
|
820
|
+
end
|
821
|
+
|
822
|
+
# Update properties of this object
|
823
|
+
def update!(**args)
|
824
|
+
@effective_time = args[:effective_time] if args.key?(:effective_time)
|
825
|
+
@retention_duration_seconds = args[:retention_duration_seconds] if args.key?(:retention_duration_seconds)
|
826
|
+
end
|
827
|
+
end
|
828
|
+
|
754
829
|
# The bucket's versioning configuration.
|
755
830
|
class Versioning
|
756
831
|
include Google::Apis::Core::Hashable
|
@@ -1740,6 +1815,11 @@ module Google
|
|
1740
1815
|
# @return [Google::Apis::StorageV1::Object::Owner]
|
1741
1816
|
attr_accessor :owner
|
1742
1817
|
|
1818
|
+
# A collection of object level retention parameters.
|
1819
|
+
# Corresponds to the JSON property `retention`
|
1820
|
+
# @return [Google::Apis::StorageV1::Object::Retention]
|
1821
|
+
attr_accessor :retention
|
1822
|
+
|
1743
1823
|
# A server-determined value that specifies the earliest time that the object's
|
1744
1824
|
# retention period expires. This value is in RFC 3339 format. Note 1: This field
|
1745
1825
|
# is not provided for objects with an active event-based hold, since retention
|
@@ -1830,6 +1910,7 @@ module Google
|
|
1830
1910
|
@metageneration = args[:metageneration] if args.key?(:metageneration)
|
1831
1911
|
@name = args[:name] if args.key?(:name)
|
1832
1912
|
@owner = args[:owner] if args.key?(:owner)
|
1913
|
+
@retention = args[:retention] if args.key?(:retention)
|
1833
1914
|
@retention_expiration_time = args[:retention_expiration_time] if args.key?(:retention_expiration_time)
|
1834
1915
|
@self_link = args[:self_link] if args.key?(:self_link)
|
1835
1916
|
@size = args[:size] if args.key?(:size)
|
@@ -1891,6 +1972,31 @@ module Google
|
|
1891
1972
|
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
1892
1973
|
end
|
1893
1974
|
end
|
1975
|
+
|
1976
|
+
# A collection of object level retention parameters.
|
1977
|
+
class Retention
|
1978
|
+
include Google::Apis::Core::Hashable
|
1979
|
+
|
1980
|
+
# The bucket's object retention mode, can only be Unlocked or Locked.
|
1981
|
+
# Corresponds to the JSON property `mode`
|
1982
|
+
# @return [String]
|
1983
|
+
attr_accessor :mode
|
1984
|
+
|
1985
|
+
# A time in RFC 3339 format until which object retention protects this object.
|
1986
|
+
# Corresponds to the JSON property `retainUntilTime`
|
1987
|
+
# @return [DateTime]
|
1988
|
+
attr_accessor :retain_until_time
|
1989
|
+
|
1990
|
+
def initialize(**args)
|
1991
|
+
update!(**args)
|
1992
|
+
end
|
1993
|
+
|
1994
|
+
# Update properties of this object
|
1995
|
+
def update!(**args)
|
1996
|
+
@mode = args[:mode] if args.key?(:mode)
|
1997
|
+
@retain_until_time = args[:retain_until_time] if args.key?(:retain_until_time)
|
1998
|
+
end
|
1999
|
+
end
|
1894
2000
|
end
|
1895
2001
|
|
1896
2002
|
# An access-control entry.
|
@@ -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.26.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 = "20230914"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -103,6 +103,12 @@ module Google
|
|
103
103
|
include Google::Apis::Core::JsonObjectSupport
|
104
104
|
end
|
105
105
|
|
106
|
+
class ObjectRetention
|
107
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
108
|
+
|
109
|
+
include Google::Apis::Core::JsonObjectSupport
|
110
|
+
end
|
111
|
+
|
106
112
|
class Owner
|
107
113
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
108
114
|
|
@@ -115,6 +121,12 @@ module Google
|
|
115
121
|
include Google::Apis::Core::JsonObjectSupport
|
116
122
|
end
|
117
123
|
|
124
|
+
class SoftDeletePolicy
|
125
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
126
|
+
|
127
|
+
include Google::Apis::Core::JsonObjectSupport
|
128
|
+
end
|
129
|
+
|
118
130
|
class Versioning
|
119
131
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
120
132
|
|
@@ -252,6 +264,12 @@ module Google
|
|
252
264
|
|
253
265
|
include Google::Apis::Core::JsonObjectSupport
|
254
266
|
end
|
267
|
+
|
268
|
+
class Retention
|
269
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
270
|
+
|
271
|
+
include Google::Apis::Core::JsonObjectSupport
|
272
|
+
end
|
255
273
|
|
256
274
|
include Google::Apis::Core::JsonObjectSupport
|
257
275
|
end
|
@@ -342,6 +360,8 @@ module Google
|
|
342
360
|
|
343
361
|
property :metageneration, :numeric_string => true, as: 'metageneration'
|
344
362
|
property :name, as: 'name'
|
363
|
+
property :object_retention, as: 'objectRetention', class: Google::Apis::StorageV1::Bucket::ObjectRetention, decorator: Google::Apis::StorageV1::Bucket::ObjectRetention::Representation
|
364
|
+
|
345
365
|
property :owner, as: 'owner', class: Google::Apis::StorageV1::Bucket::Owner, decorator: Google::Apis::StorageV1::Bucket::Owner::Representation
|
346
366
|
|
347
367
|
property :project_number, :numeric_string => true, as: 'projectNumber'
|
@@ -350,6 +370,8 @@ module Google
|
|
350
370
|
property :rpo, as: 'rpo'
|
351
371
|
property :satisfies_pzs, as: 'satisfiesPZS'
|
352
372
|
property :self_link, as: 'selfLink'
|
373
|
+
property :soft_delete_policy, as: 'softDeletePolicy', class: Google::Apis::StorageV1::Bucket::SoftDeletePolicy, decorator: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::Representation
|
374
|
+
|
353
375
|
property :storage_class, as: 'storageClass'
|
354
376
|
property :time_created, as: 'timeCreated', type: DateTime
|
355
377
|
|
@@ -365,6 +387,9 @@ module Google
|
|
365
387
|
# @private
|
366
388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
367
389
|
property :enabled, as: 'enabled'
|
390
|
+
property :terminal_storage_class, as: 'terminalStorageClass'
|
391
|
+
property :terminal_storage_class_update_time, as: 'terminalStorageClassUpdateTime', type: DateTime
|
392
|
+
|
368
393
|
property :toggle_time, as: 'toggleTime', type: DateTime
|
369
394
|
|
370
395
|
end
|
@@ -485,6 +510,13 @@ module Google
|
|
485
510
|
end
|
486
511
|
end
|
487
512
|
|
513
|
+
class ObjectRetention
|
514
|
+
# @private
|
515
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
516
|
+
property :mode, as: 'mode'
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
488
520
|
class Owner
|
489
521
|
# @private
|
490
522
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -503,6 +535,15 @@ module Google
|
|
503
535
|
end
|
504
536
|
end
|
505
537
|
|
538
|
+
class SoftDeletePolicy
|
539
|
+
# @private
|
540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
541
|
+
property :effective_time, as: 'effectiveTime', type: DateTime
|
542
|
+
|
543
|
+
property :retention_duration_seconds, :numeric_string => true, as: 'retentionDurationSeconds'
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
506
547
|
class Versioning
|
507
548
|
# @private
|
508
549
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -753,6 +794,8 @@ module Google
|
|
753
794
|
property :name, as: 'name'
|
754
795
|
property :owner, as: 'owner', class: Google::Apis::StorageV1::Object::Owner, decorator: Google::Apis::StorageV1::Object::Owner::Representation
|
755
796
|
|
797
|
+
property :retention, as: 'retention', class: Google::Apis::StorageV1::Object::Retention, decorator: Google::Apis::StorageV1::Object::Retention::Representation
|
798
|
+
|
756
799
|
property :retention_expiration_time, as: 'retentionExpirationTime', type: DateTime
|
757
800
|
|
758
801
|
property :self_link, as: 'selfLink'
|
@@ -784,6 +827,15 @@ module Google
|
|
784
827
|
property :entity_id, as: 'entityId'
|
785
828
|
end
|
786
829
|
end
|
830
|
+
|
831
|
+
class Retention
|
832
|
+
# @private
|
833
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
834
|
+
property :mode, as: 'mode'
|
835
|
+
property :retain_until_time, as: 'retainUntilTime', type: DateTime
|
836
|
+
|
837
|
+
end
|
838
|
+
end
|
787
839
|
end
|
788
840
|
|
789
841
|
class ObjectAccessControl
|
@@ -426,6 +426,8 @@ module Google
|
|
426
426
|
# @param [String] project
|
427
427
|
# A valid API project identifier.
|
428
428
|
# @param [Google::Apis::StorageV1::Bucket] bucket_object
|
429
|
+
# @param [Boolean] enable_object_retention
|
430
|
+
# When set to true, object retention is enabled for this bucket.
|
429
431
|
# @param [String] predefined_acl
|
430
432
|
# Apply a predefined set of access controls to this bucket.
|
431
433
|
# @param [String] predefined_default_object_acl
|
@@ -454,12 +456,13 @@ module Google
|
|
454
456
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
455
457
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
456
458
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
457
|
-
def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
459
|
+
def insert_bucket(project, bucket_object = nil, enable_object_retention: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
458
460
|
command = make_simple_command(:post, 'b', options)
|
459
461
|
command.request_representation = Google::Apis::StorageV1::Bucket::Representation
|
460
462
|
command.request_object = bucket_object
|
461
463
|
command.response_representation = Google::Apis::StorageV1::Bucket::Representation
|
462
464
|
command.response_class = Google::Apis::StorageV1::Bucket
|
465
|
+
command.query['enableObjectRetention'] = enable_object_retention unless enable_object_retention.nil?
|
463
466
|
command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
|
464
467
|
command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil?
|
465
468
|
command.query['project'] = project unless project.nil?
|
@@ -2073,6 +2076,9 @@ module Google
|
|
2073
2076
|
# @param [Fixnum] if_metageneration_not_match
|
2074
2077
|
# Makes the operation conditional on whether the object's current metageneration
|
2075
2078
|
# does not match the given value.
|
2079
|
+
# @param [Boolean] override_unlocked_retention
|
2080
|
+
# Must be true to remove the retention configuration, reduce its unlocked
|
2081
|
+
# retention period, or change its mode from unlocked to locked.
|
2076
2082
|
# @param [String] predefined_acl
|
2077
2083
|
# Apply a predefined set of access controls to this object.
|
2078
2084
|
# @param [String] projection
|
@@ -2098,7 +2104,7 @@ module Google
|
|
2098
2104
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2099
2105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2100
2106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2101
|
-
def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2107
|
+
def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, override_unlocked_retention: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2102
2108
|
command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
|
2103
2109
|
command.request_representation = Google::Apis::StorageV1::Object::Representation
|
2104
2110
|
command.request_object = object_object
|
@@ -2111,6 +2117,7 @@ module Google
|
|
2111
2117
|
command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
|
2112
2118
|
command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
|
2113
2119
|
command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
|
2120
|
+
command.query['overrideUnlockedRetention'] = override_unlocked_retention unless override_unlocked_retention.nil?
|
2114
2121
|
command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
|
2115
2122
|
command.query['projection'] = projection unless projection.nil?
|
2116
2123
|
command.query['userProject'] = user_project unless user_project.nil?
|
@@ -2430,6 +2437,9 @@ module Google
|
|
2430
2437
|
# @param [Fixnum] if_metageneration_not_match
|
2431
2438
|
# Makes the operation conditional on whether the object's current metageneration
|
2432
2439
|
# does not match the given value.
|
2440
|
+
# @param [Boolean] override_unlocked_retention
|
2441
|
+
# Must be true to remove the retention configuration, reduce its unlocked
|
2442
|
+
# retention period, or change its mode from unlocked to locked.
|
2433
2443
|
# @param [String] predefined_acl
|
2434
2444
|
# Apply a predefined set of access controls to this object.
|
2435
2445
|
# @param [String] projection
|
@@ -2455,7 +2465,7 @@ module Google
|
|
2455
2465
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2456
2466
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2457
2467
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2458
|
-
def update_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2468
|
+
def update_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, override_unlocked_retention: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2459
2469
|
command = make_simple_command(:put, 'b/{bucket}/o/{object}', options)
|
2460
2470
|
command.request_representation = Google::Apis::StorageV1::Object::Representation
|
2461
2471
|
command.request_object = object_object
|
@@ -2468,6 +2478,7 @@ module Google
|
|
2468
2478
|
command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
|
2469
2479
|
command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
|
2470
2480
|
command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
|
2481
|
+
command.query['overrideUnlockedRetention'] = override_unlocked_retention unless override_unlocked_retention.nil?
|
2471
2482
|
command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
|
2472
2483
|
command.query['projection'] = projection unless projection.nil?
|
2473
2484
|
command.query['userProject'] = user_project unless user_project.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.26.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-17 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.26.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: []
|