Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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.
8965 8966 8967 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8965 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_text ⇒ String
Corresponds to the JSON property displayText
8953 8954 8955 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8953 def display_text @display_text end |
#ssml ⇒ String
Corresponds to the JSON property ssml
8958 8959 8960 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8958 def ssml @ssml end |
#text_to_speech ⇒ String
Corresponds to the JSON property textToSpeech
8963 8964 8965 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8963 def text_to_speech @text_to_speech end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8970 8971 8972 8973 8974 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8970 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 |