Class: Google::Apis::DisplayvideoV3::Dimensions
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::Dimensions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Dimensions.
Instance Attribute Summary collapse
-
#height_pixels ⇒ Fixnum
The height in pixels.
-
#width_pixels ⇒ Fixnum
The width in pixels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Dimensions
constructor
A new instance of Dimensions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Dimensions
Returns a new instance of Dimensions.
5445 5446 5447 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5445 def initialize(**args) update!(**args) end |
Instance Attribute Details
#height_pixels ⇒ Fixnum
The height in pixels.
Corresponds to the JSON property heightPixels
5438 5439 5440 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5438 def height_pixels @height_pixels end |
#width_pixels ⇒ Fixnum
The width in pixels.
Corresponds to the JSON property widthPixels
5443 5444 5445 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5443 def width_pixels @width_pixels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5450 5451 5452 5453 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5450 def update!(**args) @height_pixels = args[:height_pixels] if args.key?(:height_pixels) @width_pixels = args[:width_pixels] if args.key?(:width_pixels) end |