- NAME
-
- gcloud alpha storage buckets describe - describes Cloud Storage buckets
- SYNOPSIS
-
-
gcloud alpha storage buckets describe
URL
[--additional-headers
=HEADER
=VALUE
] [--raw
] [--soft-deleted
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Describe a Cloud Storage bucket. - EXAMPLES
-
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)"
- 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 list
of key=value pairs, e.g.
header1=value1,header2=value2
. Overrides the defaultstorage/additional_headers
property value for this command invocation. --raw
- Shows metadata in the format returned by the API instead of standardizing it.
--soft-deleted
- Displays soft-deleted resources only. For objects, it will exclude live and noncurrent ones.
- 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 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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-17 UTC.