Module model

Module model 

Source
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§

AccessMetadata
The access metadata for a particular region. This can be applied if the org policy for the given project disallows a particular region.
AutoDetectDecodingConfig
Automatically detected decoding parameters. Supported for the following encodings:
BatchRecognizeFileMetadata
Metadata about a single file in a batch for BatchRecognize.
BatchRecognizeFileResult
Final results for a single file.
BatchRecognizeMetadata
Operation metadata for BatchRecognize.
BatchRecognizeRequest
Request message for the BatchRecognize method.
BatchRecognizeResponse
Response message for BatchRecognize that is packaged into a longrunning Operation.
BatchRecognizeResults
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.
BatchRecognizeTranscriptionMetadata
Metadata about transcription for a single file (for example, progress percent).
CloudStorageResult
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.
CreateCustomClassRequest
Request message for the CreateCustomClass method.
CreatePhraseSetRequest
Request message for the CreatePhraseSet method.
CreateRecognizerRequest
Request message for the CreateRecognizer method.
CustomClass
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.
DeleteCustomClassRequest
Request message for the DeleteCustomClass method.
DeletePhraseSetRequest
Request message for the DeletePhraseSet method.
DeleteRecognizerRequest
Request message for the DeleteRecognizer method.
DenoiserConfig
Denoiser config. May not be supported for all models and may have no effect.
ExplicitDecodingConfig
Explicitly specified decoding parameters.
GcsOutputConfig
Output configurations for Cloud Storage.
GetConfigRequest
Request message for the GetConfig method.
GetCustomClassRequest
Request message for the GetCustomClass method.
GetPhraseSetRequest
Request message for the GetPhraseSet method.
GetRecognizerRequest
Request message for the GetRecognizer method.
InlineOutputConfig
Output configurations for inline response.
InlineResult
Final results returned inline in the recognition response.
LanguageMetadata
The metadata about locales available in a given region. Currently this is just the models that are available for each locale
ListCustomClassesRequest
Request message for the ListCustomClasses method.
ListCustomClassesResponse
Response message for the ListCustomClasses method.
ListPhraseSetsRequest
Request message for the ListPhraseSets method.
ListPhraseSetsResponse
Response message for the ListPhraseSets method.
ListRecognizersRequest
Request message for the ListRecognizers method.
ListRecognizersResponse
Response message for the ListRecognizers method.
LocationsMetadata
Main metadata for the Locations API for STT V2. Currently this is just the metadata about locales, models, and features
ModelFeature
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
ModelFeatures
Represents the collection of features belonging to a model
ModelMetadata
The metadata about the models in a given region for a specific locale. Currently this is just the features of the model
NativeOutputFileFormatConfig
Output configurations for serialized BatchRecognizeResults protos.
OperationMetadata
Represents the metadata of a long-running operation.
OutputFormatConfig
Configuration for the format of the results stored to output.
PhraseSet
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.
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.
RecognizeRequest
Request message for the Recognize method. Either content or uri must be supplied. Supplying both or neither returns [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See content limits.
RecognizeResponse
Response message for the Recognize method.
Recognizer
A Recognizer message. Stores recognition configuration and metadata.
SpeakerDiarizationConfig
Configuration to enable speaker diarization.
SpeechAdaptation
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.
SpeechRecognitionAlternative
Alternative hypotheses (a.k.a. n-best list).
SpeechRecognitionResult
A speech recognition result corresponding to a portion of the audio.
SrtOutputFileFormatConfig
Output configurations SubRip Text formatted subtitle file.
StreamingRecognitionConfig
Provides configuration information for the StreamingRecognize request.
StreamingRecognitionFeatures
Available recognition features specific to streaming recognition requests.
StreamingRecognitionResult
A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.
StreamingRecognizeRequest
Request message for the [StreamingRecognize][google.cloud.speech.v2.Speech.StreamingRecognize] method. Multiple StreamingRecognizeRequest messages are sent in one call.
StreamingRecognizeResponse
StreamingRecognizeResponse is the only message returned to the client by StreamingRecognize. A series of zero or more StreamingRecognizeResponse messages are streamed back to the client. If there is no recognizable audio then no messages are streamed back to the client.
TranscriptNormalization
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.
TranslationConfig
Translation configuration. Use to translate the given audio into text for the desired language.
UndeleteCustomClassRequest
Request message for the UndeleteCustomClass method.
UndeletePhraseSetRequest
Request message for the UndeletePhraseSet method.
UndeleteRecognizerRequest
Request message for the UndeleteRecognizer method.
UpdateConfigRequest
Request message for the UpdateConfig method.
UpdateCustomClassRequest
Request message for the UpdateCustomClass method.
UpdatePhraseSetRequest
Request message for the UpdatePhraseSet method.
UpdateRecognizerRequest
Request message for the UpdateRecognizer method.
VttOutputFileFormatConfig
Output configurations for WebVTT formatted subtitle file.
WordInfo
Word-specific information for recognized words.