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

The media content card for Actions on Google.

Attributes

  • mediaObjects (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject.t), default: nil) - Required. List of media objects.
  • mediaType (type: String.t, default: nil) - Optional. What type of media is the content (ie "audio").

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageMediaContent{
    mediaObjects:
      [
        GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject.t()
      ]
      | nil,
    mediaType: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.