Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech.



20906
20907
20908
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20906

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ssmlString

Corresponds to the JSON property ssml

Returns:

  • (String)


20899
20900
20901
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20899

def ssml
  @ssml
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


20904
20905
20906
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20904

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20911
20912
20913
20914
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20911

def update!(**args)
  @ssml = args[:ssml] if args.key?(:ssml)
  @text = args[:text] if args.key?(:text)
end