From 2bbac56d0ad2cfd0ef22e2e1c0c74ba0fcf746fe Mon Sep 17 00:00:00 2001 From: Adam Buczynski Date: Fri, 10 Jun 2016 10:31:05 +1200 Subject: [PATCH] Update file.js (#1372) See #129. Make it clearer that the examples below contain information on how to set file meta data. --- lib/storage/file.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/storage/file.js b/lib/storage/file.js index b31192ac069..4ff28ac1bf4 100644 --- a/lib/storage/file.js +++ b/lib/storage/file.js @@ -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