View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessage (google_api_dialogflow v0.88.3)

Corresponds to the Response field in the Dialogflow console.

Attributes

  • basicCard (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBasicCard.t, default: nil) - Displays a basic card for Actions on Google.
  • browseCarouselCard (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard.t, default: nil) - Browse carousel card for Actions on Google.
  • card (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageCard.t, default: nil) - Displays a card.
  • carouselSelect (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect.t, default: nil) - Displays a carousel card for Actions on Google.
  • image (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t, default: nil) - Displays an image.
  • linkOutSuggestion (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion.t, default: nil) - Displays a link out suggestion chip for Actions on Google.
  • listSelect (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageListSelect.t, default: nil) - Displays a list card for Actions on Google.
  • mediaContent (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageMediaContent.t, default: nil) - The media content card for Actions on Google.
  • payload (type: map(), default: nil) - A custom platform-specific response.
  • platform (type: String.t, default: nil) - Optional. The platform that this message is intended for.
  • quickReplies (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies.t, default: nil) - Displays quick replies.
  • rbmCarouselRichCard (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard.t, default: nil) - Rich Business Messaging (RBM) carousel rich card response.
  • rbmStandaloneRichCard (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard.t, default: nil) - Standalone Rich Business Messaging (RBM) rich card response.
  • rbmText (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmText.t, default: nil) - Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.
  • simpleResponses (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses.t, default: nil) - Returns a voice or text-only response for Actions on Google.
  • suggestions (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageSuggestions.t, default: nil) - Displays suggestion chips for Actions on Google.
  • tableCard (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTableCard.t, default: nil) - Table card for Actions on Google.
  • telephonyPlayAudio (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio.t, default: nil) - Plays audio from a file in Telephony Gateway.
  • telephonySynthesizeSpeech (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech.t, default: nil) - Synthesizes speech in Telephony Gateway.
  • telephonyTransferCall (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall.t, default: nil) - Transfers the call in Telephony Gateway.
  • text (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageText.t, default: nil) - Returns a text response.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessage{
  basicCard:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBasicCard.t()
    | nil,
  browseCarouselCard:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard.t()
    | nil,
  card:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageCard.t()
    | nil,
  carouselSelect:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect.t()
    | nil,
  image:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t()
    | nil,
  linkOutSuggestion:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion.t()
    | nil,
  listSelect:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageListSelect.t()
    | nil,
  mediaContent:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageMediaContent.t()
    | nil,
  payload: map() | nil,
  platform: String.t() | nil,
  quickReplies:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies.t()
    | nil,
  rbmCarouselRichCard:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard.t()
    | nil,
  rbmStandaloneRichCard:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard.t()
    | nil,
  rbmText:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageRbmText.t()
    | nil,
  simpleResponses:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses.t()
    | nil,
  suggestions:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageSuggestions.t()
    | nil,
  tableCard:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTableCard.t()
    | nil,
  telephonyPlayAudio:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio.t()
    | nil,
  telephonySynthesizeSpeech:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech.t()
    | nil,
  telephonyTransferCall:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall.t()
    | nil,
  text:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageText.t()
    | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.