Google Cloud Orchestration Airflow V1 Client - Class WebServerResource (1.0.4)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
float

setCpu

Optional. CPU request and limit for Airflow web server.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMemoryGb

Optional. Memory (GB) request and limit for Airflow web server.

Returns
TypeDescription
float

setMemoryGb

Optional. Memory (GB) request and limit for Airflow web server.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getStorageGb

Optional. Storage (GB) request and limit for Airflow web server.

Returns
TypeDescription
float

setStorageGb

Optional. Storage (GB) request and limit for Airflow web server.

Parameter
NameDescription
var float
Returns
TypeDescription
$this