View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject (google_api_dialogflow v0.88.2)

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.GoogleCloudDialogflowV2IntentMessageImage.t, default: nil) - Optional. Icon to display above media content.
  • largeImage (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageImage.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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.