google-apis-storage_v1 0.11.0 → 0.14.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: 016b33a9fb3f3cf83ad3b022162b0681a39401969ef2b0bb86c1d1a59fc25946
4
- data.tar.gz: 9bfd3dc689547ee29407f1814a1c572090487761a32268cd3e7190b49a15c990
3
+ metadata.gz: 6b09a7a89c3359a7a7ac3b226656526bc2995ac49274c27dd7059dd0e1aa5b65
4
+ data.tar.gz: b587f670edbe3d16d8a35ae85e18704536fea3335760cca736f33a1f9a3501c7
5
5
  SHA512:
6
- metadata.gz: 3b81f46df4a61fc7627cd7468a56352f203bba1734161c4fa1ba7f1b0461b1f958d5b05a4c397d14b46995f01b0326bda90d40b1ae06f6e47ee576d273006727
7
- data.tar.gz: 2f5ce26cd9a80f0c67bdc0e554aea357381214aaf264fe41c896a78517549d54d3ea39597440aaaf1f67e0d6c07575785799c3c68ab818ef75d253ddb6bd38cc
6
+ metadata.gz: 942de35fa75c5ca80c2b9637e74114d3a73c0b313f73d1b0829c1f79cc165b0581d788c4bbec2cf7751726d8a7d1db567a3550b32c59cfeccbd74bd35835698c
7
+ data.tar.gz: 3a41e17ccbfa2ea364bfcce6c43f95c62d62bbf43a7e2e5d7abc64af16c0baf817ef5b946880905523cc0899edcd80ded09de9a279a4af891902f09782faabeb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.14.0 (2022-05-13)
4
+
5
+ * Regenerated from discovery document revision 20220509
6
+
7
+ ### v0.13.0 (2022-04-05)
8
+
9
+ * Regenerated from discovery document revision 20220401
10
+
11
+ ### v0.12.0 (2022-04-01)
12
+
13
+ * Regenerated from discovery document revision 20220328
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.11.0 (2021-12-14)
4
17
 
5
18
  * Unspecified changes
@@ -46,11 +46,6 @@ 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
-
54
49
  # The default value for event-based hold on newly created objects in this bucket.
55
50
  # Event-based hold is a way to retain objects indefinitely until an event
56
51
  # occurs, signified by the hold's release. After being released, such objects
@@ -220,7 +215,6 @@ module Google
220
215
  @autoclass = args[:autoclass] if args.key?(:autoclass)
221
216
  @billing = args[:billing] if args.key?(:billing)
222
217
  @cors_configurations = args[:cors_configurations] if args.key?(:cors_configurations)
223
- @custom_placement_config = args[:custom_placement_config] if args.key?(:custom_placement_config)
224
218
  @default_event_based_hold = args[:default_event_based_hold] if args.key?(:default_event_based_hold)
225
219
  @default_object_acl = args[:default_object_acl] if args.key?(:default_object_acl)
226
220
  @encryption = args[:encryption] if args.key?(:encryption)
@@ -337,25 +331,6 @@ module Google
337
331
  end
338
332
  end
339
333
 
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
-
359
334
  # Encryption configuration for a bucket.
360
335
  class Encryption
361
336
  include Google::Apis::Core::Hashable
@@ -599,6 +574,12 @@ module Google
599
574
  # @return [String]
600
575
  attr_accessor :matches_pattern
601
576
 
577
+ # List of object name prefixes. This condition will be satisfied when at least
578
+ # one of the prefixes exactly matches the beginning of the object name.
579
+ # Corresponds to the JSON property `matchesPrefix`
580
+ # @return [Array<String>]
581
+ attr_accessor :matches_prefix
582
+
602
583
  # Objects having any of the storage classes specified by this condition will be
603
584
  # matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE,
604
585
  # STANDARD, and DURABLE_REDUCED_AVAILABILITY.
@@ -606,6 +587,12 @@ module Google
606
587
  # @return [Array<String>]
607
588
  attr_accessor :matches_storage_class
608
589
 
590
+ # List of object name suffixes. This condition will be satisfied when at least
591
+ # one of the suffixes exactly matches the end of the object name.
592
+ # Corresponds to the JSON property `matchesSuffix`
593
+ # @return [Array<String>]
594
+ attr_accessor :matches_suffix
595
+
609
596
  # A date in RFC 3339 format with only the date part (for instance, "2013-01-15").
610
597
  # This condition is satisfied when the noncurrent time on an object is before
611
598
  # this date in UTC. This condition is relevant only for versioned objects.
@@ -633,7 +620,9 @@ module Google
633
620
  @days_since_noncurrent_time = args[:days_since_noncurrent_time] if args.key?(:days_since_noncurrent_time)
634
621
  @is_live = args[:is_live] if args.key?(:is_live)
635
622
  @matches_pattern = args[:matches_pattern] if args.key?(:matches_pattern)
623
+ @matches_prefix = args[:matches_prefix] if args.key?(:matches_prefix)
636
624
  @matches_storage_class = args[:matches_storage_class] if args.key?(:matches_storage_class)
625
+ @matches_suffix = args[:matches_suffix] if args.key?(:matches_suffix)
637
626
  @noncurrent_time_before = args[:noncurrent_time_before] if args.key?(:noncurrent_time_before)
638
627
  @num_newer_versions = args[:num_newer_versions] if args.key?(:num_newer_versions)
639
628
  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.11.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211201"
25
+ REVISION = "20220509"
26
26
  end
27
27
  end
28
28
  end
@@ -43,12 +43,6 @@ 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
-
52
46
  class Encryption
53
47
  class Representation < Google::Apis::Core::JsonRepresentation; end
54
48
 
@@ -297,8 +291,6 @@ module Google
297
291
 
298
292
  collection :cors_configurations, as: 'cors', class: Google::Apis::StorageV1::Bucket::CorsConfiguration, decorator: Google::Apis::StorageV1::Bucket::CorsConfiguration::Representation
299
293
 
300
- property :custom_placement_config, as: 'customPlacementConfig', class: Google::Apis::StorageV1::Bucket::CustomPlacementConfig, decorator: Google::Apis::StorageV1::Bucket::CustomPlacementConfig::Representation
301
-
302
294
  property :default_event_based_hold, as: 'defaultEventBasedHold'
303
295
  collection :default_object_acl, as: 'defaultObjectAcl', class: Google::Apis::StorageV1::ObjectAccessControl, decorator: Google::Apis::StorageV1::ObjectAccessControl::Representation
304
296
 
@@ -363,13 +355,6 @@ module Google
363
355
  end
364
356
  end
365
357
 
366
- class CustomPlacementConfig
367
- # @private
368
- class Representation < Google::Apis::Core::JsonRepresentation
369
- collection :data_locations, as: 'dataLocations'
370
- end
371
- end
372
-
373
358
  class Encryption
374
359
  # @private
375
360
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -442,7 +427,9 @@ module Google
442
427
  property :days_since_noncurrent_time, as: 'daysSinceNoncurrentTime'
443
428
  property :is_live, as: 'isLive'
444
429
  property :matches_pattern, as: 'matchesPattern'
430
+ collection :matches_prefix, as: 'matchesPrefix'
445
431
  collection :matches_storage_class, as: 'matchesStorageClass'
432
+ collection :matches_suffix, as: 'matchesSuffix'
446
433
  property :noncurrent_time_before, as: 'noncurrentTimeBefore', type: Date
447
434
 
448
435
  property :num_newer_versions, as: 'numNewerVersions'