class Google::Apis::CloudchannelV1::GoogleCloudChannelV1Media
Represents media information.
Attributes
content[RW]
URL of the media. Corresponds to the JSON property `content` @return [String]
title[RW]
Title of the media. Corresponds to the JSON property `title` @return [String]
type[RW]
Type of the media. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 1405 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudchannel_v1/classes.rb, line 1410 def update!(**args) @content = args[:content] if args.key?(:content) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) end