Class: Google::Apis::DfareportingV2_8::OffsetPosition
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DfareportingV2_8::OffsetPosition
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dfareporting_v2_8/classes.rb,
generated/google/apis/dfareporting_v2_8/representations.rb,
generated/google/apis/dfareporting_v2_8/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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OffsetPosition
Returns a new instance of OffsetPosition
      7372 7373 7374  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7372 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
      7365 7366 7367  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7365 def left @left end  | 
  
#top ⇒ Fixnum
Offset distance from top side of an asset or a window.
Corresponds to the JSON property top
      7370 7371 7372  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7370 def top @top end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      7377 7378 7379 7380  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7377 def update!(**args) @left = args[:left] if args.key?(:left) @top = args[:top] if args.key?(:top) end  |