Repository navigation
How do I create a Nearline bucket in gcloud.storage ? #779
Copy link
Copy link
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
Activity
- addedtype: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.
on Aug 3, 2015 Related: #723 (edit: had a wrong reference)
To do this now, it would look like:
gcs.createBucket('new-bucket', { storageClass: 'NEARLINE' }, callback);
We could special-case the property and allow 'nearline' and 'DRA'/'dra' that we'll expand to 'NEARLINE' and 'DURABLE_REDUCED_AVAILABILITY'?
What about:
gcs.createBucket('new-bucket', {storageClass: gcs.Nearline}, cb);
?
Sure, but I hope you don't mind if I lowercase nearline.
Sure, what do you think @callmehiphop ?
That looks good to me
On Aug 3, 2015 9:52 AM, "JJ Geewax" [email protected] wrote:Sure, what do you think @callmehiphop https://github.com/callmehiphop ?
—
Reply to this email directly or view it on GitHub
#779 (comment)
.- added a commit that references this issue
on Jul 23, 2025
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Is there a storage class parameter? Do we have an example of changing it?
https://googlecloudplatform.github.io/gcloud-node/#/docs/v0.17.0/storage?method=createBucket seems to have a DRA example, but not a nearline example.
This is one of those things that is unlikely to change all that frequently... can we maybe have an enum-like thing for the storage classes to avoid typos?