Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class TriggererResource.
Configuration for resources used by Airflow triggerers.
Generated from protobuf message google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.TriggererResource
Namespace
Google \ Cloud \ Orchestration \ Airflow \ Service \ V1 \ WorkloadsConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ count |
int
Optional. The number of triggerers. |
↳ cpu |
float
Optional. CPU request and limit for a single Airflow triggerer replica. |
↳ memory_gb |
float
Optional. Memory (GB) request and limit for a single Airflow triggerer replica. |
getCount
Optional. The number of triggerers.
Returns | |
---|---|
Type | Description |
int |
setCount
Optional. The number of triggerers.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getCpu
Optional. CPU request and limit for a single Airflow triggerer replica.
Returns | |
---|---|
Type | Description |
float |
setCpu
Optional. CPU request and limit for a single Airflow triggerer replica.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMemoryGb
Optional. Memory (GB) request and limit for a single Airflow triggerer replica.
Returns | |
---|---|
Type | Description |
float |
setMemoryGb
Optional. Memory (GB) request and limit for a single Airflow triggerer replica.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |