class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject

Response media object for media content card.

Attributes

content_url[RW]

Required. Url where the media is stored. Corresponds to the JSON property `contentUrl` @return [String]

description[RW]

Optional. Description of media card. Corresponds to the JSON property `description` @return [String]

icon[RW]

The image response message. Corresponds to the JSON property `icon` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageImage]

large_image[RW]

The image response message. Corresponds to the JSON property `largeImage` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageImage]

name[RW]

Required. Name of media card. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 12184
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 12189
def update!(**args)
  @content_url = args[:content_url] if args.key?(:content_url)
  @description = args[:description] if args.key?(:description)
  @icon = args[:icon] if args.key?(:icon)
  @large_image = args[:large_image] if args.key?(:large_image)
  @name = args[:name] if args.key?(:name)
end