speech/v1 library

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

ABNFGrammar
ClassItem
An item of the class.
CreateCustomClassRequest
Message sent by the client for the CreateCustomClass method.
CreatePhraseSetRequest
Message sent by the client for the CreatePhraseSet method.
CustomClass
A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names.
ListCustomClassesResponse
Message returned to the client by the ListCustomClasses method.
ListOperationsResponse
The response message for Operations.ListOperations.
ListPhraseSetResponse
Message returned to the client by the ListPhraseSet method.
LongRunningRecognizeRequest
The top-level message sent by the client for the LongRunningRecognize method.
Operation
This resource represents a long-running operation that is the result of a network API call.
OperationsResource
Phrase
A phrases containing words and phrase "hints" so that the speech recognition is more likely to recognize them.
PhraseSet
Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
ProjectsLocationsCustomClassesResource
ProjectsLocationsPhraseSetsResource
ProjectsLocationsResource
ProjectsResource
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.
SpeechAdaptation
Speech adaptation configuration.
SpeechAdaptationInfo
Information on speech adaptation use in results
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
TranscriptOutputConfig
Specifies an optional destination for the recognition results.
WordInfo
Word-specific information for recognized words.

Typedefs

Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.

Exceptions / Errors

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