google-apis-storage_v1 0.13.0 → 0.16.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: fc65d37fffb5ebbc836b9e9b000ca8e5c8e04d2b19af5d07c384ed49ba521da6
4
- data.tar.gz: cb998d9a1c1e0012aa7dcab41cd4f2bee7b86092fafbe222cbed2eca3aeda13a
3
+ metadata.gz: b65528191450f8bd89f136dd864c706ccbc0a685fdfddf7cffa14b4f6fa6a66d
4
+ data.tar.gz: 36141b724038f97913c281628df755003578b25622c902044f86697ef4130f52
5
5
  SHA512:
6
- metadata.gz: 84300823f9a4d9b75e1d9bfddac2b6725af5b5bc59646d30683a13cb75a3705e981dd91e41db6dd0992980514f779fb7d357b9dff1173acb6cce1678c0f9aeca
7
- data.tar.gz: 4a3068116eedf94c8adcf97dc10b27af9e1bb511c6ef5a20163d937a6a4306fdb61d866000bcf1d89f02966c697c8a5bff70cd2cc574d39df87a200e56f5bbd8
6
+ metadata.gz: e442110907685fa479011a8ebc4d26c570cda0ea06472a053d42ea8a518b0b733bad478116ad9a7ea6a0bdfa9f963631e8a055d9e4a451569b8d734a1a3c6da3
7
+ data.tar.gz: 64d3638750a438dd7a7c608e7064d8dda7b0b73ad248a5596eb6eabe23db7e75e2b43443fb1461ac3ad751e35c9e14ded6d97ca16817f272408b7d4c2e09beba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.16.0 (2022-06-21)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.15.0 (2022-06-11)
8
+
9
+ * Regenerated from discovery document revision 20220608
10
+ * Regenerated using generator version 0.5.0
11
+
12
+ ### v0.14.0 (2022-05-13)
13
+
14
+ * Regenerated from discovery document revision 20220509
15
+
3
16
  ### v0.13.0 (2022-04-05)
4
17
 
5
18
  * Regenerated from discovery document revision 20220401
@@ -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 and SetStorageClass are supported.
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.13.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220401"
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'
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.13.0
4
+ version: 0.16.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: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-06-27 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.4'
19
+ version: '0.6'
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.4'
29
+ version: '0.6'
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-storage_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.16.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Storage JSON API V1