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 to specify the storage class? #763

Open
rzvoncek opened this issue Jun 12, 2024 · 0 comments
Open

How to specify the storage class? #763

rzvoncek opened this issue Jun 12, 2024 · 0 comments

Comments

@rzvoncek
Copy link

rzvoncek commented Jun 12, 2024

Hello.

GCP supports storage classes.

In our Cassandra backup tool, we use your library to interact with GCP, and we'd like to allow users to specify what storage class they want to make their backup with.

However, I'm unable to make this work. I've tried several things already:

  • I've tried passing a header like {"storageClass": storage_class} with the request
  • I've tried passing the same as parameters or metadata, but none of it worked.

Could you perhaps help me somehow to work this out?

A final note; I'm aware that GCS storage have the auto-class feature where any new object would be created with the given class by default. However, other cloud providers don't have this (I think) and we still have to specify the class per each object. It'd be nice to stay consistent in our tool regardless of the storage provider.

edit: I've also tried this header and it didn't help

edit2: I've also looked at the reference for the json api and that doesn't seem to work either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant