- 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:gcloud alpha storage batch-operations jobs cancel my-job --location=us-central1To cancel the same batch job with fully specified name:
gcloud alpha 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 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:
gcloud storage batch-operations jobs cancel
gcloud alpha 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 2025-05-07 UTC.