google-apis-storage_v1 0.10.0 → 0.13.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 +4 -4
- data/CHANGELOG.md +13 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/storage_v1/classes.rb +0 -25
- data/lib/google/apis/storage_v1/gem_version.rb +3 -3
- data/lib/google/apis/storage_v1/representations.rb +0 -15
- data/lib/google/apis/storage_v1/service.rb +46 -230
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc65d37fffb5ebbc836b9e9b000ca8e5c8e04d2b19af5d07c384ed49ba521da6
|
4
|
+
data.tar.gz: cb998d9a1c1e0012aa7dcab41cd4f2bee7b86092fafbe222cbed2eca3aeda13a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84300823f9a4d9b75e1d9bfddac2b6725af5b5bc59646d30683a13cb75a3705e981dd91e41db6dd0992980514f779fb7d357b9dff1173acb6cce1678c0f9aeca
|
7
|
+
data.tar.gz: 4a3068116eedf94c8adcf97dc10b27af9e1bb511c6ef5a20163d937a6a4306fdb61d866000bcf1d89f02966c697c8a5bff70cd2cc574d39df87a200e56f5bbd8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-storage_v1
|
2
2
|
|
3
|
+
### v0.13.0 (2022-04-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220401
|
6
|
+
|
7
|
+
### v0.12.0 (2022-04-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220328
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.11.0 (2021-12-14)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
3
16
|
### v0.10.0 (2021-12-05)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20211201
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/storage_v1"
|
|
51
51
|
client = Google::Apis::StorageV1::StorageService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -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
|
@@ -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.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220401"
|
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
|