gcloud alpha bq jobs cancel - cancel a BigQuery job
gcloud alpha bq jobs cancel JOB [GCLOUD_WIDE_FLAG ...]
(ALPHA) Cancel a BigQuery job.
The following command cancels a job named my-query-job and returns the final state of the job:
$ gcloud alpha bq jobs cancel my-query-job
- Job resource - The BigQuery 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 project attribute:
- —
provide the argument job on the command line with a fully specified name;
- —
provide the argument --project on the command line;
- —
set the property core/project.
This must be specified.
- JOB
ID of the job or fully qualified identifier for the job. To set the job attribute:
provide the argument job on the command line.
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.
This command uses the bigquery/v2 API. The full documentation for this API can be found at: https://cloud.google.com/bigquery/
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.