google-apis-storage_v1 0.12.0 → 0.15.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc97350f7f65630ae774f2498125e1cd06c932a4b1042de08ff5c76d6e5e3f0e
|
4
|
+
data.tar.gz: 746b530775be9d849e7ced28422d7736176a902257c267c1541d14431393ed95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e59dd197ea15a71b34446dbe27466841bc182a629d626846c863fa9748c10bec324179d67973a51f27b0d9ae2c0083b152fca856c8a0880b4c48041d2d3c140f
|
7
|
+
data.tar.gz: 98df2734ac2600c6bd576eb647737fab3fc763acdbd96f44ba0df8ca4dc8f5161e3f1ab733b83635fd16bcfda8adb19b83c067f3a85c0e092ad1336886b7135a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-storage_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2022-06-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220608
|
6
|
+
* Regenerated using generator version 0.5.0
|
7
|
+
|
8
|
+
### v0.14.0 (2022-05-13)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220509
|
11
|
+
|
12
|
+
### v0.13.0 (2022-04-05)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220401
|
15
|
+
|
3
16
|
### v0.12.0 (2022-04-01)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220328
|
@@ -46,6 +46,11 @@ module Google
|
|
46
46
|
# @return [Array<Google::Apis::StorageV1::Bucket::CorsConfiguration>]
|
47
47
|
attr_accessor :cors_configurations
|
48
48
|
|
49
|
+
# The bucket's custom placement configuration for Custom Dual Regions.
|
50
|
+
# Corresponds to the JSON property `customPlacementConfig`
|
51
|
+
# @return [Google::Apis::StorageV1::Bucket::CustomPlacementConfig]
|
52
|
+
attr_accessor :custom_placement_config
|
53
|
+
|
49
54
|
# The default value for event-based hold on newly created objects in this bucket.
|
50
55
|
# Event-based hold is a way to retain objects indefinitely until an event
|
51
56
|
# occurs, signified by the hold's release. After being released, such objects
|
@@ -215,6 +220,7 @@ module Google
|
|
215
220
|
@autoclass = args[:autoclass] if args.key?(:autoclass)
|
216
221
|
@billing = args[:billing] if args.key?(:billing)
|
217
222
|
@cors_configurations = args[:cors_configurations] if args.key?(:cors_configurations)
|
223
|
+
@custom_placement_config = args[:custom_placement_config] if args.key?(:custom_placement_config)
|
218
224
|
@default_event_based_hold = args[:default_event_based_hold] if args.key?(:default_event_based_hold)
|
219
225
|
@default_object_acl = args[:default_object_acl] if args.key?(:default_object_acl)
|
220
226
|
@encryption = args[:encryption] if args.key?(:encryption)
|
@@ -331,6 +337,25 @@ module Google
|
|
331
337
|
end
|
332
338
|
end
|
333
339
|
|
340
|
+
# The bucket's custom placement configuration for Custom Dual Regions.
|
341
|
+
class CustomPlacementConfig
|
342
|
+
include Google::Apis::Core::Hashable
|
343
|
+
|
344
|
+
# The list of regional locations in which data is placed.
|
345
|
+
# Corresponds to the JSON property `dataLocations`
|
346
|
+
# @return [Array<String>]
|
347
|
+
attr_accessor :data_locations
|
348
|
+
|
349
|
+
def initialize(**args)
|
350
|
+
update!(**args)
|
351
|
+
end
|
352
|
+
|
353
|
+
# Update properties of this object
|
354
|
+
def update!(**args)
|
355
|
+
@data_locations = args[:data_locations] if args.key?(:data_locations)
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
334
359
|
# Encryption configuration for a bucket.
|
335
360
|
class Encryption
|
336
361
|
include Google::Apis::Core::Hashable
|
@@ -502,7 +527,8 @@ module Google
|
|
502
527
|
# @return [String]
|
503
528
|
attr_accessor :storage_class
|
504
529
|
|
505
|
-
# Type of the action. Currently, only Delete
|
530
|
+
# Type of the action. Currently, only Delete, SetStorageClass, and
|
531
|
+
# AbortIncompleteMultipartUpload are supported.
|
506
532
|
# Corresponds to the JSON property `type`
|
507
533
|
# @return [String]
|
508
534
|
attr_accessor :type
|
@@ -574,6 +600,12 @@ module Google
|
|
574
600
|
# @return [String]
|
575
601
|
attr_accessor :matches_pattern
|
576
602
|
|
603
|
+
# List of object name prefixes. This condition will be satisfied when at least
|
604
|
+
# one of the prefixes exactly matches the beginning of the object name.
|
605
|
+
# Corresponds to the JSON property `matchesPrefix`
|
606
|
+
# @return [Array<String>]
|
607
|
+
attr_accessor :matches_prefix
|
608
|
+
|
577
609
|
# Objects having any of the storage classes specified by this condition will be
|
578
610
|
# matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE,
|
579
611
|
# STANDARD, and DURABLE_REDUCED_AVAILABILITY.
|
@@ -581,6 +613,12 @@ module Google
|
|
581
613
|
# @return [Array<String>]
|
582
614
|
attr_accessor :matches_storage_class
|
583
615
|
|
616
|
+
# List of object name suffixes. This condition will be satisfied when at least
|
617
|
+
# one of the suffixes exactly matches the end of the object name.
|
618
|
+
# Corresponds to the JSON property `matchesSuffix`
|
619
|
+
# @return [Array<String>]
|
620
|
+
attr_accessor :matches_suffix
|
621
|
+
|
584
622
|
# A date in RFC 3339 format with only the date part (for instance, "2013-01-15").
|
585
623
|
# This condition is satisfied when the noncurrent time on an object is before
|
586
624
|
# this date in UTC. This condition is relevant only for versioned objects.
|
@@ -608,7 +646,9 @@ module Google
|
|
608
646
|
@days_since_noncurrent_time = args[:days_since_noncurrent_time] if args.key?(:days_since_noncurrent_time)
|
609
647
|
@is_live = args[:is_live] if args.key?(:is_live)
|
610
648
|
@matches_pattern = args[:matches_pattern] if args.key?(:matches_pattern)
|
649
|
+
@matches_prefix = args[:matches_prefix] if args.key?(:matches_prefix)
|
611
650
|
@matches_storage_class = args[:matches_storage_class] if args.key?(:matches_storage_class)
|
651
|
+
@matches_suffix = args[:matches_suffix] if args.key?(:matches_suffix)
|
612
652
|
@noncurrent_time_before = args[:noncurrent_time_before] if args.key?(:noncurrent_time_before)
|
613
653
|
@num_newer_versions = args[:num_newer_versions] if args.key?(:num_newer_versions)
|
614
654
|
end
|
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220608"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -43,6 +43,12 @@ module Google
|
|
43
43
|
include Google::Apis::Core::JsonObjectSupport
|
44
44
|
end
|
45
45
|
|
46
|
+
class CustomPlacementConfig
|
47
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
48
|
+
|
49
|
+
include Google::Apis::Core::JsonObjectSupport
|
50
|
+
end
|
51
|
+
|
46
52
|
class Encryption
|
47
53
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
48
54
|
|
@@ -291,6 +297,8 @@ module Google
|
|
291
297
|
|
292
298
|
collection :cors_configurations, as: 'cors', class: Google::Apis::StorageV1::Bucket::CorsConfiguration, decorator: Google::Apis::StorageV1::Bucket::CorsConfiguration::Representation
|
293
299
|
|
300
|
+
property :custom_placement_config, as: 'customPlacementConfig', class: Google::Apis::StorageV1::Bucket::CustomPlacementConfig, decorator: Google::Apis::StorageV1::Bucket::CustomPlacementConfig::Representation
|
301
|
+
|
294
302
|
property :default_event_based_hold, as: 'defaultEventBasedHold'
|
295
303
|
collection :default_object_acl, as: 'defaultObjectAcl', class: Google::Apis::StorageV1::ObjectAccessControl, decorator: Google::Apis::StorageV1::ObjectAccessControl::Representation
|
296
304
|
|
@@ -355,6 +363,13 @@ module Google
|
|
355
363
|
end
|
356
364
|
end
|
357
365
|
|
366
|
+
class CustomPlacementConfig
|
367
|
+
# @private
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
369
|
+
collection :data_locations, as: 'dataLocations'
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
358
373
|
class Encryption
|
359
374
|
# @private
|
360
375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -427,7 +442,9 @@ module Google
|
|
427
442
|
property :days_since_noncurrent_time, as: 'daysSinceNoncurrentTime'
|
428
443
|
property :is_live, as: 'isLive'
|
429
444
|
property :matches_pattern, as: 'matchesPattern'
|
445
|
+
collection :matches_prefix, as: 'matchesPrefix'
|
430
446
|
collection :matches_storage_class, as: 'matchesStorageClass'
|
447
|
+
collection :matches_suffix, as: 'matchesSuffix'
|
431
448
|
property :noncurrent_time_before, as: 'noncurrentTimeBefore', type: Date
|
432
449
|
|
433
450
|
property :num_newer_versions, as: 'numNewerVersions'
|