ubla - Configure Uniform bucket-level access

Synopsis

gsutil ubla set <on|off> bucket_url...
gsutil ubla get bucket_url...

Description

The ubla command is used to retrieve or configure the uniform bucket-level access setting of Cloud Storage bucket(s). This command has two sub-commands, get and set.

Get

The ubla get command shows whether uniform bucket-level access is enabled for the specified Cloud Storage bucket(s).

Get Examples

Check if your buckets are using uniform bucket-level access:

gsutil ubla get gs://redbucket gs://bluebucket

Set

The ubla set command enables or disables uniform bucket-level access for Cloud Storage buckets.

Set Examples

Configure your buckets to use uniform bucket-level access:

gsutil ubla set on gs://redbucket gs://bluebucket

Configure your buckets to NOT use uniform bucket-level access:

gsutil ubla set off gs://redbucket gs://bluebucket
此页内容是否有用?请给出您的反馈和评价:

发送以下问题的反馈:

此网页
Cloud Storage
需要帮助?请访问我们的支持页面