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) {}); */