# 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 workflow deployment.

Protobuf type `google.cloud.workflows.v1.Workflow.State`

## Namespace

Google \\ Cloud \\ Workflows \\ V1 \\ Workflow

## 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 workflow has been deployed successfully and is serving.

Generated from protobuf enum `ACTIVE = 1;`

### UNAVAILABLE

    Value: 2

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

Generated from protobuf enum `UNAVAILABLE = 2;`