Interface protos.google.cloud.speech.v1.IRecognitionConfig (6.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
Properties of a RecognitionConfig.
Package
@google-cloud/speech
Properties
adaptation
adaptation?: (google.cloud.speech.v1.ISpeechAdaptation|null);
RecognitionConfig adaptation
alternativeLanguageCodes
alternativeLanguageCodes?: (string[]|null);
RecognitionConfig alternativeLanguageCodes
audioChannelCount
audioChannelCount?: (number|null);
RecognitionConfig audioChannelCount
diarizationConfig
diarizationConfig?: (google.cloud.speech.v1.ISpeakerDiarizationConfig|null);
RecognitionConfig diarizationConfig
enableAutomaticPunctuation
enableAutomaticPunctuation?: (boolean|null);
RecognitionConfig enableAutomaticPunctuation
enableSeparateRecognitionPerChannel
enableSeparateRecognitionPerChannel?: (boolean|null);
RecognitionConfig enableSeparateRecognitionPerChannel
enableSpokenEmojis
enableSpokenEmojis?: (google.protobuf.IBoolValue|null);
RecognitionConfig enableSpokenEmojis
enableSpokenPunctuation
enableSpokenPunctuation?: (google.protobuf.IBoolValue|null);
RecognitionConfig enableSpokenPunctuation
enableWordConfidence
enableWordConfidence?: (boolean|null);
RecognitionConfig enableWordConfidence
enableWordTimeOffsets
enableWordTimeOffsets?: (boolean|null);
RecognitionConfig enableWordTimeOffsets
encoding
encoding?: (google.cloud.speech.v1.RecognitionConfig.AudioEncoding|keyof typeof google.cloud.speech.v1.RecognitionConfig.AudioEncoding|null);
RecognitionConfig encoding
languageCode
languageCode?: (string|null);
RecognitionConfig languageCode
maxAlternatives
maxAlternatives?: (number|null);
RecognitionConfig maxAlternatives
metadata?: (google.cloud.speech.v1.IRecognitionMetadata|null);
RecognitionConfig metadata
model
profanityFilter
profanityFilter?: (boolean|null);
RecognitionConfig profanityFilter
sampleRateHertz
sampleRateHertz?: (number|null);
RecognitionConfig sampleRateHertz
speechContexts
speechContexts?: (google.cloud.speech.v1.ISpeechContext[]|null);
RecognitionConfig speechContexts
transcriptNormalization
transcriptNormalization?: (google.cloud.speech.v1.ITranscriptNormalization|null);
RecognitionConfig transcriptNormalization
useEnhanced
useEnhanced?: (boolean|null);
RecognitionConfig useEnhanced
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface protos.google.cloud.speech.v1.IRecognitionConfig (6.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [6.6.1 (latest)](/nodejs/docs/reference/speech/latest/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [6.3.0](/nodejs/docs/reference/speech/6.3.0/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [6.1.1](/nodejs/docs/reference/speech/6.1.1/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [6.0.1](/nodejs/docs/reference/speech/6.0.1/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [5.4.1](/nodejs/docs/reference/speech/5.4.1/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [5.3.1](/nodejs/docs/reference/speech/5.3.1/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [5.1.0](/nodejs/docs/reference/speech/5.1.0/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [5.0.3](/nodejs/docs/reference/speech/5.0.3/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [4.10.0](/nodejs/docs/reference/speech/4.10.0/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [4.9.0](/nodejs/docs/reference/speech/4.9.0/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [4.8.1](/nodejs/docs/reference/speech/4.8.1/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [4.7.0](/nodejs/docs/reference/speech/4.7.0/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [4.6.1](/nodejs/docs/reference/speech/4.6.1/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [4.5.6](/nodejs/docs/reference/speech/4.5.6/speech/protos.google.cloud.speech.v1.irecognitionconfig)\n- [4.1.3](/nodejs/docs/reference/speech/4.1.3/speech/protos.google.cloud.speech.v1.irecognitionconfig) \nProperties of a RecognitionConfig.\n\nPackage\n-------\n\n[@google-cloud/speech](../overview.html)\n\nProperties\n----------\n\n### adaptation\n\n adaptation?: (google.cloud.speech.v1.ISpeechAdaptation|null);\n\nRecognitionConfig adaptation\n\n### alternativeLanguageCodes\n\n alternativeLanguageCodes?: (string[]|null);\n\nRecognitionConfig alternativeLanguageCodes\n\n### audioChannelCount\n\n audioChannelCount?: (number|null);\n\nRecognitionConfig audioChannelCount\n\n### diarizationConfig\n\n diarizationConfig?: (google.cloud.speech.v1.ISpeakerDiarizationConfig|null);\n\nRecognitionConfig diarizationConfig\n\n### enableAutomaticPunctuation\n\n enableAutomaticPunctuation?: (boolean|null);\n\nRecognitionConfig enableAutomaticPunctuation\n\n### enableSeparateRecognitionPerChannel\n\n enableSeparateRecognitionPerChannel?: (boolean|null);\n\nRecognitionConfig enableSeparateRecognitionPerChannel\n\n### enableSpokenEmojis\n\n enableSpokenEmojis?: (google.protobuf.IBoolValue|null);\n\nRecognitionConfig enableSpokenEmojis\n\n### enableSpokenPunctuation\n\n enableSpokenPunctuation?: (google.protobuf.IBoolValue|null);\n\nRecognitionConfig enableSpokenPunctuation\n\n### enableWordConfidence\n\n enableWordConfidence?: (boolean|null);\n\nRecognitionConfig enableWordConfidence\n\n### enableWordTimeOffsets\n\n enableWordTimeOffsets?: (boolean|null);\n\nRecognitionConfig enableWordTimeOffsets\n\n### encoding\n\n encoding?: (google.cloud.speech.v1.RecognitionConfig.AudioEncoding|keyof typeof google.cloud.speech.v1.RecognitionConfig.AudioEncoding|null);\n\nRecognitionConfig encoding\n\n### languageCode\n\n languageCode?: (string|null);\n\nRecognitionConfig languageCode\n\n### maxAlternatives\n\n maxAlternatives?: (number|null);\n\nRecognitionConfig maxAlternatives\n\n### metadata\n\n metadata?: (google.cloud.speech.v1.IRecognitionMetadata|null);\n\nRecognitionConfig metadata\n\n### model\n\n model?: (string|null);\n\nRecognitionConfig model\n\n### profanityFilter\n\n profanityFilter?: (boolean|null);\n\nRecognitionConfig profanityFilter\n\n### sampleRateHertz\n\n sampleRateHertz?: (number|null);\n\nRecognitionConfig sampleRateHertz\n\n### speechContexts\n\n speechContexts?: (google.cloud.speech.v1.ISpeechContext[]|null);\n\nRecognitionConfig speechContexts\n\n### transcriptNormalization\n\n transcriptNormalization?: (google.cloud.speech.v1.ITranscriptNormalization|null);\n\nRecognitionConfig transcriptNormalization\n\n### useEnhanced\n\n useEnhanced?: (boolean|null);\n\nRecognitionConfig useEnhanced"]]