View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject (google_api_dialogflow v0.85.0)

Response media object for media content card.

Attributes

  • contentUrl (type: String.t, default: nil) - Required. Url where the media is stored.
  • description (type: String.t, default: nil) - Optional. Description of media card.
  • icon (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t, default: nil) - Optional. Icon to display above media content.
  • largeImage (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t, default: nil) - Optional. Image to display above media content.
  • name (type: String.t, default: nil) - Required. Name of media card.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject{
    contentUrl: String.t() | nil,
    description: String.t() | nil,
    icon:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t()
      | nil,
    largeImage:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageImage.t()
      | nil,
    name: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.