public sealed class BidiStreamingAnalyzeContentRequest.Types.Config.Types.VoiceSessionConfig : IMessage<BidiStreamingAnalyzeContentRequest.Types.Config.Types.VoiceSessionConfig>, IEquatable<BidiStreamingAnalyzeContentRequest.Types.Config.Types.VoiceSessionConfig>, IDeepCloneable<BidiStreamingAnalyzeContentRequest.Types.Config.Types.VoiceSessionConfig>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class BidiStreamingAnalyzeContentRequest.Types.Config.Types.VoiceSessionConfig.
The config about how to process the audio for a voice-based session.
Implements
IMessageBidiStreamingAnalyzeContentRequestTypesConfigTypesVoiceSessionConfig, IEquatableBidiStreamingAnalyzeContentRequestTypesConfigTypesVoiceSessionConfig, IDeepCloneableBidiStreamingAnalyzeContentRequestTypesConfigTypesVoiceSessionConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
VoiceSessionConfig()
public VoiceSessionConfig()VoiceSessionConfig(VoiceSessionConfig)
public VoiceSessionConfig(BidiStreamingAnalyzeContentRequest.Types.Config.Types.VoiceSessionConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
BidiStreamingAnalyzeContentRequestTypesConfigTypesVoiceSessionConfig |
Properties
EnableCxProactiveProcessing
public bool EnableCxProactiveProcessing { get; set; }Optional. Whether to enable CX proactive processing.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
EnableStreamingSynthesize
public bool EnableStreamingSynthesize { get; set; }Optional. If true, Dialogflow will stream the audio bytes from Cloud TTS for speech synthesis using the StreamingSynthesize api.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
InputAudioEncoding
public AudioEncoding InputAudioEncoding { get; set; }Required. The encoding of input audio.
| Property Value | |
|---|---|
| Type | Description |
AudioEncoding |
|
InputAudioSampleRateHertz
public int InputAudioSampleRateHertz { get; set; }Required. The sample rate of input audio.
| Property Value | |
|---|---|
| Type | Description |
int |
|
OutputAudioEncoding
public OutputAudioEncoding OutputAudioEncoding { get; set; }Required. The encoding of output audio.
| Property Value | |
|---|---|
| Type | Description |
OutputAudioEncoding |
|
OutputAudioSampleRateHertz
public int OutputAudioSampleRateHertz { get; set; }Required. The sample rate of output audio.
| Property Value | |
|---|---|
| Type | Description |
int |
|