Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
- 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
-
#description ⇒ String
Corresponds to the JSON property
description. -
#image ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property
image. -
#info ⇒ Google::Apis::DialogflowV2beta1::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.
8672 8673 8674 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8672 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
8655 8656 8657 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8655 def description @description end |
#image ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property image
8660 8661 8662 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8660 def image @image end |
#info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo
Corresponds to the JSON property info
8665 8666 8667 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8665 def info @info end |
#title ⇒ String
Corresponds to the JSON property title
8670 8671 8672 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8670 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8677 8678 8679 8680 8681 8682 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8677 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 |