Class: Google::Apis::DfareportingV2_8::VideoOffset
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DfareportingV2_8::VideoOffset
 
 
- 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
Video Offset
Instance Attribute Summary collapse
- 
  
    
      #offset_percentage  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Duration, as a percentage of video duration.
 - 
  
    
      #offset_seconds  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Duration, in seconds.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VideoOffset 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VideoOffset.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoOffset
Returns a new instance of VideoOffset
      11993 11994 11995  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11993 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#offset_percentage ⇒ Fixnum
Duration, as a percentage of video duration. Do not set when offsetSeconds is
set. Acceptable values are 0 to 100, inclusive.
Corresponds to the JSON property offsetPercentage
      11985 11986 11987  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11985 def offset_percentage @offset_percentage end  | 
  
#offset_seconds ⇒ Fixnum
Duration, in seconds. Do not set when offsetPercentage is set. Acceptable
values are 0 to 86399, inclusive.
Corresponds to the JSON property offsetSeconds
      11991 11992 11993  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11991 def offset_seconds @offset_seconds end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      11998 11999 12000 12001  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11998 def update!(**args) @offset_percentage = args[:offset_percentage] if args.key?(:offset_percentage) @offset_seconds = args[:offset_seconds] if args.key?(:offset_seconds) end  |