google-apis-storage_v1 0.7.0 → 0.8.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: 9d63506aefa57f170d680e31d991abf54080d7aaa03a634f49fd99bb45a6f844
|
4
|
+
data.tar.gz: 773352a014ea36e4be76b9efe854997ef2af347a4ecc2abe4156238c5fed0269
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 551024165be12d18f8f616523af1f07d79914368a8ba96b2bf85420100cfa0dda6c37ff3626358aacddc3a2ad4ea205b5abddfbbc75ea38cef07d5876e647d1b
|
7
|
+
data.tar.gz: 856f15d95de12d7e6e80817c135a46f45db2a2789f1b6100584602cc0ce9eff5ad616302ee811ff1dda9a4a73795b65e81a66501f76be9a69d87d157177fd531
|
data/CHANGELOG.md
CHANGED
@@ -41,6 +41,11 @@ module Google
|
|
41
41
|
# @return [Array<Google::Apis::StorageV1::Bucket::CorsConfiguration>]
|
42
42
|
attr_accessor :cors_configurations
|
43
43
|
|
44
|
+
# The bucket's custom placement configuration for Custom Dual Regions.
|
45
|
+
# Corresponds to the JSON property `customPlacementConfig`
|
46
|
+
# @return [Google::Apis::StorageV1::Bucket::CustomPlacementConfig]
|
47
|
+
attr_accessor :custom_placement_config
|
48
|
+
|
44
49
|
# The default value for event-based hold on newly created objects in this bucket.
|
45
50
|
# Event-based hold is a way to retain objects indefinitely until an event
|
46
51
|
# occurs, signified by the hold's release. After being released, such objects
|
@@ -200,15 +205,6 @@ module Google
|
|
200
205
|
# @return [Google::Apis::StorageV1::Bucket::Website]
|
201
206
|
attr_accessor :website
|
202
207
|
|
203
|
-
# The zone or zones from which the bucket is intended to use zonal quota.
|
204
|
-
# Requests for data from outside the specified affinities are still allowed but
|
205
|
-
# won't be able to use zonal quota. The zone or zones need to be within the
|
206
|
-
# bucket location otherwise the requests will fail with a 400 Bad Request
|
207
|
-
# response.
|
208
|
-
# Corresponds to the JSON property `zoneAffinity`
|
209
|
-
# @return [Array<String>]
|
210
|
-
attr_accessor :zone_affinity
|
211
|
-
|
212
208
|
def initialize(**args)
|
213
209
|
update!(**args)
|
214
210
|
end
|
@@ -218,6 +214,7 @@ module Google
|
|
218
214
|
@acl = args[:acl] if args.key?(:acl)
|
219
215
|
@billing = args[:billing] if args.key?(:billing)
|
220
216
|
@cors_configurations = args[:cors_configurations] if args.key?(:cors_configurations)
|
217
|
+
@custom_placement_config = args[:custom_placement_config] if args.key?(:custom_placement_config)
|
221
218
|
@default_event_based_hold = args[:default_event_based_hold] if args.key?(:default_event_based_hold)
|
222
219
|
@default_object_acl = args[:default_object_acl] if args.key?(:default_object_acl)
|
223
220
|
@encryption = args[:encryption] if args.key?(:encryption)
|
@@ -243,7 +240,6 @@ module Google
|
|
243
240
|
@updated = args[:updated] if args.key?(:updated)
|
244
241
|
@versioning = args[:versioning] if args.key?(:versioning)
|
245
242
|
@website = args[:website] if args.key?(:website)
|
246
|
-
@zone_affinity = args[:zone_affinity] if args.key?(:zone_affinity)
|
247
243
|
end
|
248
244
|
|
249
245
|
# The bucket's billing configuration.
|
@@ -308,6 +304,25 @@ module Google
|
|
308
304
|
end
|
309
305
|
end
|
310
306
|
|
307
|
+
# The bucket's custom placement configuration for Custom Dual Regions.
|
308
|
+
class CustomPlacementConfig
|
309
|
+
include Google::Apis::Core::Hashable
|
310
|
+
|
311
|
+
# The list of regional locations in which data is placed.
|
312
|
+
# Corresponds to the JSON property `dataLocations`
|
313
|
+
# @return [Array<String>]
|
314
|
+
attr_accessor :data_locations
|
315
|
+
|
316
|
+
def initialize(**args)
|
317
|
+
update!(**args)
|
318
|
+
end
|
319
|
+
|
320
|
+
# Update properties of this object
|
321
|
+
def update!(**args)
|
322
|
+
@data_locations = args[:data_locations] if args.key?(:data_locations)
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
311
326
|
# Encryption configuration for a bucket.
|
312
327
|
class Encryption
|
313
328
|
include Google::Apis::Core::Hashable
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210918"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -37,6 +37,12 @@ module Google
|
|
37
37
|
include Google::Apis::Core::JsonObjectSupport
|
38
38
|
end
|
39
39
|
|
40
|
+
class CustomPlacementConfig
|
41
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
42
|
+
|
43
|
+
include Google::Apis::Core::JsonObjectSupport
|
44
|
+
end
|
45
|
+
|
40
46
|
class Encryption
|
41
47
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
42
48
|
|
@@ -283,6 +289,8 @@ module Google
|
|
283
289
|
|
284
290
|
collection :cors_configurations, as: 'cors', class: Google::Apis::StorageV1::Bucket::CorsConfiguration, decorator: Google::Apis::StorageV1::Bucket::CorsConfiguration::Representation
|
285
291
|
|
292
|
+
property :custom_placement_config, as: 'customPlacementConfig', class: Google::Apis::StorageV1::Bucket::CustomPlacementConfig, decorator: Google::Apis::StorageV1::Bucket::CustomPlacementConfig::Representation
|
293
|
+
|
286
294
|
property :default_event_based_hold, as: 'defaultEventBasedHold'
|
287
295
|
collection :default_object_acl, as: 'defaultObjectAcl', class: Google::Apis::StorageV1::ObjectAccessControl, decorator: Google::Apis::StorageV1::ObjectAccessControl::Representation
|
288
296
|
|
@@ -319,7 +327,6 @@ module Google
|
|
319
327
|
|
320
328
|
property :website, as: 'website', class: Google::Apis::StorageV1::Bucket::Website, decorator: Google::Apis::StorageV1::Bucket::Website::Representation
|
321
329
|
|
322
|
-
collection :zone_affinity, as: 'zoneAffinity'
|
323
330
|
end
|
324
331
|
|
325
332
|
class Billing
|
@@ -339,6 +346,13 @@ module Google
|
|
339
346
|
end
|
340
347
|
end
|
341
348
|
|
349
|
+
class CustomPlacementConfig
|
350
|
+
# @private
|
351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
collection :data_locations, as: 'dataLocations'
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
342
356
|
class Encryption
|
343
357
|
# @private
|
344
358
|
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.
|
4
|
+
version: 0.8.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: 2021-09-
|
11
|
+
date: 2021-09-27 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/master/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.8.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-storage_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|