class Google::Apis::ComposerV1beta1::WebServerResource

Configuration for resources used by Airflow web server.

Attributes

cpu[RW]

Optional. CPU request and limit for Airflow web server. Corresponds to the JSON property `cpu` @return [Float]

memory_gb[RW]

Optional. Memory (GB) request and limit for Airflow web server. Corresponds to the JSON property `memoryGb` @return [Float]

storage_gb[RW]

Optional. Storage (GB) request and limit for Airflow web server. 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 1288
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 1293
def update!(**args)
  @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