Cloud Speech-to-Text V1p1beta1 API - Module Google::Cloud::Speech::V1p1beta1::StreamingRecognizeResponse::SpeechEventType (v0.15.3)

Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API module Google::Cloud::Speech::V1p1beta1::StreamingRecognizeResponse::SpeechEventType.

Indicates the type of speech event.

Constants

SPEECH_EVENT_UNSPECIFIED

value: 0
No speech event specified.

END_OF_SINGLE_UTTERANCE

value: 1
This event indicates that the server has detected the end of the user's speech utterance and expects no additional speech. Therefore, the server will not process additional audio (although it may subsequently return additional results). The client should stop sending additional audio data, half-close the gRPC connection, and wait for any additional results until the server closes the gRPC connection. This event is only sent if single_utterance was set to true, and is not used otherwise.