public sealed class SpeechToTextConfig : IMessage<SpeechToTextConfig>, IEquatable<SpeechToTextConfig>, IDeepCloneable<SpeechToTextConfig>, IBufferMessage, IMessage
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 content details the \u003ccode\u003eSpeechToTextConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, used to configure speech transcription for ConversationProfiles.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003eSpeechToTextConfig\u003c/code\u003e documentation is 4.26.0, with a range of previous versions also documented.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpeechToTextConfig\u003c/code\u003e inherits from the base \u003ccode\u003eObject\u003c/code\u003e class and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors: a default constructor and one that takes another \u003ccode\u003eSpeechToTextConfig\u003c/code\u003e object as a parameter for copying purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe class features the property \u003ccode\u003eSpeechModelVariant\u003c/code\u003e, which sets the speech model used for transcription, and includes options such as \u003ccode\u003eSPEECH_MODEL_VARIANT_UNSPECIFIED\u003c/code\u003e, \u003ccode\u003eUSE_BEST_AVAILABLE\u003c/code\u003e, and \u003ccode\u003eUSE_ENHANCED\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]