# Google Cloud Workflows V1 Client - Class State (1.3.0)

1.3.0 (latest) 1.2.1 1.1.1 1.0.3 0.5.5 0.4.2 0.3.0 0.2.17 Reference documentation and code samples for the Google Cloud Workflows V1 Client class State.

Describes the current state of the execution. More states might be added
in the future.

Protobuf type `google.cloud.workflows.executions.v1.Execution.State`

## Namespace

Google \\ Cloud \\ Workflows \\ Executions \\ V1 \\ Execution

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Invalid state.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### ACTIVE

    Value: 1

The execution is in progress.

Generated from protobuf enum `ACTIVE = 1;`

### SUCCEEDED

    Value: 2

The execution finished successfully.

Generated from protobuf enum `SUCCEEDED = 2;`

### FAILED

    Value: 3

The execution failed with an error.

Generated from protobuf enum `FAILED = 3;`

### CANCELLED

    Value: 4

The execution was stopped intentionally.

Generated from protobuf enum `CANCELLED = 4;`

### UNAVAILABLE

    Value: 5

Execution data is unavailable. See the `state_error` field.

Generated from protobuf enum `UNAVAILABLE = 5;`

### QUEUED

    Value: 6

Request has been placed in the backlog for processing at a later time.

Generated from protobuf enum `QUEUED = 6;`