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

An item in the carousel.

Attributes

  • description (type: String.t, default: nil) - Optional. The body text of the card.
  • image (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageImage.t, default: nil) - Optional. The image to display.
  • info (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageSelectItemInfo.t, default: nil) - Required. Additional info about the option item.
  • title (type: String.t, default: nil) - Required. Title of the carousel item.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageCarouselSelectItem{
    description: String.t() | nil,
    image:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageImage.t()
      | nil,
    info:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageSelectItemInfo.t()
      | nil,
    title: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.