generated/google/cloud/speech/v2/cloud_speech.pb library
Classes
- 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
google.cloud.speech.v2.Speech.BatchRecognize
. - BatchRecognizeRequest
-
Request message for the
google.cloud.speech.v2.Speech.BatchRecognize
method. - BatchRecognizeRequest_ProcessingStrategy
- Possible processing strategies for batch requests.
- BatchRecognizeResponse
-
Response message for
google.cloud.speech.v2.Speech.BatchRecognize
that is packaged into a longrunninggoogle.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).
- 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
google.cloud.speech.v2.Speech.CreateCustomClass
method. - CreatePhraseSetRequest
-
Request message for the
google.cloud.speech.v2.Speech.CreatePhraseSet
method. - CreateRecognizerRequest
-
Request message for the
google.cloud.speech.v2.Speech.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.
- CustomClass_ClassItem
- An item of the class.
- CustomClass_State
- Set of states that define the lifecycle of a CustomClass.
- DeleteCustomClassRequest
-
Request message for the
google.cloud.speech.v2.Speech.DeleteCustomClass
method. - DeletePhraseSetRequest
-
Request message for the
google.cloud.speech.v2.Speech.DeletePhraseSet
method. - DeleteRecognizerRequest
-
Request message for the
google.cloud.speech.v2.Speech.DeleteRecognizer
method. - ExplicitDecodingConfig
- Explicitly specified decoding parameters.
- ExplicitDecodingConfig_AudioEncoding
- Supported audio data encodings.
- GcsOutputConfig
- Output configurations for Cloud Storage.
- GetConfigRequest
-
Request message for the
google.cloud.speech.v2.Speech.GetConfig
method. - GetCustomClassRequest
-
Request message for the
google.cloud.speech.v2.Speech.GetCustomClass
method. - GetPhraseSetRequest
-
Request message for the
google.cloud.speech.v2.Speech.GetPhraseSet
method. - GetRecognizerRequest
-
Request message for the
google.cloud.speech.v2.Speech.GetRecognizer
method. - InlineOutputConfig
- Output configurations for inline response.
- ListCustomClassesRequest
-
Request message for the
google.cloud.speech.v2.Speech.ListCustomClasses
method. - ListCustomClassesResponse
-
Response message for the
google.cloud.speech.v2.Speech.ListCustomClasses
method. - ListPhraseSetsRequest
-
Request message for the
google.cloud.speech.v2.Speech.ListPhraseSets
method. - ListPhraseSetsResponse
-
Response message for the
google.cloud.speech.v2.Speech.ListPhraseSets
method. - ListRecognizersRequest
-
Request message for the
google.cloud.speech.v2.Speech.ListRecognizers
method. - ListRecognizersResponse
-
Response message for the
google.cloud.speech.v2.Speech.ListRecognizers
method. - OperationMetadata
- Represents the metadata of a long-running operation.
- 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.
- PhraseSet_Phrase
- A Phrase contains words and phrase "hints" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer.
- PhraseSet_State
- Set of states that define the lifecycle of a PhraseSet.
- RecognitionConfig
- Provides information to the Recognizer that specifies how to process the recognition request.
- RecognitionFeatures
- Available recognition features.
- RecognitionFeatures_MultiChannelMode
- Options for how to recognize multi-channel audio.
- RecognitionOutputConfig
- Configuration options for the output(s) of recognition.
- RecognitionResponseMetadata
- Metadata about the recognition request and response.
- Recognizer
- A Recognizer message. Stores recognition configuration and metadata.
- Recognizer_State
- Set of states that define the lifecycle of a Recognizer.
- RecognizeRequest
-
Request message for the
google.cloud.speech.v2.Speech.Recognize
method. Eithercontent
oruri
must be supplied. Supplying both or neither returnsgoogle.rpc.Code.INVALID_ARGUMENT
. See content limits. - RecognizeResponse
-
Response message for the
google.cloud.speech.v2.Speech.Recognize
method. - 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.
- SpeechAdaptation_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.
- SpeechRecognitionAlternative
- Alternative hypotheses (a.k.a. n-best list).
- SpeechRecognitionResult
- A speech recognition result corresponding to a portion of the audio.
- StreamingRecognitionConfig
- Provides configuration information for the StreamingRecognize request.
- StreamingRecognitionFeatures
- Available recognition features specific to streaming recognition requests.
- StreamingRecognitionFeatures_VoiceActivityTimeout
- Events that a timeout can be set on for voice activity.
- StreamingRecognitionResult
- A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.
- StreamingRecognizeRequest
-
Request message for the
google.cloud.speech.v2.Speech.StreamingRecognize
method. Multiplegoogle.cloud.speech.v2.StreamingRecognizeRequest
messages are sent in one call. - StreamingRecognizeResponse
-
StreamingRecognizeResponse
is the only message returned to the client byStreamingRecognize
. A series of zero or moreStreamingRecognizeResponse
messages are streamed back to the client. If there is no recognizable audio then no messages are streamed back to the client. - StreamingRecognizeResponse_SpeechEventType
- Indicates the type of speech event.
- UndeleteCustomClassRequest
-
Request message for the
google.cloud.speech.v2.Speech.UndeleteCustomClass
method. - UndeletePhraseSetRequest
-
Request message for the
google.cloud.speech.v2.Speech.UndeletePhraseSet
method. - UndeleteRecognizerRequest
-
Request message for the
google.cloud.speech.v2.Speech.UndeleteRecognizer
method. - UpdateConfigRequest
-
Request message for the
google.cloud.speech.v2.Speech.UpdateConfig
method. - UpdateCustomClassRequest
-
Request message for the
google.cloud.speech.v2.Speech.UpdateCustomClass
method. - UpdatePhraseSetRequest
-
Request message for the
google.cloud.speech.v2.Speech.UpdatePhraseSet
method. - UpdateRecognizerRequest
-
Request message for the
google.cloud.speech.v2.Speech.UpdateRecognizer
method. - WordInfo
- Word-specific information for recognized words.