class Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange

Attributes

active_time[RW]

Duration in milliseconds Corresponds to the JSON property `activeTime` @return [Fixnum]

date[RW]

Date of usage Corresponds to the JSON property `date` @return [Date]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/admin_directory_v1/classes.rb, line 540
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_directory_v1/classes.rb, line 545
def update!(**args)
  @active_time = args[:active_time] if args.key?(:active_time)
  @date = args[:date] if args.key?(:date)
end