gcloud storage operations cancel

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 isbest effort and may fail in cases such as when the operation is alreadycomplete.
EXAMPLES
To cancel the operation "C894F35J" on bucket "my-bucket", run:
gcloudstorageoperationscancelprojects/_/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 help for details.

NOTES
This variant is also available:
gcloudalphastorageoperationscancel

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.