google-apis-storage_v1 0.9.0 → 0.12.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: 4d39b5a7030b3c46448bfed91dee7e11f91110f66f8d6586afa689b66ca9af24
4
- data.tar.gz: c0afa1199a13180670ef00a4299a7372b31edbf63f7d222aa8826ebac771ed5a
3
+ metadata.gz: a25b769e5ab0032c99b41a61d6c4a4412ede7ffa3d9a0b1af44e5fca1309ecc2
4
+ data.tar.gz: b80d86a4d48f801c31868c7ef3ccebbfe663ac82daf05d69b9826652ca2891e8
5
5
  SHA512:
6
- metadata.gz: d172be36170052bf3f490c294eba1238225a27b22ed7abfcdd1f5700a677a9671e450fc13c4debf730507450dd1d77b1825212eff1822a4409130e1ee37c739c
7
- data.tar.gz: 3b975bbd6805f7cbda4e11a2542308d818c06d2585159059422d208f67e4355e3b29cdae9c380518139e1da50f50b54f25a789a11cd0f919bbf2694db8a4339c
6
+ metadata.gz: cafc0c53840ad76b559c21715b4fd447a5c42301b74ca73c2f551bd8f9f915fb40c97a8cbcd25de7d770394984b825ad8c4972e60f3be91231cefe3abfcb9d91
7
+ data.tar.gz: 5f04ebac491f0cb69774888ceed7de4c4958d256bf050dd4b8100e9874212017fee18b08bb659612d2d1dc5911161ef6c608c4891b1f50e8bceabe5352a2b670
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-storage_v1
2
2
 
3
+ ### v0.12.0 (2022-04-01)
4
+
5
+ * Regenerated from discovery document revision 20220328
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.11.0 (2021-12-14)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.10.0 (2021-12-05)
13
+
14
+ * Regenerated from discovery document revision 20211201
15
+
3
16
  ### v0.9.0 (2021-10-23)
4
17
 
5
18
  * Regenerated from discovery document revision 20211018
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.authentication = # ... use the googleauth gem to create credentials
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
@@ -389,7 +364,7 @@ module Google
389
364
  # @return [Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly]
390
365
  attr_accessor :bucket_policy_only
391
366
 
392
- # The bucket's Public Access Prevention configuration. Currently, 'unspecified'
367
+ # The bucket's Public Access Prevention configuration. Currently, 'inherited'
393
368
  # and 'enforced' are supported.
394
369
  # Corresponds to the JSON property `publicAccessPrevention`
395
370
  # @return [String]
@@ -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.9.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211018"
25
+ REVISION = "20220328"
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
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.9.0
4
+ version: 0.12.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-10-27 00:00:00.000000000 Z
11
+ date: 2022-04-04 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/main/generated/google-apis-storage_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.12.0
62
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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Storage JSON API V1