public sealed class WorkloadsConfig.Types.WorkerResource : IMessage<WorkloadsConfig.Types.WorkerResource>, IEquatable<WorkloadsConfig.Types.WorkerResource>, IDeepCloneable<WorkloadsConfig.Types.WorkerResource>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Composer v1 API class WorkloadsConfig.Types.WorkerResource.
Configuration for resources used by Airflow workers.
Implements
IMessageWorkloadsConfigTypesWorkerResource, IEquatableWorkloadsConfigTypesWorkerResource, IDeepCloneableWorkloadsConfigTypesWorkerResource, IBufferMessage, IMessageNamespace
Google.Cloud.Orchestration.Airflow.Service.V1Assembly
Google.Cloud.Orchestration.Airflow.Service.V1.dll
Constructors
WorkerResource()
public WorkerResource()
WorkerResource(WorkerResource)
public WorkerResource(WorkloadsConfig.Types.WorkerResource other)
Parameter | |
---|---|
Name | Description |
other |
WorkloadsConfigTypesWorkerResource |
Properties
Cpu
public float Cpu { get; set; }
Optional. CPU request and limit for a single Airflow worker replica.
Property Value | |
---|---|
Type | Description |
float |
MaxCount
public int MaxCount { get; set; }
Optional. Maximum number of workers for autoscaling.
Property Value | |
---|---|
Type | Description |
int |
MemoryGb
public float MemoryGb { get; set; }
Optional. Memory (GB) request and limit for a single Airflow worker replica.
Property Value | |
---|---|
Type | Description |
float |
MinCount
public int MinCount { get; set; }
Optional. Minimum number of workers for autoscaling.
Property Value | |
---|---|
Type | Description |
int |
StorageGb
public float StorageGb { get; set; }
Optional. Storage (GB) request and limit for a single Airflow worker replica.
Property Value | |
---|---|
Type | Description |
float |