Class: Google::Apis::ComposerV1beta1::WebServerConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/composer_v1beta1/classes.rb,
generated/google/apis/composer_v1beta1/representations.rb,
generated/google/apis/composer_v1beta1/representations.rb

Overview

The configuration settings for the Airflow web server App Engine instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WebServerConfig

Returns a new instance of WebServerConfig.



1029
1030
1031
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 1029

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#machine_typeString

Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1- webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values. Corresponds to the JSON property machineType

Returns:

  • (String)


1027
1028
1029
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 1027

def machine_type
  @machine_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1034
1035
1036
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 1034

def update!(**args)
  @machine_type = args[:machine_type] if args.key?(:machine_type)
end