class Google::Apis::DisplayvideoV1::Dimensions

Dimensions.

Attributes

height_pixels[RW]

The height in pixels. Corresponds to the JSON property `heightPixels` @return [Fixnum]

width_pixels[RW]

The width in pixels. Corresponds to the JSON property `widthPixels` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 3887
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 3892
def update!(**args)
  @height_pixels = args[:height_pixels] if args.key?(:height_pixels)
  @width_pixels = args[:width_pixels] if args.key?(:width_pixels)
end