Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponse
- 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
-
#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.
16719 16720 16721 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16719 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_text ⇒ String
Corresponds to the JSON property displayText
16707 16708 16709 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16707 def display_text @display_text end |
#ssml ⇒ String
Corresponds to the JSON property ssml
16712 16713 16714 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16712 def ssml @ssml end |
#text_to_speech ⇒ String
Corresponds to the JSON property textToSpeech
16717 16718 16719 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16717 def text_to_speech @text_to_speech end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16724 16725 16726 16727 16728 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16724 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 |