Class: Google::Apis::DfareportingV5::StudioCreativeDimension
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::StudioCreativeDimension
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb
Overview
Dimension information for a studio creative.
Instance Attribute Summary collapse
-
#height ⇒ Fixnum
Height of the studio creative.
-
#width ⇒ Fixnum
Width of the studio creative.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StudioCreativeDimension
constructor
A new instance of StudioCreativeDimension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StudioCreativeDimension
Returns a new instance of StudioCreativeDimension.
12493 12494 12495 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12493 def initialize(**args) update!(**args) end |
Instance Attribute Details
#height ⇒ Fixnum
Height of the studio creative.
Corresponds to the JSON property height
12486 12487 12488 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12486 def height @height end |
#width ⇒ Fixnum
Width of the studio creative.
Corresponds to the JSON property width
12491 12492 12493 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12491 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12498 12499 12500 12501 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12498 def update!(**args) @height = args[:height] if args.key?(:height) @width = args[:width] if args.key?(:width) end |