gcloud storage batch-operations jobs cancel

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 namemy-job in locationus-central1:
gcloudstoragebatch-operationsjobscancelmy-job--location=us-central1

To cancel the same batch job with fully specified name:

gcloudstoragebatch-operationsjobscancelprojects/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 inother ways.

To set theproject attribute:

  • provide the argumentbatch_job on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

To set thelocation attribute:

  • provide the argumentbatch_job on the command line with a fullyspecified name;
  • The default isglobal.

This must be specified.

BATCH_JOB
ID of the batch-job or fully qualified identifier for the batch-job.

To set thebatch-job attribute:

  • provide the argumentbatch_job on the command line.
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:
gcloudalphastoragebatch-operationsjobscancel

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.