Class: Google::Apis::ComposerV1::WebServerConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1::WebServerConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
lib/google/apis/composer_v1/representations.rb,
lib/google/apis/composer_v1/representations.rb
Overview
The configuration settings for the Airflow web server App Engine instance. Supported for Cloud Composer environments in versions composer-1..-airflow-. *.
Instance Attribute Summary collapse
-
#machine_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WebServerConfig
constructor
A new instance of WebServerConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WebServerConfig
Returns a new instance of WebServerConfig.
2283 2284 2285 |
# File 'lib/google/apis/composer_v1/classes.rb', line 2283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#machine_type ⇒ String
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
2281 2282 2283 |
# File 'lib/google/apis/composer_v1/classes.rb', line 2281 def machine_type @machine_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2288 2289 2290 |
# File 'lib/google/apis/composer_v1/classes.rb', line 2288 def update!(**args) @machine_type = args[:machine_type] if args.key?(:machine_type) end |