Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect::Item.
An item in the carousel.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
Returns
- (::String) — Optional. The body text of the card.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. The body text of the card.
Returns
- (::String) — Optional. The body text of the card.
#image
def image() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Image
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — Optional. The image to display.
#image=
def image=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Image
Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — Optional. The image to display.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — Optional. The image to display.
#info
def info() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo) — Required. Additional info about the option item.
#info=
def info=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo
Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo) — Required. Additional info about the option item.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo) — Required. Additional info about the option item.
#title
def title() -> ::String
Returns
- (::String) — Required. Title of the carousel item.
#title=
def title=(value) -> ::String
Parameter
- value (::String) — Required. Title of the carousel item.
Returns
- (::String) — Required. Title of the carousel item.