Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/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.
19324 19325 19326 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19324 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_text ⇒ String
Corresponds to the JSON property displayText
19312 19313 19314 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19312 def display_text @display_text end |
#ssml ⇒ String
Corresponds to the JSON property ssml
19317 19318 19319 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19317 def ssml @ssml end |
#text_to_speech ⇒ String
Corresponds to the JSON property textToSpeech
19322 19323 19324 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19322 def text_to_speech @text_to_speech end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19329 19330 19331 19332 19333 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19329 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 |