2022-03-01 04:29:52 +00:00
|
|
|
NAME
|
|
|
|
|
gcloud alpha storage - create and manage Cloud Storage buckets and objects
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
|
gcloud alpha storage GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
2022-09-14 09:28:28 +00:00
|
|
|
(ALPHA) The gcloud storage command group lets you create and manage Cloud
|
|
|
|
|
Storage resources such as buckets and objects.
|
2022-03-01 04:29:52 +00:00
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
2022-08-03 09:18:38 +00:00
|
|
|
GROUPS
|
|
|
|
|
GROUP is one of the following:
|
|
|
|
|
|
2024-10-23 10:01:22 +00:00
|
|
|
batch-operations
|
|
|
|
|
(ALPHA) Manage Cloud Storage batch operations.
|
|
|
|
|
|
2022-08-03 09:18:38 +00:00
|
|
|
buckets
|
|
|
|
|
(ALPHA) Manage Cloud Storage buckets.
|
|
|
|
|
|
2024-06-19 09:33:28 +00:00
|
|
|
folders
|
|
|
|
|
(ALPHA) Manage Cloud Storage folders.
|
|
|
|
|
|
2023-07-20 11:47:25 +00:00
|
|
|
hmac
|
|
|
|
|
(ALPHA) Manage Cloud Storage service account HMAC keys.
|
|
|
|
|
|
2023-04-20 10:38:56 +00:00
|
|
|
insights
|
|
|
|
|
(ALPHA) Manage Cloud Storage inventory reports.
|
|
|
|
|
|
2023-10-23 11:10:09 +00:00
|
|
|
managed-folders
|
|
|
|
|
(ALPHA) Manage Cloud Storage managed folders.
|
|
|
|
|
|
2024-11-07 09:57:40 +00:00
|
|
|
management-hub
|
|
|
|
|
(ALPHA) Manage Cloud Storage Management Hub.
|
|
|
|
|
|
2022-08-03 09:18:38 +00:00
|
|
|
objects
|
|
|
|
|
(ALPHA) Manage Cloud Storage objects.
|
|
|
|
|
|
2023-10-25 11:42:23 +00:00
|
|
|
operations
|
|
|
|
|
(ALPHA) Manage storage operations.
|
|
|
|
|
|
2022-03-01 04:29:52 +00:00
|
|
|
COMMANDS
|
|
|
|
|
COMMAND is one of the following:
|
|
|
|
|
|
2022-08-03 09:18:38 +00:00
|
|
|
cat
|
|
|
|
|
(ALPHA) Outputs the contents of one or more URLs to stdout.
|
|
|
|
|
|
2022-03-01 04:29:52 +00:00
|
|
|
cp
|
|
|
|
|
(ALPHA) Upload, download, and copy Cloud Storage objects.
|
|
|
|
|
|
2024-08-21 09:39:51 +00:00
|
|
|
diagnose
|
|
|
|
|
(ALPHA) Diagnose Google Cloud Storage.
|
|
|
|
|
|
2023-05-24 10:23:00 +00:00
|
|
|
du
|
2023-12-20 10:06:06 +00:00
|
|
|
(ALPHA) Displays the amount of space in bytes used by storage
|
2023-05-24 10:23:00 +00:00
|
|
|
resources.
|
|
|
|
|
|
2023-02-23 10:13:49 +00:00
|
|
|
hash
|
|
|
|
|
(ALPHA) Calculates hashes on local or cloud files.
|
|
|
|
|
|
2022-03-01 04:29:52 +00:00
|
|
|
ls
|
|
|
|
|
(ALPHA) List Cloud Storage buckets and objects.
|
|
|
|
|
|
2022-08-31 09:34:57 +00:00
|
|
|
mv
|
|
|
|
|
(ALPHA) Moves or renames objects.
|
|
|
|
|
|
2023-11-09 11:45:52 +00:00
|
|
|
restore
|
|
|
|
|
(ALPHA) Restore one or more soft-deleted objects.
|
|
|
|
|
|
2022-03-01 04:29:52 +00:00
|
|
|
rm
|
|
|
|
|
(ALPHA) Delete objects and buckets.
|
|
|
|
|
|
2023-06-28 10:42:37 +00:00
|
|
|
rsync
|
|
|
|
|
(ALPHA) Synchronize content of two buckets/directories.
|
|
|
|
|
|
2022-08-03 09:18:38 +00:00
|
|
|
service-agent
|
|
|
|
|
(ALPHA) Manage a project's Cloud Storage service agent, which is used
|
|
|
|
|
to perform Cloud KMS operations.
|
|
|
|
|
|
2023-06-22 10:31:35 +00:00
|
|
|
sign-url
|
|
|
|
|
(ALPHA) Generate a URL with embedded authentication that can be used by
|
|
|
|
|
anyone.
|
|
|
|
|
|
2022-03-01 04:29:52 +00:00
|
|
|
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
|
2022-09-14 09:28:28 +00:00
|
|
|
access allowlist. This variant is also available:
|
|
|
|
|
|
|
|
|
|
$ gcloud storage
|
2022-03-01 04:29:52 +00:00
|
|
|
|