Class RbmStandaloneCard (2.27.0)

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

Standalone Rich Business Messaging (RBM) rich card.

Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions.

You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout.

Attributes

NameDescription
card_orientation google.cloud.dialogflow_v2beta1.types.Intent.Message.RbmStandaloneCard.CardOrientation
Required. Orientation of the card.
thumbnail_image_alignment google.cloud.dialogflow_v2beta1.types.Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment
Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
card_content google.cloud.dialogflow_v2beta1.types.Intent.Message.RbmCardContent
Required. Card content.

Classes

CardOrientation

CardOrientation(value)

Orientation of the card.

Values: CARD_ORIENTATION_UNSPECIFIED (0): Not specified. HORIZONTAL (1): Horizontal layout. VERTICAL (2): Vertical layout.

ThumbnailImageAlignment

ThumbnailImageAlignment(value)

Thumbnail preview alignment for standalone cards with horizontal layout.

Values: THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED (0): Not specified. LEFT (1): Thumbnail preview is left-aligned. RIGHT (2): Thumbnail preview is right-aligned.