Class BrowseCarouselCard (2.3.0)

BrowseCarouselCard(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

NameDescription
items Sequence[google.cloud.dialogflow_v2beta1.types.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem]
Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
image_display_options google.cloud.dialogflow_v2beta1.types.Intent.Message.BrowseCarouselCard.ImageDisplayOptions
Optional. Settings for displaying the image. Applies to every image in items.

Classes

BrowseCarouselCardItem

BrowseCarouselCardItem(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Browsing carousel tile .. attribute:: open_uri_action

Required. Action to present to the user.

:type: google.cloud.dialogflow_v2beta1.types.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction

ImageDisplayOptions

ImageDisplayOptions(value)

Image display options for Actions on Google. This should be used for when the image's aspect ratio does not match the image container's aspect ratio.