class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead.
Attributes
card_contents[RW]
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10. Corresponds to the JSON property `cardContents` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent>]
card_width[RW]
Required. The width of the cards in the carousel. Corresponds to the JSON property `cardWidth` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 11396 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 11401 def update!(**args) @card_contents = args[:card_contents] if args.key?(:card_contents) @card_width = args[:card_width] if args.key?(:card_width) end