Expand description
The messages and enums that are part of this client library.
Modules§
- access_
metadata - Defines additional types related to AccessMetadata.
- batch_
recognize_ file_ metadata - Defines additional types related to BatchRecognizeFileMetadata.
- batch_
recognize_ file_ result - Defines additional types related to BatchRecognizeFileResult.
- batch_
recognize_ request - Defines additional types related to BatchRecognizeRequest.
- custom_
class - Defines additional types related to CustomClass.
- explicit_
decoding_ config - Defines additional types related to ExplicitDecodingConfig.
- operation_
metadata - Defines additional types related to OperationMetadata.
- phrase_
set - Defines additional types related to PhraseSet.
- recognition_
config - Defines additional types related to RecognitionConfig.
- recognition_
features - Defines additional types related to RecognitionFeatures.
- recognition_
output_ config - Defines additional types related to RecognitionOutputConfig.
- recognize_
request - Defines additional types related to RecognizeRequest.
- recognizer
- Defines additional types related to Recognizer.
- speech_
adaptation - Defines additional types related to SpeechAdaptation.
- streaming_
recognition_ features - Defines additional types related to StreamingRecognitionFeatures.
- streaming_
recognize_ request - Defines additional types related to StreamingRecognizeRequest.
- streaming_
recognize_ response - Defines additional types related to StreamingRecognizeResponse.
- transcript_
normalization - Defines additional types related to TranscriptNormalization.
Structs§
- Access
Metadata - The access metadata for a particular region. This can be applied if the org policy for the given project disallows a particular region.
- Auto
Detect Decoding Config - Automatically detected decoding parameters. Supported for the following encodings:
- Batch
Recognize File Metadata - Metadata about a single file in a batch for BatchRecognize.
- Batch
Recognize File Result - Final results for a single file.
- Batch
Recognize Metadata - Operation metadata for BatchRecognize.
- Batch
Recognize Request - Request message for the BatchRecognize method.
- Batch
Recognize Response - Response message for BatchRecognize that is packaged into a longrunning Operation.
- Batch
Recognize Results - Output type for Cloud Storage of BatchRecognize transcripts. Though this proto isn’t returned in this API anywhere, the Cloud Storage transcripts will be this proto serialized and should be parsed as such.
- Batch
Recognize Transcription Metadata - Metadata about transcription for a single file (for example, progress percent).
- Cloud
Storage Result - Final results written to Cloud Storage.
- Config
- Message representing the config for the Speech-to-Text API. This includes an optional KMS key with which incoming data will be encrypted.
- Create
Custom Class Request - Request message for the CreateCustomClass method.
- Create
Phrase SetRequest - Request message for the CreatePhraseSet method.
- Create
Recognizer Request - Request message for the CreateRecognizer method.
- Custom
Class - CustomClass for biasing in speech recognition. Used to define a set of words or phrases that represents a common concept or theme likely to appear in your audio, for example a list of passenger ship names.
- Delete
Custom Class Request - Request message for the DeleteCustomClass method.
- Delete
Phrase SetRequest - Request message for the DeletePhraseSet method.
- Delete
Recognizer Request - Request message for the DeleteRecognizer method.
- Denoiser
Config - Denoiser config. May not be supported for all models and may have no effect.
- Explicit
Decoding Config - Explicitly specified decoding parameters.
- GcsOutput
Config - Output configurations for Cloud Storage.
- GetConfig
Request - Request message for the GetConfig method.
- GetCustom
Class Request - Request message for the GetCustomClass method.
- GetPhrase
SetRequest - Request message for the GetPhraseSet method.
- GetRecognizer
Request - Request message for the GetRecognizer method.
- Inline
Output Config - Output configurations for inline response.
- Inline
Result - Final results returned inline in the recognition response.
- Language
Metadata - The metadata about locales available in a given region. Currently this is just the models that are available for each locale
- List
Custom Classes Request - Request message for the ListCustomClasses method.
- List
Custom Classes Response - Response message for the ListCustomClasses method.
- List
Phrase Sets Request - Request message for the ListPhraseSets method.
- List
Phrase Sets Response - Response message for the ListPhraseSets method.
- List
Recognizers Request - Request message for the ListRecognizers method.
- List
Recognizers Response - Response message for the ListRecognizers method.
- Locations
Metadata - Main metadata for the Locations API for STT V2. Currently this is just the metadata about locales, models, and features
- Model
Feature - Represents a singular feature of a model. If the feature is
recognizer, the release_state of the feature represents the release_state of the model - Model
Features - Represents the collection of features belonging to a model
- Model
Metadata - The metadata about the models in a given region for a specific locale. Currently this is just the features of the model
- Native
Output File Format Config - Output configurations for serialized
BatchRecognizeResultsprotos. - Operation
Metadata - Represents the metadata of a long-running operation.
- Output
Format Config - Configuration for the format of the results stored to
output. - Phrase
Set - PhraseSet for biasing in speech recognition. A PhraseSet is used to provide “hints” to the speech recognizer to favor specific words and phrases in the results.
- Recognition
Config - Provides information to the Recognizer that specifies how to process the recognition request.
- Recognition
Features - Available recognition features.
- Recognition
Output Config - Configuration options for the output(s) of recognition.
- Recognition
Response Metadata - Metadata about the recognition request and response.
- Recognize
Request - Request message for the
Recognize method. Either
contentorurimust be supplied. Supplying both or neither returns [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See content limits. - Recognize
Response - Response message for the Recognize method.
- Recognizer
- A Recognizer message. Stores recognition configuration and metadata.
- Speaker
Diarization Config - Configuration to enable speaker diarization.
- Speech
Adaptation - Provides “hints” to the speech recognizer to favor specific words and phrases in the results. PhraseSets can be specified as an inline resource, or a reference to an existing PhraseSet resource.
- Speech
Recognition Alternative - Alternative hypotheses (a.k.a. n-best list).
- Speech
Recognition Result - A speech recognition result corresponding to a portion of the audio.
- SrtOutput
File Format Config - Output configurations SubRip Text formatted subtitle file.
- Streaming
Recognition Config - Provides configuration information for the StreamingRecognize request.
- Streaming
Recognition Features - Available recognition features specific to streaming recognition requests.
- Streaming
Recognition Result - A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.
- Streaming
Recognize Request - Request message for the [StreamingRecognize][google.cloud.speech.v2.Speech.StreamingRecognize] method. Multiple StreamingRecognizeRequest messages are sent in one call.
- Streaming
Recognize Response StreamingRecognizeResponseis the only message returned to the client byStreamingRecognize. A series of zero or moreStreamingRecognizeResponsemessages are streamed back to the client. If there is no recognizable audio then no messages are streamed back to the client.- Transcript
Normalization - Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.
- Translation
Config - Translation configuration. Use to translate the given audio into text for the desired language.
- Undelete
Custom Class Request - Request message for the UndeleteCustomClass method.
- Undelete
Phrase SetRequest - Request message for the UndeletePhraseSet method.
- Undelete
Recognizer Request - Request message for the UndeleteRecognizer method.
- Update
Config Request - Request message for the UpdateConfig method.
- Update
Custom Class Request - Request message for the UpdateCustomClass method.
- Update
Phrase SetRequest - Request message for the UpdatePhraseSet method.
- Update
Recognizer Request - Request message for the UpdateRecognizer method.
- VttOutput
File Format Config - Output configurations for WebVTT formatted subtitle file.
- Word
Info - Word-specific information for recognized words.