Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
- 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
-
#description ⇒ String
Corresponds to the JSON property
description. -
#image ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageImage
Corresponds to the JSON property
image. -
#info ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
Corresponds to the JSON property
info. -
#title ⇒ String
Corresponds to the JSON property
title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
constructor
A new instance of GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem.
20161 20162 20163 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20161 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
20144 20145 20146 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20144 def description @description end |
#image ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageImage
Corresponds to the JSON property image
20149 20150 20151 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20149 def image @image end |
#info ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
Corresponds to the JSON property info
20154 20155 20156 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20154 def info @info end |
#title ⇒ String
Corresponds to the JSON property title
20159 20160 20161 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20159 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20166 20167 20168 20169 20170 20171 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20166 def update!(**args) @description = args[:description] if args.key?(:description) @image = args[:image] if args.key?(:image) @info = args[:info] if args.key?(:info) @title = args[:title] if args.key?(:title) end |