# Cloud Speech V2 Client - Class State (2.5.1)

2.5.1 (latest) 2.5.0 2.4.0 2.3.0 2.2.1 2.1.1 2.0.1 1.20.1 1.19.2 1.18.3 1.16.0 1.15.0 1.14.3 1.13.1 1.12.0 1.11.2 1.10.0 1.9.1 1.8.0 1.7.0 Reference documentation and code samples for the Cloud Speech V2 Client class State.

Set of states that define the lifecycle of a PhraseSet.

Protobuf type `google.cloud.speech.v2.PhraseSet.State`

## Namespace

Google \\ Cloud \\ Speech \\ V2 \\ PhraseSet

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Unspecified state. This is only used/useful for distinguishing
unset values.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### ACTIVE

    Value: 2

The normal and active state.

Generated from protobuf enum `ACTIVE = 2;`

### DELETED

    Value: 4

This PhraseSet has been deleted.

Generated from protobuf enum `DELETED = 4;`