Class MediaContent (2.2.0)

MediaContent(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The media content card for Actions on Google. .. attribute:: media_type

Optional. What type of media is the content (ie "audio").

:type: google.cloud.dialogflow_v2beta1.types.Intent.Message.MediaContent.ResponseMediaType

Attribute

NameDescription
media_objects Sequence[google.cloud.dialogflow_v2beta1.types.Intent.Message.MediaContent.ResponseMediaObject]
Required. List of media objects.

Classes

ResponseMediaObject

ResponseMediaObject(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Response media object for media content card. .. attribute:: name

Required. Name of media card.

:type: str

ResponseMediaType

ResponseMediaType(value)

Format of response media type.