ubla - Configure Uniform bucket-level access
Synopsis
gsutil ubla set (on|off) gs://<bucket_name>...
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