# Google Cloud Orchestration Airflow V1 Client - Class ComposerWorkloadState (2.2.3)

2.2.3 (latest) 2.2.2 2.1.8 2.0.1 1.6.4 1.5.0 1.4.2 1.3.0 1.2.0 1.1.0 1.0.4 Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class ComposerWorkloadState.

Workload states.

Protobuf type `google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadState`

## Namespace

Google \\ Cloud \\ Orchestration \\ Airflow \\ Service \\ V1 \\ ListWorkloadsResponse

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### COMPOSER_WORKLOAD_STATE_UNSPECIFIED

    Value: 0

Not able to determine the status of the workload.

Generated from protobuf enum `COMPOSER_WORKLOAD_STATE_UNSPECIFIED = 0;`

### PENDING

    Value: 1

Workload is in pending state and has not yet started.

Generated from protobuf enum `PENDING = 1;`

### OK

    Value: 2

Workload is running fine.

Generated from protobuf enum `OK = 2;`

### WARNING

    Value: 3

Workload is running but there are some non-critical problems.

Generated from protobuf enum `WARNING = 3;`

### ERROR

    Value: 4

Workload is not running due to an error.

Generated from protobuf enum `ERROR = 4;`

### SUCCEEDED

    Value: 5

Workload has finished execution with success.

Generated from protobuf enum `SUCCEEDED = 5;`

### FAILED

    Value: 6

Workload has finished execution with failure.

Generated from protobuf enum `FAILED = 6;`