- NAME
-
- gcloud storage operations cancel - cancel a storage operation
- SYNOPSIS
-
-
gcloud storage operations cancelOPERATION_NAME[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Cancel a storage operation. Since operations are asynchronous, this request is best effort and may fail in cases such as when the operation is already complete.
- EXAMPLES
- To cancel the operation "C894F35J" on bucket "my-bucket", run:
gcloud storage operations cancel projects/_/buckets/my-bucket/operations/C894F35J - POSITIONAL ARGUMENTS
-
-
OPERATION_NAME - The operation name including the Cloud Storage bucket and operation ID.
-
- 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 helpfor details. - NOTES
- This variant is also available:
gcloud alpha storage operations cancel
gcloud storage operations cancel
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.

