Class MediaContent

The media content card for Actions on Google.

Attributes
NameDescription
google.cloud.dialogflow_v2beta1.types.Intent.Message.MediaContent.ResponseMediaTypemedia_type
Optional. What type of media is the content (ie "audio").
Sequence[google.cloud.dialogflow_v2beta1.types.Intent.Message.MediaContent.ResponseMediaObject]media_objects
Required. List of media objects.

Inheritance

builtins.object > proto.message.Message > MediaContent

Classes

ResponseMediaObject

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

Response media object for media content card.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

ResponseMediaType

ResponseMediaType(value)

Format of response media type.