Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageText
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageText
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#text ⇒ Array<String>
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ResponseMessageText
constructor
A new instance of GoogleCloudDialogflowV2beta1ResponseMessageText.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ResponseMessageText
Returns a new instance of GoogleCloudDialogflowV2beta1ResponseMessageText.
21256 21257 21258 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21256 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ Array<String>
Corresponds to the JSON property text
21254 21255 21256 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21254 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21261 21262 21263 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21261 def update!(**args) @text = args[:text] if args.key?(:text) end |