class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech

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.

Attributes

ssml[RW]

The SSML to be synthesized. For more information, see [SSML](https:// developers.google.com/actions/reference/ssml). Corresponds to the JSON property `ssml` @return [String]

text[RW]

The raw text to be synthesized. Corresponds to the JSON property `text` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 11892
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 11897
def update!(**args)
  @ssml = args[:ssml] if args.key?(:ssml)
  @text = args[:text] if args.key?(:text)
end