Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class WebServerResource.
Configuration for resources used by Airflow web server.
Generated from protobuf message google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResource
Namespace
Google \ Cloud \ Orchestration \ Airflow \ Service \ V1 \ WorkloadsConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cpu |
float
Optional. CPU request and limit for Airflow web server. |
↳ memory_gb |
float
Optional. Memory (GB) request and limit for Airflow web server. |
↳ storage_gb |
float
Optional. Storage (GB) request and limit for Airflow web server. |
getCpu
Optional. CPU request and limit for Airflow web server.
Returns | |
---|---|
Type | Description |
float |
setCpu
Optional. CPU request and limit for Airflow web server.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMemoryGb
Optional. Memory (GB) request and limit for Airflow web server.
Returns | |
---|---|
Type | Description |
float |
setMemoryGb
Optional. Memory (GB) request and limit for Airflow web server.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getStorageGb
Optional. Storage (GB) request and limit for Airflow web server.
Returns | |
---|---|
Type | Description |
float |
setStorageGb
Optional. Storage (GB) request and limit for Airflow web server.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |