- NAME
-
- gcloud storage batch-operations jobs cancel - cancel a batch-operations job
- SYNOPSIS
-
-
gcloud storage batch-operations jobs cancelBATCH_JOB[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Cancel the batch operation job.
- EXAMPLES
- To cancel a batch job with the name
my-jobin locationus-central1:gcloud storage batch-operations jobs cancel my-job --location = us-central1To cancel the same batch job with fully specified name:
gcloud storage batch-operations jobs cancel projects/my-project/locations/us-central1/jobs/my-job - POSITIONAL ARGUMENTS
-
- Batch job resource - The batch job to cancel. This represents a Cloud resource.
(NOTE) Some attributes are not given arguments in this group but can be set in
other ways.
To set the
projectattribute:- provide the argument
batch_jobon the command line with a fully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
To set the
locationattribute:- provide the argument
batch_jobon the command line with a fully specified name; - The default is
global.
This must be specified.
-
BATCH_JOB - ID of the batch-job or fully qualified identifier for the batch-job.
To set the
batch-jobattribute:- provide the argument
batch_jobon the command line.
- provide the argument
- provide the argument
- Batch job resource - The batch job to cancel. This represents a Cloud resource.
(NOTE) Some attributes are not given arguments in this group but can be set in
other ways.
- 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 batch-operations jobs cancel
gcloud storage batch-operations jobs 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.

