Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
- 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
-
#description ⇒ String
Corresponds to the JSON property
description. -
#image ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property
image. -
#info ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageSelectItemInfo
Corresponds to the JSON property
info. -
#title ⇒ String
Corresponds to the JSON property
title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
constructor
A new instance of GoogleCloudDialogflowV2IntentMessageCarouselSelectItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
Returns a new instance of GoogleCloudDialogflowV2IntentMessageCarouselSelectItem.
12444 12445 12446 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
12427 12428 12429 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12427 def description @description end |
#image ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property image
12432 12433 12434 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12432 def image @image end |
#info ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageSelectItemInfo
Corresponds to the JSON property info
12437 12438 12439 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12437 def info @info end |
#title ⇒ String
Corresponds to the JSON property title
12442 12443 12444 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12442 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12449 12450 12451 12452 12453 12454 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12449 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 |