@google-cloud/storage
Advanced tools
Comparing version 4.5.0 to 4.6.0
@@ -42,2 +42,5 @@ /// <reference types="node" /> | ||
} | ||
interface Versioning { | ||
enabled: boolean; | ||
} | ||
export interface CreateBucketRequest { | ||
@@ -56,2 +59,3 @@ archive?: boolean; | ||
location?: string; | ||
versioning?: Versioning; | ||
} | ||
@@ -467,1 +471,2 @@ export declare type CreateBucketResponse = [Bucket, Metadata]; | ||
} | ||
export {}; |
@@ -186,2 +186,3 @@ "use strict"; | ||
* @property {boolean} [standard=true] Specify the storage class as Standard. | ||
* @property {Versioning} [versioning=undefined] Specify the versioning status. | ||
* @property {string} [userProject] The ID of the project which will be billed | ||
@@ -188,0 +189,0 @@ * for the request. |
@@ -7,2 +7,9 @@ # Changelog | ||
## [4.6.0](https://www.github.com/googleapis/nodejs-storage/compare/v4.5.0...v4.6.0) (2020-03-13) | ||
### Features | ||
* **storage:** Add versioning as optional metadata param of createBucket ([#1090](https://www.github.com/googleapis/nodejs-storage/issues/1090)) ([39869e3](https://www.github.com/googleapis/nodejs-storage/commit/39869e3c6c62eabe1840f0fd884b361265e2cb76)) | ||
## [4.5.0](https://www.github.com/googleapis/nodejs-storage/compare/v4.4.0...v4.5.0) (2020-03-06) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "@google-cloud/storage", | ||
"description": "Cloud Storage Client Library for Node.js", | ||
"version": "4.5.0", | ||
"version": "4.6.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "Google Inc.", |
489048
10307