File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ var STORAGE_BASE_URL = 'https://www.googleapis.com/storage/v1/b';
80
80
* //-
81
81
*
82
82
* // Access `storage` through the `gcloud` module directly.
83
- * var musicBucket = gcloud.storage.bucket('music');
83
+ * var musicBucket = gcloud.storage() .bucket('music');
84
84
*
85
85
* //-
86
86
* // Elsewhere.
@@ -92,8 +92,8 @@ var STORAGE_BASE_URL = 'https://www.googleapis.com/storage/v1/b';
92
92
* projectId: 'my-project'
93
93
* });
94
94
*
95
- * var albums = myProject.storage.bucket('albums');
96
- * var photos = myProject.storage.bucket('photos');
95
+ * var albums = myProject.storage() .bucket('albums');
96
+ * var photos = myProject.storage() .bucket('photos');
97
97
*
98
98
*
99
99
* // Override default configuration details.
@@ -137,8 +137,8 @@ function Storage(config) {
137
137
* keyFilename: '/path/to/keyfile.json'
138
138
* });
139
139
*
140
- * var albums = gcloud.storage.bucket('albums');
141
- * var photos = gcloud.storage.bucket('photos');
140
+ * var albums = gcloud.storage() .bucket('albums');
141
+ * var photos = gcloud.storage() .bucket('photos');
142
142
*/
143
143
Storage . prototype . bucket = function ( options ) {
144
144
if ( util . is ( options , 'string' ) ) {
You can’t perform that action at this time.
0 commit comments