# Cloud TPU v1 API - Class SchedulingConfig (2.5.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.SchedulingConfig)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.4.0/Google.Cloud.Tpu.V1.SchedulingConfig)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.3.0/Google.Cloud.Tpu.V1.SchedulingConfig)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.2.0/Google.Cloud.Tpu.V1.SchedulingConfig)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.1.0/Google.Cloud.Tpu.V1.SchedulingConfig)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.0.0/Google.Cloud.Tpu.V1.SchedulingConfig)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/1.1.0/Google.Cloud.Tpu.V1.SchedulingConfig)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/1.0.0/Google.Cloud.Tpu.V1.SchedulingConfig)

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

Reference documentation and code samples for the Cloud TPU v1 API class SchedulingConfig.

Sets the scheduling options for this node.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SchedulingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.SchedulingConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SchedulingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.SchedulingConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SchedulingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.SchedulingConfig), [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.Tpu.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1)

## Assembly

Google.Cloud.Tpu.V1.dll

## Constructors

### SchedulingConfig()

    public SchedulingConfig()

### SchedulingConfig(SchedulingConfig)

    public SchedulingConfig(SchedulingConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.SchedulingConfig` |

## Properties

### Preemptible

    public bool Preemptible { get; set; }

Defines whether the node is preemptible.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Reserved

    public bool Reserved { get; set; }

Whether the node is created under a reservation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |