class Google::Apis::DisplayvideoV1::Asset
A single asset.
Attributes
content[RW]
The asset content. For uploaded assets, the content is the serving path. Corresponds to the JSON property `content` @return [String]
media_id[RW]
Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. Corresponds to the JSON property `mediaId` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 576 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 581 def update!(**args) @content = args[:content] if args.key?(:content) @media_id = args[:media_id] if args.key?(:media_id) end