View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem (google_api_dialogflow v0.78.0)

Browsing carousel tile

Attributes

  • description (type: String.t, default: nil) - Optional. Description of the carousel item. Maximum of four lines of text.
  • footer (type: String.t, default: nil) - Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
  • image (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t, default: nil) - Optional. Hero image for the carousel item.
  • openUriAction (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction.t, default: nil) - Required. Action to present to the user.
  • title (type: String.t, default: nil) - Required. Title of the carousel item. Maximum of two lines of text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem{
    description: String.t() | nil,
    footer: String.t() | nil,
    image:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t()
      | nil,
    openUriAction:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction.t()
      | nil,
    title: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.