speech.v1 library Null safety

Cloud Speech-to-Text API - v1

Converts audio to text by applying powerful neural network models.

For more information, see cloud.google.com/speech-to-text/docs/quickstart-protocol

Create an instance of SpeechApi to access these resources:

Classes

ListOperationsResponse
The response message for Operations.ListOperations.
LongRunningRecognizeMetadata
Describes the progress of a long-running LongRunningRecognize call. [...]
LongRunningRecognizeRequest
The top-level message sent by the client for the LongRunningRecognize method.
LongRunningRecognizeResponse
The only message returned to the client by the LongRunningRecognize method. [...]
Operation
This resource represents a long-running operation that is the result of a network API call.
OperationsResource
RecognitionAudio
Contains audio data in the encoding specified in the RecognitionConfig. [...]
RecognitionConfig
Provides information to the recognizer that specifies how to process the request.
RecognitionMetadata
Description of audio data to be recognized.
RecognizeRequest
The top-level message sent by the client for the Recognize method.
RecognizeResponse
The only message returned to the client by the Recognize method. [...]
SpeakerDiarizationConfig
Config to enable speaker diarization.
SpeechApi
Converts audio to text by applying powerful neural network models.
SpeechContext
Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
SpeechRecognitionAlternative
Alternative hypotheses (a.k.a. n-best list).
SpeechRecognitionResult
A speech recognition result corresponding to a portion of the audio.
SpeechResource
Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. [...]
WordInfo
Word-specific information for recognized words.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.