class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageMediaContent

The media content card for Actions on Google.

Attributes

media_objects[RW]

Required. List of media objects. Corresponds to the JSON property `mediaObjects` @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject>]

media_type[RW]

Optional. What type of media is the content (ie “audio”). Corresponds to the JSON property `mediaType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 12144
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 12149
def update!(**args)
  @media_objects = args[:media_objects] if args.key?(:media_objects)
  @media_type = args[:media_type] if args.key?(:media_type)
end