class Google::Apis::DriveV3::File::VideoMediaMetadata
Additional metadata about video media. This may not be available immediately upon upload.
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_v3/classes.rb, line 2041 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_v3/classes.rb, line 2046 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