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 |
Google\Cloud\Orchestration\Airflow\Service\V1\ListWorkloadsResponse\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 |
|
setType
Type of a workload.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStatus
Output only. Status of a workload.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Orchestration\Airflow\Service\V1\ListWorkloadsResponse\ComposerWorkloadStatus|null |
|
hasStatus
clearStatus
setStatus
Output only. Status of a workload.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Orchestration\Airflow\Service\V1\ListWorkloadsResponse\ComposerWorkloadStatus
|
| Returns | |
|---|---|
| Type | Description |
$this |
|