Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #active_time  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Duration in milliseconds Corresponds to the JSON property
activeTime. - 
  
    
      #date  ⇒ Date 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Date of usage Corresponds to the JSON property
date. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ActiveTimeRange 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ActiveTimeRange.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ActiveTimeRange
Returns a new instance of ActiveTimeRange
      790 791 792  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 790 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#active_time ⇒ Fixnum
Duration in milliseconds
Corresponds to the JSON property activeTime
      783 784 785  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 783 def active_time @active_time end  | 
  
#date ⇒ Date
Date of usage
Corresponds to the JSON property date
      788 789 790  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 788 def date @date end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      795 796 797 798  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 795 def update!(**args) @active_time = args[:active_time] if args.key?(:active_time) @date = args[:date] if args.key?(:date) end  |