@@ -330,8 +330,12 @@ nodeutil.inherits(File, ServiceObject);
330330 * // If you pass in a string starting with "gs://" for the destination, the
331331 * // file is copied to the other bucket and under the new name provided.
332332 * //-
333- * file.copy('gs://other-bucket/my-image-copy.png', function(err, copiedFile, apiResponse) {
334- * // `other-bucket` now contains:
333+ * var newLocation = 'gs://another-bucket/my-image-copy.png';
334+ * file.copy(newLocation, function(err, copiedFile, apiResponse) {
335+ * // `my-bucket` still contains:
336+ * // - "my-image.png"
337+ * //
338+ * // `another-bucket` now contains:
335339 * // - "my-image-copy.png"
336340 *
337341 * // `copiedFile` is an instance of a File object that refers to your new
@@ -1546,10 +1550,12 @@ File.prototype.makePublic = function(callback) {
15461550 * // If you pass in a string starting with "gs://" for the destination, the
15471551 * // file is copied to the other bucket and under the new name provided.
15481552 * //-
1549- * file.move('gs://other-bucket/my-image-new.png', function(err, destinationFile, apiResponse) {
1553+ * var newLocation = 'gs://another-bucket/my-image-new.png';
1554+ * file.move(newLocation, function(err, destinationFile, apiResponse) {
15501555 * // `my-bucket` no longer contains:
15511556 * // - "my-image.png"
1552- * // `other-bucket` now contains:
1557+ * //
1558+ * // `another-bucket` now contains:
15531559 * // - "my-image-new.png"
15541560 *
15551561 * // `destinationFile` is an instance of a File object that refers to your
0 commit comments