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 [String]

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 generated/google/apis/drive_v2/classes.rb, line 1891
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/drive_v2/classes.rb, line 1896
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