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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d63506aefa57f170d680e31d991abf54080d7aaa03a634f49fd99bb45a6f844
4
- data.tar.gz: 773352a014ea36e4be76b9efe854997ef2af347a4ecc2abe4156238c5fed0269
3
+ metadata.gz: 4d39b5a7030b3c46448bfed91dee7e11f91110f66f8d6586afa689b66ca9af24
4
+ data.tar.gz: c0afa1199a13180670ef00a4299a7372b31edbf63f7d222aa8826ebac771ed5a
5
5
  SHA512:
6
- metadata.gz: 551024165be12d18f8f616523af1f07d79914368a8ba96b2bf85420100cfa0dda6c37ff3626358aacddc3a2ad4ea205b5abddfbbc75ea38cef07d5876e647d1b
7
- data.tar.gz: 856f15d95de12d7e6e80817c135a46f45db2a2789f1b6100584602cc0ce9eff5ad616302ee811ff1dda9a4a73795b65e81a66501f76be9a69d87d157177fd531
6
+ metadata.gz: d172be36170052bf3f490c294eba1238225a27b22ed7abfcdd1f5700a677a9671e450fc13c4debf730507450dd1d77b1825212eff1822a4409130e1ee37c739c
7
+ data.tar.gz: 3b975bbd6805f7cbda4e11a2542308d818c06d2585159059422d208f67e4355e3b29cdae9c380518139e1da50f50b54f25a789a11cd0f919bbf2694db8a4339c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.9.0 (2021-10-23)
4
+
5
+ * Regenerated from discovery document revision 20211018
6
+ * Unspecified changes
7
+
3
8
  ### v0.8.0 (2021-09-24)
4
9
 
5
10
  * Regenerated from discovery document revision 20210918
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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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.8.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 = "20210918"
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.8.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-09-27 00:00:00.000000000 Z
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/master/generated/google-apis-storage_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-storage_v1
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: