gcloud alpha run jobs delete - delete a job
gcloud alpha run jobs delete JOB [--region=REGION] [GCLOUD_WIDE_FLAG ...]
(ALPHA) Delete a job.
To delete a job:
$ gcloud alpha run jobs delete job-name
- Job resource - Job to delete. 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 jobs attribute:
provide the argument JOB on the command line.
- --region=REGION
Region in which the resource can be found. Alternatively, set the property [run/region].
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 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 beta run jobs delete