Class: Google::Apis::Adexchangebuyer2V2beta1::TimeInterval
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::Adexchangebuyer2V2beta1::TimeInterval
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
 generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
 generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
An interval of time, with an absolute start and end.
Instance Attribute Summary collapse
- 
  
    
      #end_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The timestamp marking the end of the range (exclusive) for which data is included. 
- 
  
    
      #start_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The timestamp marking the start of the range (inclusive) for which data is included. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TimeInterval 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TimeInterval. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TimeInterval
Returns a new instance of TimeInterval
| 2136 2137 2138 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2136 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#end_time ⇒ String
The timestamp marking the end of the range (exclusive) for which data is
included.
Corresponds to the JSON property endTime
| 2128 2129 2130 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2128 def end_time @end_time end | 
#start_time ⇒ String
The timestamp marking the start of the range (inclusive) for which data is
included.
Corresponds to the JSON property startTime
| 2134 2135 2136 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2134 def start_time @start_time end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2141 2142 2143 2144 | # File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2141 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) end |