@google-cloud/storage
Advanced tools
Comparing version 3.3.1 to 3.4.0
@@ -178,2 +178,3 @@ /** | ||
end?: number; | ||
decompress?: boolean; | ||
} | ||
@@ -290,3 +291,3 @@ export interface SaveOptions extends CreateWriteStreamOptions { | ||
constructor(bucket: Bucket, name: string, options?: FileOptions); | ||
copy(destination: string | Bucket | File): Promise<CopyResponse>; | ||
copy(destination: string | Bucket | File, options?: CopyOptions): Promise<CopyResponse>; | ||
copy(destination: string | Bucket | File, callback: CopyCallback): void; | ||
@@ -313,2 +314,6 @@ copy(destination: string | Bucket | File, options: CopyOptions, callback: CopyCallback): void; | ||
* NOTE: when specifying a byte range, data integrity is not available. | ||
* @property {boolean} [decompress=true] Disable auto decompression of the | ||
* received data. By default this option is set to `true`. | ||
* Applicable in cases where the data was uploaded with | ||
* `gzip: true` option. See {@link File#createWriteStream}. | ||
*/ | ||
@@ -315,0 +320,0 @@ /** |
@@ -59,2 +59,3 @@ /** | ||
retentionPolicy?: object; | ||
standard?: boolean; | ||
userProject?: string; | ||
@@ -61,0 +62,0 @@ location?: string; |
@@ -183,2 +183,3 @@ "use strict"; | ||
* costs when an operation is made on a Bucket and its objects. | ||
* @property {boolean} [standard=true] Specify the storage class as Standard. | ||
* @property {string} [userProject] The ID of the project which will be billed | ||
@@ -281,2 +282,3 @@ * for the request. | ||
regional: 'REGIONAL', | ||
standard: 'STANDARD', | ||
}; | ||
@@ -283,0 +285,0 @@ Object.keys(storageClasses).forEach(storageClass => { |
@@ -7,2 +7,16 @@ # Changelog | ||
## [3.4.0](https://www.github.com/googleapis/nodejs-storage/compare/v3.3.1...v3.4.0) (2019-10-10) | ||
### Bug Fixes | ||
* file#move do not delete origin file if same as destination ([#874](https://www.github.com/googleapis/nodejs-storage/issues/874)) ([dcaba8a](https://www.github.com/googleapis/nodejs-storage/commit/dcaba8a)) | ||
* pass predefined acl as destinationPredefinedAcl to qs ([#872](https://www.github.com/googleapis/nodejs-storage/issues/872)) ([09b8fa4](https://www.github.com/googleapis/nodejs-storage/commit/09b8fa4)) | ||
### Features | ||
* add flag to allow disabling auto decompression by client ([#850](https://www.github.com/googleapis/nodejs-storage/issues/850)) ([9ebface](https://www.github.com/googleapis/nodejs-storage/commit/9ebface)) | ||
* allow setting standard Bucket storage class ([#873](https://www.github.com/googleapis/nodejs-storage/issues/873)) ([12a99e9](https://www.github.com/googleapis/nodejs-storage/commit/12a99e9)) | ||
### [3.3.1](https://www.github.com/googleapis/nodejs-storage/compare/v3.3.0...v3.3.1) (2019-09-30) | ||
@@ -9,0 +23,0 @@ |
{ | ||
"name": "@google-cloud/storage", | ||
"description": "Cloud Storage Client Library for Node.js", | ||
"version": "3.3.1", | ||
"version": "3.4.0", | ||
"license": "Apache-2.0", | ||
@@ -110,3 +110,3 @@ "author": "Google Inc.", | ||
"mocha": "^6.0.0", | ||
"nock": "~11.0.0", | ||
"nock": "~11.4.0", | ||
"node-fetch": "^2.2.0", | ||
@@ -113,0 +113,0 @@ "normalize-newline": "^3.0.0", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
440992
9829