gcloud storage buckets describe

NAME
gcloud storage buckets describe - describes Cloud Storage buckets
SYNOPSIS
gcloud storage buckets describeURL[--additional-headers=HEADER=VALUE][--raw][GCLOUD_WIDE_FLAG]
DESCRIPTION
Describe a Cloud Storage bucket.
EXAMPLES
Describe a Google Cloud Storage bucket named "my-bucket":
gcloudstoragebucketsdescribegs://my-bucket

Describe bucket with JSON formatting, only returning the "name" key:

gcloudstoragebucketsdescribegs://my-bucket--format="json(name)"
POSITIONAL ARGUMENTS
URL
Specifies URL of bucket to describe.
FLAGS
--additional-headers=HEADER=VALUE
Includes arbitrary headers in storage API calls. Accepts a comma separated listof key=value pairs, e.g.header1=value1,header2=value2. Overridesthe defaultstorage/additional_headers property value for thiscommand invocation.
--raw
Shows metadata in the format returned by the API instead of standardizing it.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

NOTES
This variant is also available:
gcloudalphastoragebucketsdescribe

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.