Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard.
Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#image_display_options
def image_display_options() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::ImageDisplayOptions
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::ImageDisplayOptions) — Optional. Settings for displaying the image. Applies to every image in items.
#image_display_options=
def image_display_options=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::ImageDisplayOptions
Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::ImageDisplayOptions) — Optional. Settings for displaying the image. Applies to every image in items.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::ImageDisplayOptions) — Optional. Settings for displaying the image. Applies to every image in items.
#items
def items() -> ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem>) — Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
#items=
def items=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem>) — Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem>) — Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.