speech/v2 library

Classes

AdaptationPhraseSet
A biasing PhraseSet, which can be either a string referencing the name of an existing PhraseSets resource, or an inline definition of a PhraseSet.
BatchRecognizeFileMetadata
Metadata about a single file in a batch for BatchRecognize.
BatchRecognizeRequest
Request message for the BatchRecognize method.
Config
Message representing the config for the Speech-to-Text API.
CustomClass
CustomClass for biasing in speech recognition.
ExplicitDecodingConfig
Explicitly specified decoding parameters.
GcsOutputConfig
Output configurations for Cloud Storage.
ListCustomClassesResponse
Response message for the ListCustomClasses method.
ListLocationsResponse
The response message for Locations.ListLocations.
ListOperationsResponse
The response message for Operations.ListOperations.
ListPhraseSetsResponse
Response message for the ListPhraseSets method.
ListRecognizersResponse
Response message for the ListRecognizers method.
Operation
This resource represents a long-running operation that is the result of a network API call.
OutputFormatConfig
Configuration for the format of the results stored to output.
Phrase
A Phrase contains words and phrase "hints" so that the speech recognition is more likely to recognize them.
PhraseSet
PhraseSet for biasing in speech recognition.
ProjectsLocationsConfigResource
ProjectsLocationsCustomClassesResource
ProjectsLocationsOperationsResource
ProjectsLocationsPhraseSetsResource
ProjectsLocationsRecognizersResource
ProjectsLocationsResource
ProjectsResource
RecognitionConfig
Provides information to the Recognizer that specifies how to process the recognition request.
RecognitionFeatures
Available recognition features.
RecognitionOutputConfig
Configuration options for the output(s) of recognition.
RecognitionResponseMetadata
Metadata about the recognition request and response.
Recognizer
A Recognizer message.
RecognizeRequest
Request message for the Recognize method.
RecognizeResponse
Response message for the Recognize method.
SpeakerDiarizationConfig
Configuration to enable speaker diarization.
SpeechAdaptation
Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
SpeechApi
Converts audio to text by applying powerful neural network models.
SpeechRecognitionAlternative
Alternative hypotheses (a.k.a. n-best list).
SpeechRecognitionResult
A speech recognition result corresponding to a portion of the audio.
TranscriptNormalization
Transcription normalization configuration.
TranslationConfig
Translation configuration.
UndeleteCustomClassRequest
Request message for the UndeleteCustomClass method.
UndeletePhraseSetRequest
Request message for the UndeletePhraseSet method.
UndeleteRecognizerRequest
Request message for the UndeleteRecognizer method.
WordInfo
Word-specific information for recognized words.

Typedefs

AutoDetectDecodingConfig = $Empty
Automatically detected decoding parameters.
ClassItem = $ClassItem
An item of the class.
Entry = $Entry
A single replacement configuration.
InlineOutputConfig = $Empty
Output configurations for inline response.
Location = $Location00
A resource that represents a Google Cloud location.
NativeOutputFileFormatConfig = $Empty
Output configurations for serialized BatchRecognizeResults protos.
SrtOutputFileFormatConfig = $Empty
Output configurations SubRip Text formatted subtitle file.
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
VttOutputFileFormatConfig = $Empty
Output configurations for WebVTT formatted subtitle file.

Exceptions / Errors

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