Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
- 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
-
#display_text ⇒ String
Corresponds to the JSON property
displayText. -
#ssml ⇒ String
Corresponds to the JSON property
ssml. -
#text_to_speech ⇒ String
Corresponds to the JSON property
textToSpeech.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
constructor
A new instance of GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse.
20216 20217 20218 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20216 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_text ⇒ String
Corresponds to the JSON property displayText
20204 20205 20206 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20204 def display_text @display_text end |
#ssml ⇒ String
Corresponds to the JSON property ssml
20209 20210 20211 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20209 def ssml @ssml end |
#text_to_speech ⇒ String
Corresponds to the JSON property textToSpeech
20214 20215 20216 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20214 def text_to_speech @text_to_speech end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20221 20222 20223 20224 20225 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20221 def update!(**args) @display_text = args[:display_text] if args.key?(:display_text) @ssml = args[:ssml] if args.key?(:ssml) @text_to_speech = args[:text_to_speech] if args.key?(:text_to_speech) end |