From 5826a2fb04630d1d4423e960a63b5d49a46ec51f Mon Sep 17 00:00:00 2001 From: Ryan Seys Date: Sun, 1 Feb 2015 23:43:20 -0500 Subject: [PATCH] Clarify bucket metadata example --- lib/storage/bucket.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/storage/bucket.js b/lib/storage/bucket.js index 1dccb06cf18..6e7eea2f297 100644 --- a/lib/storage/bucket.js +++ b/lib/storage/bucket.js @@ -304,11 +304,13 @@ Bucket.prototype.getMetadata = function(callback) { * @param {function=} callback - The callback function. * * @example + * //- + * // Set website metadata field on the bucket. + * //- * bucket.setMetadata({ - * contentType: 'application/x-font-ttf', - * metadata: { - * my: 'custom', - * properties: 'go here' + * website: { + * mainPageSuffix: 'http://example.com', + * notFoundPage: 'http://example.com/404.html' * } * }, function(err, metadata) {}); */