MediaContent(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The media content card for Actions on Google.
Attributes | |
---|---|
Name | Description |
media_type |
google.cloud.dialogflow_v2.types.Intent.Message.MediaContent.ResponseMediaType
Optional. What type of media is the content (ie "audio"). |
media_objects |
MutableSequence[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.
Values: RESPONSE_MEDIA_TYPE_UNSPECIFIED (0): Unspecified. AUDIO (1): Response media type is audio.