gcloud alpha storage batch-operations jobs cancel Stay organized with collections Save and categorize content based on your preferences.
- 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 name
my-jobin locationus-central1:gcloudalphastoragebatch-operationsjobscancelmy-job--location=us-central1To 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 the
projectattribute:- provide the argument
batch_jobon the command line with a fullyspecified 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 fullyspecified 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 inother 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 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.