class Google::Apis::AdminDirectoryV1::ChromeOsDevice

JSON template for Chrome Os Device resource in Directory API.

Attributes

active_time_ranges[RW]

List of active time ranges (Read-only) Corresponds to the JSON property `activeTimeRanges` @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange>]

annotated_asset_id[RW]

AssetId specified during enrollment or through later annotation Corresponds to the JSON property `annotatedAssetId` @return [String]

annotated_location[RW]

Address or location of the device as noted by the administrator Corresponds to the JSON property `annotatedLocation` @return [String]

annotated_user[RW]

User of the device Corresponds to the JSON property `annotatedUser` @return [String]

boot_mode[RW]

Chromebook boot mode (Read-only) Corresponds to the JSON property `bootMode` @return [String]

device_id[RW]

Unique identifier of Chrome OS Device (Read-only) Corresponds to the JSON property `deviceId` @return [String]

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

ethernet_mac_address[RW]

Chromebook Mac Address on ethernet network interface (Read-only) Corresponds to the JSON property `ethernetMacAddress` @return [String]

firmware_version[RW]

Chromebook firmware version (Read-only) Corresponds to the JSON property `firmwareVersion` @return [String]

kind[RW]

Kind of resource this is. Corresponds to the JSON property `kind` @return [String]

last_enrollment_time[RW]

Date and time the device was last enrolled (Read-only) Corresponds to the JSON property `lastEnrollmentTime` @return [DateTime]

last_sync[RW]

Date and time the device was last synchronized with the policy settings in the Google Apps administrator control panel (Read-only) Corresponds to the JSON property `lastSync` @return [DateTime]

mac_address[RW]

Chromebook Mac Address on wifi network interface (Read-only) Corresponds to the JSON property `macAddress` @return [String]

meid[RW]

Mobile Equipment identifier for the 3G mobile card in the Chromebook (Read- only) Corresponds to the JSON property `meid` @return [String]

model[RW]

Chromebook Model (Read-only) Corresponds to the JSON property `model` @return [String]

notes[RW]

Notes added by the administrator Corresponds to the JSON property `notes` @return [String]

order_number[RW]

Chromebook order number (Read-only) Corresponds to the JSON property `orderNumber` @return [String]

org_unit_path[RW]

OrgUnit of the device Corresponds to the JSON property `orgUnitPath` @return [String]

os_version[RW]

Chromebook Os Version (Read-only) Corresponds to the JSON property `osVersion` @return [String]

platform_version[RW]

Chromebook platform version (Read-only) Corresponds to the JSON property `platformVersion` @return [String]

recent_users[RW]

List of recent device users, in descending order by last login time (Read-only) Corresponds to the JSON property `recentUsers` @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::RecentUser>]

serial_number[RW]

Chromebook serial number (Read-only) Corresponds to the JSON property `serialNumber` @return [String]

status[RW]

status of the device (Read-only) Corresponds to the JSON property `status` @return [String]

support_end_date[RW]

Final date the device will be supported (Read-only) Corresponds to the JSON property `supportEndDate` @return [DateTime]

will_auto_renew[RW]

Will Chromebook auto renew after support end date (Read-only) Corresponds to the JSON property `willAutoRenew` @return [Boolean]

will_auto_renew?[RW]

Will Chromebook auto renew after support end date (Read-only) Corresponds to the JSON property `willAutoRenew` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/admin_directory_v1/classes.rb, line 493
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 498
def update!(**args)
  @active_time_ranges = args[:active_time_ranges] if args.key?(:active_time_ranges)
  @annotated_asset_id = args[:annotated_asset_id] if args.key?(:annotated_asset_id)
  @annotated_location = args[:annotated_location] if args.key?(:annotated_location)
  @annotated_user = args[:annotated_user] if args.key?(:annotated_user)
  @boot_mode = args[:boot_mode] if args.key?(:boot_mode)
  @device_id = args[:device_id] if args.key?(:device_id)
  @etag = args[:etag] if args.key?(:etag)
  @ethernet_mac_address = args[:ethernet_mac_address] if args.key?(:ethernet_mac_address)
  @firmware_version = args[:firmware_version] if args.key?(:firmware_version)
  @kind = args[:kind] if args.key?(:kind)
  @last_enrollment_time = args[:last_enrollment_time] if args.key?(:last_enrollment_time)
  @last_sync = args[:last_sync] if args.key?(:last_sync)
  @mac_address = args[:mac_address] if args.key?(:mac_address)
  @meid = args[:meid] if args.key?(:meid)
  @model = args[:model] if args.key?(:model)
  @notes = args[:notes] if args.key?(:notes)
  @order_number = args[:order_number] if args.key?(:order_number)
  @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path)
  @os_version = args[:os_version] if args.key?(:os_version)
  @platform_version = args[:platform_version] if args.key?(:platform_version)
  @recent_users = args[:recent_users] if args.key?(:recent_users)
  @serial_number = args[:serial_number] if args.key?(:serial_number)
  @status = args[:status] if args.key?(:status)
  @support_end_date = args[:support_end_date] if args.key?(:support_end_date)
  @will_auto_renew = args[:will_auto_renew] if args.key?(:will_auto_renew)
end