Cloud Speech V2 Client - Class State (1.11.2)

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

Methods

name

Parameter
NameDescription
value mixed

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;