Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent.
The media content card for Actions on Google.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#media_objects
def media_objects() -> ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaObject>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaObject>) — Required. List of media objects.
#media_objects=
def media_objects=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaObject>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaObject>) — Required. List of media objects.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaObject>) — Required. List of media objects.
#media_type
def media_type() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaType
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaType) — Optional. What type of media is the content (ie "audio").
#media_type=
def media_type=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaType
Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaType) — Optional. What type of media is the content (ie "audio").
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaType) — Optional. What type of media is the content (ie "audio").