public sealed class SpeechToTextConfig : IMessage<SpeechToTextConfig>, IEquatable<SpeechToTextConfig>, IDeepCloneable<SpeechToTextConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SpeechToTextConfig.
Configures speech transcription for [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile].
public SpeechModelVariant SpeechModelVariant { get; set; }
The speech model used in speech to text.
SPEECH_MODEL_VARIANT_UNSPECIFIED, USE_BEST_AVAILABLE will be treated as
USE_ENHANCED. It can be overridden in [AnalyzeContentRequest][google.cloud.dialogflow.v2.AnalyzeContentRequest] and
[StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] request.
If enhanced model variant is specified and an enhanced
version of the specified model for the language does not exist, then it
would emit an error.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe provided content details the \u003ccode\u003eSpeechToTextConfig\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for versions ranging from 3.2.0 to 4.26.0, with the latest version being 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpeechToTextConfig\u003c/code\u003e is used to set up speech transcription configurations for ConversationProfiles in Google Cloud Dialogflow v2.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpeechToTextConfig\u003c/code\u003e class includes properties like \u003ccode\u003eSpeechModelVariant\u003c/code\u003e, which allows setting the specific speech model to use for speech-to-text transcription, with options like \u003ccode\u003eUSE_BEST_AVAILABLE\u003c/code\u003e and \u003ccode\u003eUSE_ENHANCED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage, allowing for deep cloning and equality comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor, \u003ccode\u003eSpeechToTextConfig()\u003c/code\u003e, and another constructor, \u003ccode\u003eSpeechToTextConfig(SpeechToTextConfig other)\u003c/code\u003e that accepts an instance of \u003ccode\u003eSpeechToTextConfig\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]