google-apis-storage_v1 0.14.0 → 0.15.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: 6b09a7a89c3359a7a7ac3b226656526bc2995ac49274c27dd7059dd0e1aa5b65
4
- data.tar.gz: b587f670edbe3d16d8a35ae85e18704536fea3335760cca736f33a1f9a3501c7
3
+ metadata.gz: cc97350f7f65630ae774f2498125e1cd06c932a4b1042de08ff5c76d6e5e3f0e
4
+ data.tar.gz: 746b530775be9d849e7ced28422d7736176a902257c267c1541d14431393ed95
5
5
  SHA512:
6
- metadata.gz: 942de35fa75c5ca80c2b9637e74114d3a73c0b313f73d1b0829c1f79cc165b0581d788c4bbec2cf7751726d8a7d1db567a3550b32c59cfeccbd74bd35835698c
7
- data.tar.gz: 3a41e17ccbfa2ea364bfcce6c43f95c62d62bbf43a7e2e5d7abc64af16c0baf817ef5b946880905523cc0899edcd80ded09de9a279a4af891902f09782faabeb
6
+ metadata.gz: e59dd197ea15a71b34446dbe27466841bc182a629d626846c863fa9748c10bec324179d67973a51f27b0d9ae2c0083b152fca856c8a0880b4c48041d2d3c140f
7
+ data.tar.gz: 98df2734ac2600c6bd576eb647737fab3fc763acdbd96f44ba0df8ca4dc8f5161e3f1ab733b83635fd16bcfda8adb19b83c067f3a85c0e092ad1336886b7135a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.14.0 (2022-05-13)
4
9
 
5
10
  * Regenerated from discovery document revision 20220509
@@ -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
@@ -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.14.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.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220509"
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
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.14.0
4
+ version: 0.15.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-05-16 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.5'
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.5'
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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.15.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