google-cloud-storage 1.21.0 → 1.21.1

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: 5c5abd86d062d83810945e58bc049bcbb6486fd554fe85f0182de9279a6527e7
4
- data.tar.gz: efb391f66a4848545305e88c989cc042d120c131943009d697480d5567273055
3
+ metadata.gz: 7e68a3b15256830be64042fef841099b37ed778f2d51c9add4a3edef4a977444
4
+ data.tar.gz: 5e314fd21d1c94e5fb4fe24ed18609e3bbc25dc9d476cd1d09d3b7e16b699970
5
5
  SHA512:
6
- metadata.gz: 0103fe81c68464ecc7303532cfe3a0248d281bb0daa21d8dd8d06c7ec232f85962ed18daa735c2e9dfc410a644fe535b7360836229ce20b1210e6eb4b550bd70
7
- data.tar.gz: c610e4b15a52add81adcbd1c1a16ddb0dc994de12422154cd42e79f842fcbbe4ce5ea60014aedcd861169f1955d33950f4e6354196273501c906bb5f23793e34
6
+ metadata.gz: 0b90bb5d2aa76c4832654a438973e91021a5e21fa6bd73ff3b64a411d784d6a58eb25ba0e4c809833a50130d4f67cde869e920ca9c46861807d508d3d0376125
7
+ data.tar.gz: 01ee93d59b023e4eafa6db13fc9ee329280e43131821dfcc8c8c83d897b88abdd6dc5d0479c9a34da624f82200691ccc51263fe9c2d7d2d8d1ed75eea697792d
@@ -1,5 +1,12 @@
1
1
  # Release History
2
2
 
3
+ ### 1.21.1 / 2019-09-30
4
+
5
+ #### Documentation
6
+
7
+ * update storage class examples in docs and tests
8
+ * Replace MULTI_REGIONAL and REGIONAL with STANDARD and NEARLINE.
9
+
3
10
  ### 1.21.0 / 2019-08-16
4
11
 
5
12
  #### Features
@@ -234,7 +234,7 @@ module Google
234
234
  # rule.action #=> "SetStorageClass"
235
235
  # rule.storage_class #=> "COLDLINE"
236
236
  # rule.age #=> 10
237
- # rule.matches_storage_class #=> ["MULTI_REGIONAL", "REGIONAL"]
237
+ # rule.matches_storage_class #=> ["STANDARD", "NEARLINE"]
238
238
  #
239
239
  # @example Updating the bucket's lifecycle management rules in a block.
240
240
  # require "google/cloud/storage"
@@ -52,7 +52,7 @@ module Google
52
52
  # rule.action #=> "SetStorageClass"
53
53
  # rule.storage_class #=> "COLDLINE"
54
54
  # rule.age #=> 10
55
- # rule.matches_storage_class #=> ["MULTI_REGIONAL", "REGIONAL"]
55
+ # rule.matches_storage_class #=> ["STANDARD", "NEARLINE"]
56
56
  #
57
57
  # @example Updating the bucket's lifecycle management rules in a block.
58
58
  # require "google/cloud/storage"
@@ -110,10 +110,11 @@ module Google
110
110
  # is `false`, it matches archived files.
111
111
  # @param [String,Symbol,Array<String,Symbol>] matches_storage_class
112
112
  # Files having any of the storage classes specified by this
113
- # condition will be matched. Values include `MULTI_REGIONAL`,
114
- # `REGIONAL`, `NEARLINE`, `COLDLINE`, `STANDARD`, and
115
- # `DURABLE_REDUCED_AVAILABILITY`. Arguments will be converted from
116
- # symbols and lower-case to upper-case strings.
113
+ # condition will be matched. Values include `STANDARD`, `NEARLINE`,
114
+ # and `COLDLINE`. `REGIONAL`,`MULTI_REGIONAL`, and
115
+ # `DURABLE_REDUCED_AVAILABILITY` are supported as legacy storage
116
+ # classes. Arguments will be converted from symbols and lower-case
117
+ # to upper-case strings.
117
118
  # @param [Integer] num_newer_versions Relevant only for versioned
118
119
  # files. If the value is N, this condition is satisfied when there
119
120
  # are at least N versions (including the live version) newer than
@@ -160,10 +161,11 @@ module Google
160
161
  # is `false`, it matches archived files.
161
162
  # @param [String,Symbol,Array<String,Symbol>] matches_storage_class
162
163
  # Files having any of the storage classes specified by this
163
- # condition will be matched. Values include `MULTI_REGIONAL`,
164
- # `REGIONAL`, `NEARLINE`, `COLDLINE`, `STANDARD`, and
165
- # `DURABLE_REDUCED_AVAILABILITY`. Arguments will be converted from
166
- # symbols and lower-case to upper-case strings.
164
+ # condition will be matched. Values include `STANDARD`, `NEARLINE`,
165
+ # and `COLDLINE`. `REGIONAL`,`MULTI_REGIONAL`, and
166
+ # `DURABLE_REDUCED_AVAILABILITY` are supported as legacy storage
167
+ # classes. Arguments will be converted from symbols and lower-case
168
+ # to upper-case strings.
167
169
  # @param [Integer] num_newer_versions Relevant only for versioned
168
170
  # files. If the value is N, this condition is satisfied when there
169
171
  # are at least N versions (including the live version) newer than
@@ -238,8 +240,9 @@ module Google
238
240
  # is `false`, it matches archived files.
239
241
  # @attr [Array<String>] matches_storage_class Files having any of the
240
242
  # storage classes specified by this condition will be matched.
241
- # Values include `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`,
242
- # `COLDLINE`, `STANDARD`, and `DURABLE_REDUCED_AVAILABILITY`.
243
+ # Values include `STANDARD`, `NEARLINE`, and `COLDLINE`. `REGIONAL`,
244
+ # `MULTI_REGIONAL`, and `DURABLE_REDUCED_AVAILABILITY` are supported
245
+ # as legacy storage classes.
243
246
  # @attr [Integer] num_newer_versions Relevant only for versioned
244
247
  # files. If the value is N, this condition is satisfied when there
245
248
  # are at least N versions (including the live version) newer than
@@ -256,7 +259,7 @@ module Google
256
259
  # rule.action #=> "SetStorageClass"
257
260
  # rule.storage_class #=> "COLDLINE"
258
261
  # rule.age #=> 10
259
- # rule.matches_storage_class #=> ["MULTI_REGIONAL", "REGIONAL"]
262
+ # rule.matches_storage_class #=> ["STANDARD", "NEARLINE"]
260
263
  #
261
264
  # @example Updating the bucket's lifecycle rules in a block.
262
265
  # require "google/cloud/storage"
@@ -300,9 +300,7 @@ module Google
300
300
  # as well as the equivalent strings returned by
301
301
  # {Bucket#storage_class}. For more information, see [Storage
302
302
  # Classes](https://cloud.google.com/storage/docs/storage-classes). The
303
- # default value is the Standard storage class, which is equivalent to
304
- # `:multi_regional` or `:regional` depending on the bucket's location
305
- # settings.
303
+ # default value is the `:standard` storage class.
306
304
  # @param [Boolean] versioning Whether [Object
307
305
  # Versioning](https://cloud.google.com/storage/docs/object-versioning)
308
306
  # is to be enabled for the bucket. The default value is `false`.
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Storage
19
- VERSION = "1.21.0".freeze
19
+ VERSION = "1.21.1".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-08-16 00:00:00.000000000 Z
12
+ date: 2019-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core