class Google::Apis::AdminDirectoryV1::ChromeOsDevice
JSON template for Chrome Os Device resource in Directory API.
Attributes
List of active time ranges (Read-only) Corresponds to the JSON property `activeTimeRanges` @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange>]
AssetId specified during enrollment or through later annotation Corresponds to the JSON property `annotatedAssetId` @return [String]
Address or location of the device as noted by the administrator Corresponds to the JSON property `annotatedLocation` @return [String]
User of the device Corresponds to the JSON property `annotatedUser` @return [String]
Chromebook boot mode (Read-only) Corresponds to the JSON property `bootMode` @return [String]
Unique identifier of Chrome OS Device (Read-only) Corresponds to the JSON property `deviceId` @return [String]
ETag of the resource. Corresponds to the JSON property `etag` @return [String]
Chromebook Mac Address on ethernet network interface (Read-only) Corresponds to the JSON property `ethernetMacAddress` @return [String]
Chromebook firmware version (Read-only) Corresponds to the JSON property `firmwareVersion` @return [String]
Kind of resource this is. Corresponds to the JSON property `kind` @return [String]
Date and time the device was last enrolled (Read-only) Corresponds to the JSON property `lastEnrollmentTime` @return [DateTime]
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]
Chromebook Mac Address on wifi network interface (Read-only) Corresponds to the JSON property `macAddress` @return [String]
Mobile Equipment identifier for the 3G mobile card in the Chromebook (Read- only) Corresponds to the JSON property `meid` @return [String]
Chromebook Model (Read-only) Corresponds to the JSON property `model` @return [String]
Notes added by the administrator Corresponds to the JSON property `notes` @return [String]
Chromebook order number (Read-only) Corresponds to the JSON property `orderNumber` @return [String]
OrgUnit of the device Corresponds to the JSON property `orgUnitPath` @return [String]
Chromebook Os Version (Read-only) Corresponds to the JSON property `osVersion` @return [String]
Chromebook platform version (Read-only) Corresponds to the JSON property `platformVersion` @return [String]
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>]
Chromebook serial number (Read-only) Corresponds to the JSON property `serialNumber` @return [String]
status of the device (Read-only) Corresponds to the JSON property `status` @return [String]
Final date the device will be supported (Read-only) Corresponds to the JSON property `supportEndDate` @return [DateTime]
Will Chromebook auto renew after support end date (Read-only) Corresponds to the JSON property `willAutoRenew` @return [Boolean]
Will Chromebook auto renew after support end date (Read-only) Corresponds to the JSON property `willAutoRenew` @return [Boolean]
Public Class Methods
# File generated/google/apis/admin_directory_v1/classes.rb, line 493 def initialize(**args) update!(**args) end
Public Instance Methods
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