Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageText
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageText
- 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
Overview
The text response message.
Instance Attribute Summary collapse
-
#text ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageText
constructor
A new instance of GoogleCloudDialogflowV2beta1IntentMessageText.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageText
Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageText.
18191 18192 18193 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ Array<String>
Optional. The collection of the agent's responses.
Corresponds to the JSON property text
18189 18190 18191 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18189 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18196 18197 18198 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18196 def update!(**args) @text = args[:text] if args.key?(:text) end |