Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I create a Nearline / DRA bucket in Cloud Storage? #1030

Closed
jgeewax opened this issue Aug 3, 2015 · 2 comments
Closed

How do I create a Nearline / DRA bucket in Cloud Storage? #1030

jgeewax opened this issue Aug 3, 2015 · 2 comments
Assignees
Labels
api: storage Issues related to the Cloud Storage API. type: question Request for information or clarification. Not an issue.

Comments

@jgeewax
Copy link
Contributor

jgeewax commented Aug 3, 2015

Page Name: storage-buckets
Release: 0.7.0

http://googlecloudplatform.github.io/gcloud-python/latest/storage-buckets.html#gcloud.storage.bucket.Bucket.create doesn't make this all that clear.

@jgeewax jgeewax added type: question Request for information or clarification. Not an issue. api: storage Issues related to the Cloud Storage API. labels Aug 3, 2015
@dhermes
Copy link
Contributor

dhermes commented Aug 3, 2015

Thanks for filing. It looks like we only support storageClass (and just as read-only property) on Blob:
https://github.com/GoogleCloudPlatform/gcloud-python/blob/2928bfcd1a481e634ae35aa92941e4e5f129e4bd/gcloud/storage/blob.py#L756-L768

But that doesn't seem to be the right place, right?

@dhermes
Copy link
Contributor

dhermes commented Aug 3, 2015

Scratch that, we also allow a read-only property on Bucket:
https://github.com/GoogleCloudPlatform/gcloud-python/blob/2928bfcd1a481e634ae35aa92941e4e5f129e4bd/gcloud/storage/bucket.py#L635-L647

I still wonder why it's on Blob.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

3 participants