class Google::Apis::ComposerV1beta1::SchedulerResource
Configuration for resources used by Airflow schedulers.
Attributes
count[RW]
Optional. The number of schedulers. Corresponds to the JSON property `count` @return [Fixnum]
cpu[RW]
Optional. CPU request and limit for a single Airflow scheduler replica. Corresponds to the JSON property `cpu` @return [Float]
memory_gb[RW]
Optional. Memory (GB) request and limit for a single Airflow scheduler replica. Corresponds to the JSON property `memoryGb` @return [Float]
storage_gb[RW]
Optional. Storage (GB) request and limit for a single Airflow scheduler replica. Corresponds to the JSON property `storageGb` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/composer_v1beta1/classes.rb, line 1083 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/composer_v1beta1/classes.rb, line 1088 def update!(**args) @count = args[:count] if args.key?(:count) @cpu = args[:cpu] if args.key?(:cpu) @memory_gb = args[:memory_gb] if args.key?(:memory_gb) @storage_gb = args[:storage_gb] if args.key?(:storage_gb) end