We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8838144 + b86de69 commit dfb139dCopy full SHA for dfb139d
1 file changed
lib/storage/index.js
@@ -198,11 +198,14 @@ Storage.prototype.bucket = function(name) {
198
* gcs.createBucket('new-bucket', callback);
199
*
200
* //-
201
- * // Specify metadata.
+ * // Create a bucket in a specific location and region. <em>See the <a
202
+ * // href="https://cloud.google.com/storage/docs/json_api/v1/buckets/insert">
203
+ * // Official JSON API docs</a> for complete details on the `location` option.
204
+ * // </em>
205
206
* var metadata = {
- * mainPageSuffix: '/unknown/',
- * maxAgeSeconds: 90
207
+ * location: 'US-CENTRAL1',
208
+ * storageClass: 'DURABLE_REDUCED_AVAILABILITY'
209
* };
210
211
* gcs.createBucket('new-bucket', metadata, callback);
0 commit comments