public sealed class SpeechToTextConfig.Types.GeminiAsrConfig : IMessage<SpeechToTextConfig.Types.GeminiAsrConfig>, IEquatable<SpeechToTextConfig.Types.GeminiAsrConfig>, IDeepCloneable<SpeechToTextConfig.Types.GeminiAsrConfig>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2 API class SpeechToTextConfig.Types.GeminiAsrConfig.
Configuration for using Gemini ASR models served via Vertex AI. This message is used to override the default Gemini ASR model or provide additional advanced parameters.
Implements
IMessageSpeechToTextConfigTypesGeminiAsrConfig, IEquatableSpeechToTextConfigTypesGeminiAsrConfig, IDeepCloneableSpeechToTextConfigTypesGeminiAsrConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
GeminiAsrConfig()
public GeminiAsrConfig()GeminiAsrConfig(GeminiAsrConfig)
public GeminiAsrConfig(SpeechToTextConfig.Types.GeminiAsrConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
SpeechToTextConfigTypesGeminiAsrConfig |
Properties
EndOfSpeechSensitivity
public SpeechToTextConfig.Types.GeminiAsrConfig.Types.EndSensitivity EndOfSpeechSensitivity { get; set; }Optional. End of speech sensitivity.
| Property Value | |
|---|---|
| Type | Description |
SpeechToTextConfigTypesGeminiAsrConfigTypesEndSensitivity |
|
ModelId
public string ModelId { get; set; }Optional. The Gemini ASR model ID used for transcription. This value overrides the default model ID configured on the server. Example: "gemini-3-flash-lite-asr-preview"
| Property Value | |
|---|---|
| Type | Description |
string |
|
PrefixPaddingMs
public int PrefixPaddingMs { get; set; }Optional. The required duration of detected speech before start-of-speech is committed.
| Property Value | |
|---|---|
| Type | Description |
int |
|
SilenceDurationMs
public int SilenceDurationMs { get; set; }Optional. The required duration of detected silence (or non-speech) before end-of-speech is committed.
| Property Value | |
|---|---|
| Type | Description |
int |
|
StartOfSpeechSensitivity
public SpeechToTextConfig.Types.GeminiAsrConfig.Types.StartSensitivity StartOfSpeechSensitivity { get; set; }Optional. Start of speech sensitivity.
| Property Value | |
|---|---|
| Type | Description |
SpeechToTextConfigTypesGeminiAsrConfigTypesStartSensitivity |
|