gcloud alpha storage buckets describe - describes Cloud Storage buckets
gcloud alpha storage buckets describe URL [--additional-headers=HEADER=VALUE] [GCLOUD_WIDE_FLAG ...]
(ALPHA) Describe a Cloud Storage bucket.
Describe a Google Cloud Storage bucket named "my-bucket":
$ gcloud alpha storage buckets describe gs://my-bucket
Describe bucket with JSON formatting, only returning the "name" key:
$ gcloud alpha storage buckets describe gs://my-bucket \ --format="json(name)"
- URL
Specifies URL of bucket to describe.
- --additional-headers=HEADER=VALUE
Includes arbitrary headers in storage API calls. Accepts a comma separated list of key=value pairs, e.g. header1=value1,header2=value2. Overrides the default storage/additional_headers property value for this command invocation.
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.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. This variant is also available:
$ gcloud storage buckets describe