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

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

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this