Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dialogflow_v2beta1/classes.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb 
Overview
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.
Instance Attribute Summary collapse
- 
  
    
      #ssml  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The SSML to be synthesized.
 - 
  
    
      #text  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The raw text to be synthesized.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
      3248 3249 3250  | 
    
      # File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 3248 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#ssml ⇒ String
The SSML to be synthesized. For more information, see
SSML.
Corresponds to the JSON property ssml
      3241 3242 3243  | 
    
      # File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 3241 def ssml @ssml end  | 
  
#text ⇒ String
The raw text to be synthesized.
Corresponds to the JSON property text
      3246 3247 3248  | 
    
      # File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 3246 def text @text end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3253 3254 3255 3256  | 
    
      # File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 3253 def update!(**args) @ssml = args[:ssml] if args.key?(:ssml) @text = args[:text] if args.key?(:text) end  |