public sealed class Intent.Types.Message.Types.TelephonySynthesizeSpeech : IMessage<Intent.Types.Message.Types.TelephonySynthesizeSpeech>, IEquatable<Intent.Types.Message.Types.TelephonySynthesizeSpeech>, IDeepCloneable<Intent.Types.Message.Types.TelephonySynthesizeSpeech>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Intent.Types.Message.Types.TelephonySynthesizeSpeech.
Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway.
Telephony Gateway takes the synthesizer settings from
DetectIntentResponse.output_audio_config
which can either be set
at request-level or can come from the agent-level synthesizer config.
Implements
IMessageIntentTypesMessageTypesTelephonySynthesizeSpeech, IEquatableIntentTypesMessageTypesTelephonySynthesizeSpeech, IDeepCloneableIntentTypesMessageTypesTelephonySynthesizeSpeech, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
TelephonySynthesizeSpeech()
public TelephonySynthesizeSpeech()
TelephonySynthesizeSpeech(TelephonySynthesizeSpeech)
public TelephonySynthesizeSpeech(Intent.Types.Message.Types.TelephonySynthesizeSpeech other)
Parameter | |
---|---|
Name | Description |
other | IntentTypesMessageTypesTelephonySynthesizeSpeech |
Properties
HasSsml
public bool HasSsml { get; }
Gets whether the "ssml" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasText
public bool HasText { get; }
Gets whether the "text" field is set
Property Value | |
---|---|
Type | Description |
bool |
SourceCase
public Intent.Types.Message.Types.TelephonySynthesizeSpeech.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesTelephonySynthesizeSpeechSourceOneofCase |
Ssml
public string Ssml { get; set; }
The SSML to be synthesized. For more information, see SSML.
Property Value | |
---|---|
Type | Description |
string |
Text
public string Text { get; set; }
The raw text to be synthesized.
Property Value | |
---|---|
Type | Description |
string |