class Google::Apis::DriveV2::File::VideoMediaMetadata
Metadata about video media. This will only be present for video types.
Attributes
duration_millis[RW]
The duration of the video in milliseconds. Corresponds to the JSON property `durationMillis` @return [Fixnum]
height[RW]
The height of the video in pixels. Corresponds to the JSON property `height` @return [Fixnum]
width[RW]
The width of the video in pixels. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/drive_v2/classes.rb, line 2931 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/drive_v2/classes.rb, line 2936 def update!(**args) @duration_millis = args[:duration_millis] if args.key?(:duration_millis) @height = args[:height] if args.key?(:height) @width = args[:width] if args.key?(:width) end