2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class WorkloadsConfig.Types.SchedulerResource : IMessage<WorkloadsConfig.Types.SchedulerResource>, IEquatable<WorkloadsConfig.Types.SchedulerResource>, IDeepCloneable<WorkloadsConfig.Types.SchedulerResource>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Composer v1 API class WorkloadsConfig.Types.SchedulerResource.

Configuration for resources used by Airflow schedulers.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[WorkloadsConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.WorkloadsConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.WorkloadsConfig.Types.md.txt)[SchedulerResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.WorkloadsConfig.Types.SchedulerResource.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WorkloadsConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.WorkloadsConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.WorkloadsConfig.Types.md.txt)[SchedulerResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.WorkloadsConfig.Types.SchedulerResource.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[WorkloadsConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.WorkloadsConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.WorkloadsConfig.Types.md.txt)[SchedulerResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.WorkloadsConfig.Types.SchedulerResource.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Orchestration.Airflow.Service.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.md.txt)

## Assembly

Google.Cloud.Orchestration.Airflow.Service.V1.dll

## Constructors

### SchedulerResource()

    public SchedulerResource()

### SchedulerResource(SchedulerResource)

    public SchedulerResource(WorkloadsConfig.Types.SchedulerResource other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `WorkloadsConfigTypesSchedulerResource` |

## Properties

### Count

    public int Count { get; set; }

Optional. The number of schedulers.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### Cpu

    public float Cpu { get; set; }

Optional. CPU request and limit for a single Airflow scheduler replica.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### MemoryGb

    public float MemoryGb { get; set; }

Optional. Memory (GB) request and limit for a single Airflow scheduler
replica.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### StorageGb

    public float StorageGb { get; set; }

Optional. Storage (GB) request and limit for a single Airflow scheduler
replica.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `float` |   |