Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#ssml ⇒ String
Corresponds to the JSON property
ssml. -
#text ⇒ String
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
constructor
A new instance of GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech.
20431 20432 20433 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20431 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ssml ⇒ String
Corresponds to the JSON property ssml
20424 20425 20426 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20424 def ssml @ssml end |
#text ⇒ String
Corresponds to the JSON property text
20429 20430 20431 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20429 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20436 20437 20438 20439 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20436 def update!(**args) @ssml = args[:ssml] if args.key?(:ssml) @text = args[:text] if args.key?(:text) end |