Cloud AI Platform v1beta1 API - Class Scheduling (1.0.0-beta07)

public sealed class Scheduling : IMessage<Scheduling>, IEquatable<Scheduling>, IDeepCloneable<Scheduling>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class Scheduling.

All parameters related to queuing and scheduling of custom jobs.

Inheritance

object > Scheduling

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

Scheduling()

public Scheduling()

Scheduling(Scheduling)

public Scheduling(Scheduling other)
Parameter
Name Description
other Scheduling

Properties

DisableRetries

public bool DisableRetries { get; set; }

Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides Scheduling.restart_job_on_worker_restart to false.

Property Value
Type Description
bool

MaxWaitDuration

public Duration MaxWaitDuration { get; set; }

Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.

Property Value
Type Description
Duration

RestartJobOnWorkerRestart

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.

Property Value
Type Description
bool

Strategy

public Scheduling.Types.Strategy Strategy { get; set; }

Optional. This determines which type of scheduling strategy to use.

Property Value
Type Description
SchedulingTypesStrategy

Timeout

public Duration Timeout { get; set; }

The maximum job running time. The default is 7 days.

Property Value
Type Description
Duration