Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/storage/bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,8 @@ Bucket.prototype.makePublic = function(options, callback) {
* bucket using the name of the local file.
* @param {boolean} options.gzip - Automatically gzip the file. This will set
* `options.metadata.contentEncoding` to `gzip`.
* @param {object=} options.metadata - Metadata to set for your file.
* @param {object=} options.metadata - See an
* [Objects: insert request body](https://cloud.google.com/storage/docs/json_api/v1/objects/insert#request_properties_JSON).
* @param {boolean=} options.resumable - Force a resumable upload. (default:
* true for files larger than 5 MB).
* @param {function} callback - The callback function.
Expand Down
3 changes: 2 additions & 1 deletion lib/storage/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,8 @@ File.prototype.createResumableUpload = function(metadata, callback) {
* @param {object=} options - Configuration object.
* @param {boolean} options.gzip - Automatically gzip the file. This will set
* `options.metadata.contentEncoding` to `gzip`.
* @param {object} options.metadata - Set the metadata for this file.
* @param {object=} options.metadata - See an
* [Objects: insert request body](https://cloud.google.com/storage/docs/json_api/v1/objects/insert#request_properties_JSON).
* @param {boolean} options.resumable - Force a resumable upload. NOTE: When
* working with streams, the file format and size is unknown until it's
* completely consumed. Because of this, it's best for you to be explicit
Expand Down