Skip to content

Commit

Permalink
Update file.js (#1372)
Browse files Browse the repository at this point in the history
See #129.
Make it clearer that the examples below contain information on how to set file meta data.
  • Loading branch information
Adam Buczynski authored and stephenplusplus committed Jun 9, 2016
1 parent aa51104 commit 2bbac56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/storage/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,9 @@ File.prototype.createResumableUpload = function(options, 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 - See an
* [Objects: insert request body](https://cloud.google.com/storage/docs/json_api/v1/objects/insert#request_properties_JSON).
* @param {object=} options.metadata - See the examples below or
* [Objects: insert request body](https://cloud.google.com/storage/docs/json_api/v1/objects/insert#request_properties_JSON)
* for more details.
* @param {string} options.offset - The starting byte of the upload stream, for
* resuming an interrupted upload. Defaults to 0.
* @param {string} options.predefinedAcl - Apply a predefined set of access
Expand Down

0 comments on commit 2bbac56

Please sign in to comment.