- NAME
-
- gcloud storage - create and manage Cloud Storage buckets and objects
- SYNOPSIS
-
-
gcloud storageGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- The gcloud storage command group lets you create and manage Cloud Storage
resources such as buckets and objects.
More information on Cloud Storage can be found here: https://cloud.google.com/storage, and detailed documentation can be found here: https://cloud.google.com/storage/docs/
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - GROUPS
-
is one of the following:GROUP-
batch-operations - Manage Cloud Storage batch operations.
-
buckets - Manage Cloud Storage buckets.
-
folders - Manage Cloud Storage folders.
-
hmac - Manage Cloud Storage service account HMAC keys.
-
insights - Manage Cloud Storage inventory reports.
-
intelligence-configs - Manage Cloud Storage Intelligence Configurations.
-
intelligence-findings - Findings for Cloud Storage usage.
-
managed-folders - Manage Cloud Storage managed folders.
-
objects - Manage Cloud Storage objects.
-
operations - Manage storage operations.
-
- COMMANDS
-
is one of the following:COMMAND-
cat - Outputs the contents of one or more URLs to stdout.
-
cp - Upload, download, and copy Cloud Storage objects.
-
diagnose - Diagnose Google Cloud Storage.
-
du - Displays the amount of space in bytes used by storage resources.
-
hash - Calculates hashes on local or cloud files.
-
ls - List Cloud Storage buckets and objects.
-
mv - Moves or renames objects.
-
restore - Restore one or more soft-deleted objects.
-
rm - Delete objects and buckets.
-
rsync - Synchronize content of two buckets/directories.
-
service-agent - Manage a project's Cloud Storage service agent, which is used to perform Cloud KMS operations.
-
sign-url - Generate a URL with embedded authentication that can be used by anyone.
-
- NOTES
- This variant is also available:
gcloud alpha storage
gcloud storage
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 2026-05-27 UTC.

