gcloud alpha storage batch-operations jobs cancel

NAME
gcloud alpha storage batch-operations jobs cancel - cancel a batch-operations job
SYNOPSIS
gcloud alpha storage batch-operations jobs cancelBATCH_JOB[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Cancel the batch operation job.
EXAMPLES
To cancel a batch job with the namemy-job in locationus-central1:
gcloudalphastoragebatch-operationsjobscancelmy-job--location=us-central1

To cancel the same batch job with fully specified name:

gcloudalphastoragebatch-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 command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudstoragebatch-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.