Class: Google::Apis::DfareportingV2_1::OffsetPosition
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::OffsetPosition
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Offset Position.
Instance Attribute Summary collapse
-
#left ⇒ Fixnum
Offset distance from left side of an asset or a window.
-
#top ⇒ Fixnum
Offset distance from top side of an asset or a window.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OffsetPosition
constructor
A new instance of OffsetPosition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OffsetPosition
Returns a new instance of OffsetPosition.
6550 6551 6552 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6550 def initialize(**args) update!(**args) end |
Instance Attribute Details
#left ⇒ Fixnum
Offset distance from left side of an asset or a window.
Corresponds to the JSON property left
6543 6544 6545 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6543 def left @left end |
#top ⇒ Fixnum
Offset distance from top side of an asset or a window.
Corresponds to the JSON property top
6548 6549 6550 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6548 def top @top end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6555 6556 6557 6558 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6555 def update!(**args) @left = args[:left] unless args[:left].nil? @top = args[:top] unless args[:top].nil? end |