@@ -719,10 +719,8 @@ File.prototype.createResumableUpload = function(options, callback) {
719
719
* `options.metadata.contentEncoding` to `gzip`.
720
720
* @param {object= } options.metadata - See an
721
721
* [Objects: insert request body](https://cloud.google.com/storage/docs/json_api/v1/objects/insert#request_properties_JSON).
722
- * @param {boolean } options.resumable - Force a resumable upload. NOTE: When
723
- * working with streams, the file format and size is unknown until it's
724
- * completely consumed. Because of this, it's best for you to be explicit
725
- * for what makes sense given your input.
722
+ * @param {string } options.offset - The starting byte of the upload stream, for
723
+ * resuming an interrupted upload. Defaults to 0.
726
724
* @param {string } options.predefinedAcl - Apply a predefined set of access
727
725
* controls to this object.
728
726
*
@@ -747,6 +745,10 @@ File.prototype.createResumableUpload = function(options, callback) {
747
745
* `options.predefinedAcl = 'private'`)
748
746
* @param {boolean } options.public - Make the uploaded file public. (Alias for
749
747
* `options.predefinedAcl = 'publicRead'`)
748
+ * @param {boolean } options.resumable - Force a resumable upload. NOTE: When
749
+ * working with streams, the file format and size is unknown until it's
750
+ * completely consumed. Because of this, it's best for you to be explicit
751
+ * for what makes sense given your input.
750
752
* @param {string } options.uri - The URI for an already-created resumable
751
753
* upload. See {module:storage/file#createResumableUpload}.
752
754
* @param {string|boolean } options.validation - Possible values: `"md5"`,
@@ -1547,6 +1549,7 @@ File.prototype.startResumableUpload_ = function(dup, options) {
1547
1549
file : this . name ,
1548
1550
generation : this . generation ,
1549
1551
metadata : options . metadata ,
1552
+ offset : options . offset ,
1550
1553
predefinedAcl : options . predefinedAcl ,
1551
1554
private : options . private ,
1552
1555
public : options . public ,
0 commit comments