google-apis-storage_v1 0.4.0 → 0.8.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 +16 -0
- data/lib/google/apis/storage_v1/classes.rb +32 -10
- data/lib/google/apis/storage_v1/gem_version.rb +3 -3
- data/lib/google/apis/storage_v1/representations.rb +16 -1
- metadata +13 -7
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
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-storage_v1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-09-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210918
|
6
|
+
|
7
|
+
### v0.7.0 (2021-09-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210914
|
10
|
+
|
11
|
+
### v0.6.0 (2021-06-29)
|
12
|
+
|
13
|
+
* Regenerated using generator version 0.4.0
|
14
|
+
|
15
|
+
### v0.5.0 (2021-06-24)
|
16
|
+
|
17
|
+
* Regenerated using generator version 0.3.0
|
18
|
+
|
3
19
|
### v0.4.0 (2021-05-20)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.2.0
|
@@ -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
|
@@ -150,6 +155,12 @@ module Google
|
|
150
155
|
# @return [Google::Apis::StorageV1::Bucket::RetentionPolicy]
|
151
156
|
attr_accessor :retention_policy
|
152
157
|
|
158
|
+
# The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn
|
159
|
+
# on Turbo Replication on a bucket.
|
160
|
+
# Corresponds to the JSON property `rpo`
|
161
|
+
# @return [String]
|
162
|
+
attr_accessor :rpo
|
163
|
+
|
153
164
|
# Reserved for future use.
|
154
165
|
# Corresponds to the JSON property `satisfiesPZS`
|
155
166
|
# @return [Boolean]
|
@@ -194,15 +205,6 @@ module Google
|
|
194
205
|
# @return [Google::Apis::StorageV1::Bucket::Website]
|
195
206
|
attr_accessor :website
|
196
207
|
|
197
|
-
# The zone or zones from which the bucket is intended to use zonal quota.
|
198
|
-
# Requests for data from outside the specified affinities are still allowed but
|
199
|
-
# won't be able to use zonal quota. The zone or zones need to be within the
|
200
|
-
# bucket location otherwise the requests will fail with a 400 Bad Request
|
201
|
-
# response.
|
202
|
-
# Corresponds to the JSON property `zoneAffinity`
|
203
|
-
# @return [Array<String>]
|
204
|
-
attr_accessor :zone_affinity
|
205
|
-
|
206
208
|
def initialize(**args)
|
207
209
|
update!(**args)
|
208
210
|
end
|
@@ -212,6 +214,7 @@ module Google
|
|
212
214
|
@acl = args[:acl] if args.key?(:acl)
|
213
215
|
@billing = args[:billing] if args.key?(:billing)
|
214
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)
|
215
218
|
@default_event_based_hold = args[:default_event_based_hold] if args.key?(:default_event_based_hold)
|
216
219
|
@default_object_acl = args[:default_object_acl] if args.key?(:default_object_acl)
|
217
220
|
@encryption = args[:encryption] if args.key?(:encryption)
|
@@ -229,6 +232,7 @@ module Google
|
|
229
232
|
@owner = args[:owner] if args.key?(:owner)
|
230
233
|
@project_number = args[:project_number] if args.key?(:project_number)
|
231
234
|
@retention_policy = args[:retention_policy] if args.key?(:retention_policy)
|
235
|
+
@rpo = args[:rpo] if args.key?(:rpo)
|
232
236
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
233
237
|
@self_link = args[:self_link] if args.key?(:self_link)
|
234
238
|
@storage_class = args[:storage_class] if args.key?(:storage_class)
|
@@ -236,7 +240,6 @@ module Google
|
|
236
240
|
@updated = args[:updated] if args.key?(:updated)
|
237
241
|
@versioning = args[:versioning] if args.key?(:versioning)
|
238
242
|
@website = args[:website] if args.key?(:website)
|
239
|
-
@zone_affinity = args[:zone_affinity] if args.key?(:zone_affinity)
|
240
243
|
end
|
241
244
|
|
242
245
|
# The bucket's billing configuration.
|
@@ -301,6 +304,25 @@ module Google
|
|
301
304
|
end
|
302
305
|
end
|
303
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
|
+
|
304
326
|
# Encryption configuration for a bucket.
|
305
327
|
class Encryption
|
306
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
|
-
GENERATOR_VERSION = "0.
|
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
|
|
@@ -307,6 +315,7 @@ module Google
|
|
307
315
|
property :project_number, :numeric_string => true, as: 'projectNumber'
|
308
316
|
property :retention_policy, as: 'retentionPolicy', class: Google::Apis::StorageV1::Bucket::RetentionPolicy, decorator: Google::Apis::StorageV1::Bucket::RetentionPolicy::Representation
|
309
317
|
|
318
|
+
property :rpo, as: 'rpo'
|
310
319
|
property :satisfies_pzs, as: 'satisfiesPZS'
|
311
320
|
property :self_link, as: 'selfLink'
|
312
321
|
property :storage_class, as: 'storageClass'
|
@@ -318,7 +327,6 @@ module Google
|
|
318
327
|
|
319
328
|
property :website, as: 'website', class: Google::Apis::StorageV1::Bucket::Website, decorator: Google::Apis::StorageV1::Bucket::Website::Representation
|
320
329
|
|
321
|
-
collection :zone_affinity, as: 'zoneAffinity'
|
322
330
|
end
|
323
331
|
|
324
332
|
class Billing
|
@@ -338,6 +346,13 @@ module Google
|
|
338
346
|
end
|
339
347
|
end
|
340
348
|
|
349
|
+
class CustomPlacementConfig
|
350
|
+
# @private
|
351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
collection :data_locations, as: 'dataLocations'
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
341
356
|
class Encryption
|
342
357
|
# @private
|
343
358
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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-
|
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
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Storage JSON API V1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-storage_v1/CHANGELOG.md
|
55
|
-
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
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-storage_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|