Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem.
Browsing carousel tile
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
Returns
- (::String) — Optional. Description of the carousel item. Maximum of four lines of text.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. Description of the carousel item. Maximum of four lines of text.
Returns
- (::String) — Optional. Description of the carousel item. Maximum of four lines of text.
#footer
def footer() -> ::String
Returns
- (::String) — Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
#footer=
def footer=(value) -> ::String
Parameter
- value (::String) — Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
Returns
- (::String) — Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
#image
def image() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Image
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — Optional. Hero image for the carousel item.
#image=
def image=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Image
Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — Optional. Hero image for the carousel item.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — Optional. Hero image for the carousel item.
#open_uri_action
def open_uri_action() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction) — Required. Action to present to the user.
#open_uri_action=
def open_uri_action=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction
Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction) — Required. Action to present to the user.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction) — Required. Action to present to the user.
#title
def title() -> ::String
Returns
- (::String) — Required. Title of the carousel item. Maximum of two lines of text.
#title=
def title=(value) -> ::String
Parameter
- value (::String) — Required. Title of the carousel item. Maximum of two lines of text.
Returns
- (::String) — Required. Title of the carousel item. Maximum of two lines of text.