1.0.0-beta87 (latest) 1.0.0-beta86

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

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

All parameters related to queuing and scheduling of custom jobs.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Scheduling

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Scheduling](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Scheduling), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Scheduling](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Scheduling), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Scheduling](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Scheduling), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### Scheduling()

    public Scheduling()

### Scheduling(Scheduling)

    public Scheduling(Scheduling other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.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** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### 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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Duration.html` |   |

### RestartJobOnWorkerRestart

    public bool RestartJobOnWorkerRestart { get; set; }

Optional. 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** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Strategy

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

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Schedulinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Scheduling.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Scheduling.Types.Strategy` |   |

### Timeout

    public Duration Timeout { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Duration.html` |   |