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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ WebServerConfig

Returns a new instance of WebServerConfig.



914
915
916
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 914

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

Instance Attribute Details

#machine_typeString

Optional. Machine type on which Airflow web server is running. For example: composer-n1-webserver-2, composer-n1-webserver-4, 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)


912
913
914
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 912

def machine_type
  @machine_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



919
920
921
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 919

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