public bool RestartJobOnWorkerRestart { get; set; }
Restarts the entire CustomJob if a worker gets restarted.
This feature can be used by distributed training jobs that are not
resilient to workers leaving and joining a job.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThe latest version available for the Cloud AI Platform v1 API class Scheduling is 3.22.0, with a range of previous versions accessible from 3.21.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eScheduling\u003c/code\u003e class provides parameters for managing the queuing and scheduling of custom jobs, including the ability to restart a job if a worker restarts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eScheduling\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eScheduling\u003c/code\u003e class include \u003ccode\u003eRestartJobOnWorkerRestart\u003c/code\u003e, a boolean indicating whether to restart the entire job if a worker is restarted, and \u003ccode\u003eTimeout\u003c/code\u003e, which defines the maximum job running time, defaulting to 7 days.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eScheduling\u003c/code\u003e class has two constructors, one default constructor named \u003ccode\u003eScheduling()\u003c/code\u003e and one that takes a \u003ccode\u003eScheduling\u003c/code\u003e object named \u003ccode\u003eScheduling(Scheduling other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]