Setting the Durable Reduced Availability (DRA) attribute for a bucket using Storage Console

StackOverflow https://stackoverflow.com/questions/22211303

  •  10-06-2023
  •  | 
  •  

When manually creating a new cloud storage bucket using the web-based storage console (https://console.developers.google.com/), is there a way to specify the DRA attribute? From the documentation, it appears that the only way to create buckets with that attribute is to either use Curl, gsutil or some other script, but not the console.

有帮助吗?

解决方案

There is currently no way to do this.

At present, the storage console provides only a subset of the Cloud Storage API, so you'll need to use one of the tools you mentioned to create a DRA bucket.

For completeness, it's pretty easy to do this using gsutil (documentation at https://developers.google.com/storage/docs/gsutil/commands/mb):

gsutil mb -c DRA gs://some-bucket
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top