Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageSimpleResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageSimpleResponse
- 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) ⇒ GoogleCloudDialogflowV2IntentMessageSimpleResponse
constructor
A new instance of GoogleCloudDialogflowV2IntentMessageSimpleResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageSimpleResponse
Returns a new instance of GoogleCloudDialogflowV2IntentMessageSimpleResponse.
15296 15297 15298 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_text ⇒ String
Corresponds to the JSON property displayText
15284 15285 15286 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15284 def display_text @display_text end |
#ssml ⇒ String
Corresponds to the JSON property ssml
15289 15290 15291 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15289 def ssml @ssml end |
#text_to_speech ⇒ String
Corresponds to the JSON property textToSpeech
15294 15295 15296 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15294 def text_to_speech @text_to_speech end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15301 15302 15303 15304 15305 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15301 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 |