Class: Google::Apis::DfareportingV4::StudioCreativeDimension
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::StudioCreativeDimension
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.
13360 13361 13362 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#height ⇒ Fixnum
Height of the studio creative.
Corresponds to the JSON property height
13353 13354 13355 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13353 def height @height end |
#width ⇒ Fixnum
Width of the studio creative.
Corresponds to the JSON property width
13358 13359 13360 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13358 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13365 13366 13367 13368 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13365 def update!(**args) @height = args[:height] if args.key?(:height) @width = args[:width] if args.key?(:width) end |