Google Cloud Orchestration Airflow V1 Client - Class WebServerConfig (1.1.0)

Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class WebServerConfig.

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

Supported for Cloud Composer environments in versions composer-1..-airflow-..*

Generated from protobuf message google.cloud.orchestration.airflow.service.v1.WebServerConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ 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.

getMachineType

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.

Returns
TypeDescription
string

setMachineType

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this