Skip to content

Commit 91b3d22

Browse files
storage: explain flat bucket namespace
Fixes #863
1 parent 7714afa commit 91b3d22

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/storage/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ Storage.prototype.bucket = function(name) {
178178
/**
179179
* Create a bucket.
180180
*
181+
* Google Cloud Storage uses a flat namespace, so you can't create a bucket with
182+
* a name that is already in use. For more information, see
183+
* [Bucket Naming Guidelines](https://cloud.google.com/storage/docs/bucketnaming.html#requirements).
184+
*
181185
* @resource [Buckets: insert API Documentation]{@link https://cloud.google.com/storage/docs/json_api/v1/buckets/insert}
182186
* @resource [Durable Reduced Availability]{@link https://cloud.google.com/storage/docs/durable-reduced-availability}
183187
* @resource [Nearline]{@link https://cloud.google.com/storage/docs/nearline}

0 commit comments

Comments
 (0)