google-apis-storage_v1 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/storage_v1/classes.rb +33 -0
- data/lib/google/apis/storage_v1/gem_version.rb +2 -2
- data/lib/google/apis/storage_v1/representations.rb +17 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d39b5a7030b3c46448bfed91dee7e11f91110f66f8d6586afa689b66ca9af24
|
4
|
+
data.tar.gz: c0afa1199a13180670ef00a4299a7372b31edbf63f7d222aa8826ebac771ed5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d172be36170052bf3f490c294eba1238225a27b22ed7abfcdd1f5700a677a9671e450fc13c4debf730507450dd1d77b1825212eff1822a4409130e1ee37c739c
|
7
|
+
data.tar.gz: 3b975bbd6805f7cbda4e11a2542308d818c06d2585159059422d208f67e4355e3b29cdae9c380518139e1da50f50b54f25a789a11cd0f919bbf2694db8a4339c
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Storage service in particular.)
|
67
67
|
|
@@ -31,6 +31,11 @@ module Google
|
|
31
31
|
# @return [Array<Google::Apis::StorageV1::BucketAccessControl>]
|
32
32
|
attr_accessor :acl
|
33
33
|
|
34
|
+
# The bucket's Autoclass configuration.
|
35
|
+
# Corresponds to the JSON property `autoclass`
|
36
|
+
# @return [Google::Apis::StorageV1::Bucket::Autoclass]
|
37
|
+
attr_accessor :autoclass
|
38
|
+
|
34
39
|
# The bucket's billing configuration.
|
35
40
|
# Corresponds to the JSON property `billing`
|
36
41
|
# @return [Google::Apis::StorageV1::Bucket::Billing]
|
@@ -212,6 +217,7 @@ module Google
|
|
212
217
|
# Update properties of this object
|
213
218
|
def update!(**args)
|
214
219
|
@acl = args[:acl] if args.key?(:acl)
|
220
|
+
@autoclass = args[:autoclass] if args.key?(:autoclass)
|
215
221
|
@billing = args[:billing] if args.key?(:billing)
|
216
222
|
@cors_configurations = args[:cors_configurations] if args.key?(:cors_configurations)
|
217
223
|
@custom_placement_config = args[:custom_placement_config] if args.key?(:custom_placement_config)
|
@@ -242,6 +248,33 @@ module Google
|
|
242
248
|
@website = args[:website] if args.key?(:website)
|
243
249
|
end
|
244
250
|
|
251
|
+
# The bucket's Autoclass configuration.
|
252
|
+
class Autoclass
|
253
|
+
include Google::Apis::Core::Hashable
|
254
|
+
|
255
|
+
# Whether or not Autoclass is enabled on this bucket
|
256
|
+
# Corresponds to the JSON property `enabled`
|
257
|
+
# @return [Boolean]
|
258
|
+
attr_accessor :enabled
|
259
|
+
alias_method :enabled?, :enabled
|
260
|
+
|
261
|
+
# A date and time in RFC 3339 format representing the instant at which "enabled"
|
262
|
+
# was last toggled.
|
263
|
+
# Corresponds to the JSON property `toggleTime`
|
264
|
+
# @return [DateTime]
|
265
|
+
attr_accessor :toggle_time
|
266
|
+
|
267
|
+
def initialize(**args)
|
268
|
+
update!(**args)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Update properties of this object
|
272
|
+
def update!(**args)
|
273
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
274
|
+
@toggle_time = args[:toggle_time] if args.key?(:toggle_time)
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
245
278
|
# The bucket's billing configuration.
|
246
279
|
class Billing
|
247
280
|
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.9.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 = "20211018"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -25,6 +25,12 @@ module Google
|
|
25
25
|
class Bucket
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
|
+
class Autoclass
|
29
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
30
|
+
|
31
|
+
include Google::Apis::Core::JsonObjectSupport
|
32
|
+
end
|
33
|
+
|
28
34
|
class Billing
|
29
35
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
30
36
|
|
@@ -285,6 +291,8 @@ module Google
|
|
285
291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
286
292
|
collection :acl, as: 'acl', class: Google::Apis::StorageV1::BucketAccessControl, decorator: Google::Apis::StorageV1::BucketAccessControl::Representation
|
287
293
|
|
294
|
+
property :autoclass, as: 'autoclass', class: Google::Apis::StorageV1::Bucket::Autoclass, decorator: Google::Apis::StorageV1::Bucket::Autoclass::Representation
|
295
|
+
|
288
296
|
property :billing, as: 'billing', class: Google::Apis::StorageV1::Bucket::Billing, decorator: Google::Apis::StorageV1::Bucket::Billing::Representation
|
289
297
|
|
290
298
|
collection :cors_configurations, as: 'cors', class: Google::Apis::StorageV1::Bucket::CorsConfiguration, decorator: Google::Apis::StorageV1::Bucket::CorsConfiguration::Representation
|
@@ -329,6 +337,15 @@ module Google
|
|
329
337
|
|
330
338
|
end
|
331
339
|
|
340
|
+
class Autoclass
|
341
|
+
# @private
|
342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
343
|
+
property :enabled, as: 'enabled'
|
344
|
+
property :toggle_time, as: 'toggleTime', type: DateTime
|
345
|
+
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
332
349
|
class Billing
|
333
350
|
# @private
|
334
351
|
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.9.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-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.9.0
|
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: []
|
65
65
|
require_paths:
|