Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class ComposerWorkload.
Information about a single workload.
Generated from protobuf message google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload
Namespace
Google \ Cloud \ Orchestration \ Airflow \ Service \ V1 \ ListWorkloadsResponseMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Name of a workload. |
↳ type |
int
Type of a workload. |
↳ status |
ComposerWorkloadStatus
Output only. Status of a workload. |
getName
Name of a workload.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Name of a workload.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Type of a workload.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ComposerWorkloadType. |
setType
Type of a workload.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ComposerWorkloadType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStatus
Output only. Status of a workload.
| Returns | |
|---|---|
| Type | Description |
ComposerWorkloadStatus|null |
|
hasStatus
clearStatus
setStatus
Output only. Status of a workload.
| Parameter | |
|---|---|
| Name | Description |
var |
ComposerWorkloadStatus
|
| Returns | |
|---|---|
| Type | Description |
$this |
|