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.
| 1445 1446 1447 | # File 'lib/google/apis/composer_v1/classes.rb', line 1445 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
| 1443 1444 1445 | # File 'lib/google/apis/composer_v1/classes.rb', line 1443 def machine_type @machine_type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1450 1451 1452 | # File 'lib/google/apis/composer_v1/classes.rb', line 1450 def update!(**args) @machine_type = args[:machine_type] if args.key?(:machine_type) end |