[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-04-02。"],[[["This page outlines the process for canceling Batch jobs, which is useful for stopping jobs that are running or preventing jobs from starting."],["Canceling a job can be done manually, for example, when a job requires troubleshooting, or it should be configured to automatically stop by a non-zero exit code or timeout."],["To cancel a job, you need the Batch Job Editor role (`roles/batch.jobsEditor`) and can do so using either the `gcloud alpha batch jobs cancel` command in the Google Cloud CLI or the `jobs.cancel` v1alpha method in the Batch API."],["Cancelled jobs, similar to succeeded and failed jobs, remain in the project for 60 days before being automatically deleted by Google Cloud, but you can delete the job immediately to not keep the information if desired."],["Before canceling a job, make sure to have enabled Batch and completed the prerequisites, and remember to replace placeholders like `JOB_NAME` and `LOCATION` with your specific job and location details."]]],[]]