class Google::Apis::ComposerV1beta1::WorkloadsConfig
The Kubernetes workloads configuration for GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
Attributes
scheduler[RW]
Configuration for resources used by Airflow schedulers. Corresponds to the JSON property `scheduler` @return [Google::Apis::ComposerV1beta1::SchedulerResource]
web_server[RW]
Configuration for resources used by Airflow web server. Corresponds to the JSON property `webServer` @return [Google::Apis::ComposerV1beta1::WebServerResource]
worker[RW]
Configuration for resources used by Airflow workers. Corresponds to the JSON property `worker` @return [Google::Apis::ComposerV1beta1::WorkerResource]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/composer_v1beta1/classes.rb, line 1364 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 1369 def update!(**args) @scheduler = args[:scheduler] if args.key?(:scheduler) @web_server = args[:web_server] if args.key?(:web_server) @worker = args[:worker] if args.key?(:worker) end