Cloud Speech V2 Client - Class State (1.13.1)

Reference documentation and code samples for the Cloud Speech V2 Client class State.

Set of states that define the lifecycle of a Recognizer.

Protobuf type google.cloud.speech.v2.Recognizer.State

Namespace

Google \ Cloud \ Speech \ V2 \ Recognizer

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

The default value. This value is used if the state is omitted.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

ACTIVE

Value: 2

The Recognizer is active and ready for use.

Generated from protobuf enum ACTIVE = 2;

DELETED

Value: 4

This Recognizer has been deleted.

Generated from protobuf enum DELETED = 4;