Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
- 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
Instance Attribute Summary collapse
-
#description ⇒ String
Corresponds to the JSON property
description. -
#image ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageImage
Corresponds to the JSON property
image. -
#info ⇒ Google::Apis::DialogflowV3::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.
18701 18702 18703 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18701 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
18684 18685 18686 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18684 def description @description end |
#image ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageImage
Corresponds to the JSON property image
18689 18690 18691 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18689 def image @image end |
#info ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
Corresponds to the JSON property info
18694 18695 18696 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18694 def info @info end |
#title ⇒ String
Corresponds to the JSON property title
18699 18700 18701 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18699 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18706 18707 18708 18709 18710 18711 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18706 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 |