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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Orchestration Airflow V1 Client - Class WebServerConfig (2.1.8)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.8 (latest)](/php/docs/reference/cloud-orchestration-airflow/latest/V1.WebServerConfig)\n- [2.1.7](/php/docs/reference/cloud-orchestration-airflow/2.1.7/V1.WebServerConfig)\n- [2.0.1](/php/docs/reference/cloud-orchestration-airflow/2.0.1/V1.WebServerConfig)\n- [1.6.4](/php/docs/reference/cloud-orchestration-airflow/1.6.4/V1.WebServerConfig)\n- [1.5.0](/php/docs/reference/cloud-orchestration-airflow/1.5.0/V1.WebServerConfig)\n- [1.4.2](/php/docs/reference/cloud-orchestration-airflow/1.4.2/V1.WebServerConfig)\n- [1.3.0](/php/docs/reference/cloud-orchestration-airflow/1.3.0/V1.WebServerConfig)\n- [1.2.0](/php/docs/reference/cloud-orchestration-airflow/1.2.0/V1.WebServerConfig)\n- [1.1.0](/php/docs/reference/cloud-orchestration-airflow/1.1.0/V1.WebServerConfig)\n- [1.0.4](/php/docs/reference/cloud-orchestration-airflow/1.0.4/V1.WebServerConfig) \nReference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class WebServerConfig.\n\nThe configuration settings for the Airflow web server App Engine instance.\n\nSupported for Cloud Composer environments in versions\ncomposer-1.*.* -airflow-*.*.\\*\n\nGenerated from protobuf message `google.cloud.orchestration.airflow.service.v1.WebServerConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Orchestration \\\\ Airflow \\\\ Service \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMachineType\n\nOptional. Machine type on which Airflow web server is running.\n\nIt has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or\ncomposer-n1-webserver-8.\nIf not specified, composer-n1-webserver-2 will be used.\nValue custom is returned only in response, if Airflow web server parameters\nwere manually changed to a non-standard values.\n\n### setMachineType\n\nOptional. Machine type on which Airflow web server is running.\n\nIt has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or\ncomposer-n1-webserver-8.\nIf not specified, composer-n1-webserver-2 will be used.\nValue custom is returned only in response, if Airflow web server parameters\nwere manually changed to a non-standard values."]]