Google Cloud Orchestration Airflow V1 Client - Class SchedulerResource (1.2.0)

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

Configuration for resources used by Airflow schedulers.

Generated from protobuf message google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResource

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1 \ WorkloadsConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ cpu float

Optional. CPU request and limit for a single Airflow scheduler replica.

↳ memory_gb float

Optional. Memory (GB) request and limit for a single Airflow scheduler replica.

↳ storage_gb float

Optional. Storage (GB) request and limit for a single Airflow scheduler replica.

↳ count int

Optional. The number of schedulers.

getCpu

Optional. CPU request and limit for a single Airflow scheduler replica.

Returns
TypeDescription
float

setCpu

Optional. CPU request and limit for a single Airflow scheduler replica.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMemoryGb

Optional. Memory (GB) request and limit for a single Airflow scheduler replica.

Returns
TypeDescription
float

setMemoryGb

Optional. Memory (GB) request and limit for a single Airflow scheduler replica.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getStorageGb

Optional. Storage (GB) request and limit for a single Airflow scheduler replica.

Returns
TypeDescription
float

setStorageGb

Optional. Storage (GB) request and limit for a single Airflow scheduler replica.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getCount

Optional. The number of schedulers.

Returns
TypeDescription
int

setCount

Optional. The number of schedulers.

Parameter
NameDescription
var int
Returns
TypeDescription
$this