File: //snap/google-cloud-cli/396/help/man/man1/gcloud_alpha_storage_operations_cancel.1
.TH "GCLOUD_ALPHA_STORAGE_OPERATIONS_CANCEL" 1
.SH "NAME"
.HP
gcloud alpha storage operations cancel \- cancel a storage operation
.SH "SYNOPSIS"
.HP
\f5gcloud alpha storage operations cancel\fR \fIOPERATION_NAME\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR 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.
.SH "EXAMPLES"
To cancel the operation "C894F35J" on bucket "my\-bucket", run:
.RS 2m
$ gcloud alpha storage operations cancel \e
projects/_/buckets/my\-bucket/operations/C894F35J
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIOPERATION_NAME\fR
The operation name including the Cloud Storage bucket and operation ID.
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "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 access
allowlist. This variant is also available:
.RS 2m
$ gcloud storage operations cancel
.RE