Class MediaContent (2.12.0)

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

The media content card for Actions on Google.

Attributes

NameDescription
media_type google.cloud.dialogflow_v2.types.Intent.Message.MediaContent.ResponseMediaType
Optional. What type of media is the content (ie "audio").
media_objects Sequence[google.cloud.dialogflow_v2.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.

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.