- NAME
-
- gcloud storage - create and manage Cloud Storage buckets and objects
- SYNOPSIS
-
-
gcloud storage
GROUP
|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 help
for details. - GROUPS
-
is one of the following:GROUP
buckets
- Manage Cloud Storage buckets.
hmac
- Manage Cloud Storage service account HMAC keys.
insights
- Manage Cloud Storage inventory reports.
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.
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
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-03-26 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-03-26 UTC.",
"confidential": False
}