target.apidocs.com.google.api.services.directory.model.ChromeOsDevice.html Maven / Gradle / Ivy
ChromeOsDevice (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class ChromeOsDevice
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.ChromeOsDevice
-
public final class ChromeOsDevice
extends GenericJson
Google Chrome devices run on the [Chrome OS](https://support.google.com/chromeos). For more
information about common API tasks, see the [Developer's Guide](/admin-sdk/directory/v1/guides
/manage-chrome-devices).
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
ChromeOsDevice.ActiveTimeRanges
Model definition for ChromeOsDeviceActiveTimeRanges.
static class
ChromeOsDevice.CpuInfo
CPU specs for a CPU.
static class
ChromeOsDevice.CpuStatusReports
Model definition for ChromeOsDeviceCpuStatusReports.
static class
ChromeOsDevice.DeviceFiles
Model definition for ChromeOsDeviceDeviceFiles.
static class
ChromeOsDevice.DiskVolumeReports
Model definition for ChromeOsDeviceDiskVolumeReports.
static class
ChromeOsDevice.LastKnownNetwork
Information for an ip address.
static class
ChromeOsDevice.RecentUsers
List of recent device users, in descending order, by last login time.
static class
ChromeOsDevice.ScreenshotFiles
Model definition for ChromeOsDeviceScreenshotFiles.
static class
ChromeOsDevice.SystemRamFreeReports
Model definition for ChromeOsDeviceSystemRamFreeReports.
static class
ChromeOsDevice.TpmVersionInfo
Trusted Platform Module (TPM) (Read-only)
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ChromeOsDevice()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ChromeOsDevice
clone()
List<ChromeOsDevice.ActiveTimeRanges>
getActiveTimeRanges()
List of active time ranges (Read-only).
String
getAnnotatedAssetId()
The asset identifier as noted by an administrator or specified during enrollment.
String
getAnnotatedLocation()
The address or location of the device as noted by the administrator.
String
getAnnotatedUser()
The user of the device as noted by the administrator.
Long
getAutoUpdateExpiration()
(Read-only) The timestamp after which the device will stop receiving Chrome updates or support
String
getBootMode()
The boot mode for the device.
List<ChromeOsDevice.CpuInfo>
getCpuInfo()
Information regarding CPU specs in the device.
List<ChromeOsDevice.CpuStatusReports>
getCpuStatusReports()
Reports of CPU utilization and temperature (Read-only)
List<ChromeOsDevice.DeviceFiles>
getDeviceFiles()
List of device files to download (Read-only)
String
getDeviceId()
The unique ID of the Chrome device.
List<ChromeOsDevice.DiskVolumeReports>
getDiskVolumeReports()
Reports of disk space and other info about mounted/connected volumes.
String
getDockMacAddress()
(Read-only) Built-in MAC address for the docking station that the device connected to.
String
getEtag()
ETag of the resource.
String
getEthernetMacAddress()
The device's MAC address on the ethernet network interface.
String
getEthernetMacAddress0()
(Read-only) MAC address used by the Chromebook’s internal ethernet port, and for onboard
network (ethernet) interface.
String
getFirmwareVersion()
The Chrome device's firmware version.
String
getKind()
The type of resource.
DateTime
getLastEnrollmentTime()
Date and time the device was last enrolled (Read-only)
List<ChromeOsDevice.LastKnownNetwork>
getLastKnownNetwork()
Contains last known network (Read-only)
DateTime
getLastSync()
Date and time the device was last synchronized with the policy settings in the G Suite
administrator control panel (Read-only)
String
getMacAddress()
The device's wireless MAC address.
String
getManufactureDate()
(Read-only) The date the device was manufactured in yyyy-mm-dd format.
String
getMeid()
The Mobile Equipment Identifier (MEID) or the International Mobile Equipment Identity (IMEI)
for the 3G mobile card in a mobile device.
String
getModel()
The device's model information.
String
getNotes()
Notes about this device added by the administrator.
String
getOrderNumber()
The device's order number.
String
getOrgUnitId()
The unique ID of the organizational unit.
String
getOrgUnitPath()
The full parent path with the organizational unit's name associated with the device.
String
getOsVersion()
The Chrome device's operating system version.
String
getPlatformVersion()
The Chrome device's platform version.
List<ChromeOsDevice.RecentUsers>
getRecentUsers()
List of recent device users, in descending order, by last login time.
List<ChromeOsDevice.ScreenshotFiles>
getScreenshotFiles()
List of screenshot files to download.
String
getSerialNumber()
The Chrome device serial number entered when the device was enabled.
String
getStatus()
The status of the device.
DateTime
getSupportEndDate()
Final date the device will be supported (Read-only)
List<ChromeOsDevice.SystemRamFreeReports>
getSystemRamFreeReports()
Reports of amounts of available RAM memory (Read-only)
Long
getSystemRamTotal()
Total RAM on the device [in bytes] (Read-only)
ChromeOsDevice.TpmVersionInfo
getTpmVersionInfo()
Trusted Platform Module (TPM) (Read-only)
Boolean
getWillAutoRenew()
Determines if the device will auto renew its support after the support end date.
ChromeOsDevice
set(String fieldName,
Object value)
ChromeOsDevice
setActiveTimeRanges(List<ChromeOsDevice.ActiveTimeRanges> activeTimeRanges)
List of active time ranges (Read-only).
ChromeOsDevice
setAnnotatedAssetId(String annotatedAssetId)
The asset identifier as noted by an administrator or specified during enrollment.
ChromeOsDevice
setAnnotatedLocation(String annotatedLocation)
The address or location of the device as noted by the administrator.
ChromeOsDevice
setAnnotatedUser(String annotatedUser)
The user of the device as noted by the administrator.
ChromeOsDevice
setAutoUpdateExpiration(Long autoUpdateExpiration)
(Read-only) The timestamp after which the device will stop receiving Chrome updates or support
ChromeOsDevice
setBootMode(String bootMode)
The boot mode for the device.
ChromeOsDevice
setCpuInfo(List<ChromeOsDevice.CpuInfo> cpuInfo)
Information regarding CPU specs in the device.
ChromeOsDevice
setCpuStatusReports(List<ChromeOsDevice.CpuStatusReports> cpuStatusReports)
Reports of CPU utilization and temperature (Read-only)
ChromeOsDevice
setDeviceFiles(List<ChromeOsDevice.DeviceFiles> deviceFiles)
List of device files to download (Read-only)
ChromeOsDevice
setDeviceId(String deviceId)
The unique ID of the Chrome device.
ChromeOsDevice
setDiskVolumeReports(List<ChromeOsDevice.DiskVolumeReports> diskVolumeReports)
Reports of disk space and other info about mounted/connected volumes.
ChromeOsDevice
setDockMacAddress(String dockMacAddress)
(Read-only) Built-in MAC address for the docking station that the device connected to.
ChromeOsDevice
setEtag(String etag)
ETag of the resource.
ChromeOsDevice
setEthernetMacAddress(String ethernetMacAddress)
The device's MAC address on the ethernet network interface.
ChromeOsDevice
setEthernetMacAddress0(String ethernetMacAddress0)
(Read-only) MAC address used by the Chromebook’s internal ethernet port, and for onboard
network (ethernet) interface.
ChromeOsDevice
setFirmwareVersion(String firmwareVersion)
The Chrome device's firmware version.
ChromeOsDevice
setKind(String kind)
The type of resource.
ChromeOsDevice
setLastEnrollmentTime(DateTime lastEnrollmentTime)
Date and time the device was last enrolled (Read-only)
ChromeOsDevice
setLastKnownNetwork(List<ChromeOsDevice.LastKnownNetwork> lastKnownNetwork)
Contains last known network (Read-only)
ChromeOsDevice
setLastSync(DateTime lastSync)
Date and time the device was last synchronized with the policy settings in the G Suite
administrator control panel (Read-only)
ChromeOsDevice
setMacAddress(String macAddress)
The device's wireless MAC address.
ChromeOsDevice
setManufactureDate(String manufactureDate)
(Read-only) The date the device was manufactured in yyyy-mm-dd format.
ChromeOsDevice
setMeid(String meid)
The Mobile Equipment Identifier (MEID) or the International Mobile Equipment Identity (IMEI)
for the 3G mobile card in a mobile device.
ChromeOsDevice
setModel(String model)
The device's model information.
ChromeOsDevice
setNotes(String notes)
Notes about this device added by the administrator.
ChromeOsDevice
setOrderNumber(String orderNumber)
The device's order number.
ChromeOsDevice
setOrgUnitId(String orgUnitId)
The unique ID of the organizational unit.
ChromeOsDevice
setOrgUnitPath(String orgUnitPath)
The full parent path with the organizational unit's name associated with the device.
ChromeOsDevice
setOsVersion(String osVersion)
The Chrome device's operating system version.
ChromeOsDevice
setPlatformVersion(String platformVersion)
The Chrome device's platform version.
ChromeOsDevice
setRecentUsers(List<ChromeOsDevice.RecentUsers> recentUsers)
List of recent device users, in descending order, by last login time.
ChromeOsDevice
setScreenshotFiles(List<ChromeOsDevice.ScreenshotFiles> screenshotFiles)
List of screenshot files to download.
ChromeOsDevice
setSerialNumber(String serialNumber)
The Chrome device serial number entered when the device was enabled.
ChromeOsDevice
setStatus(String status)
The status of the device.
ChromeOsDevice
setSupportEndDate(DateTime supportEndDate)
Final date the device will be supported (Read-only)
ChromeOsDevice
setSystemRamFreeReports(List<ChromeOsDevice.SystemRamFreeReports> systemRamFreeReports)
Reports of amounts of available RAM memory (Read-only)
ChromeOsDevice
setSystemRamTotal(Long systemRamTotal)
Total RAM on the device [in bytes] (Read-only)
ChromeOsDevice
setTpmVersionInfo(ChromeOsDevice.TpmVersionInfo tpmVersionInfo)
Trusted Platform Module (TPM) (Read-only)
ChromeOsDevice
setWillAutoRenew(Boolean willAutoRenew)
Determines if the device will auto renew its support after the support end date.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getActiveTimeRanges
public List<ChromeOsDevice.ActiveTimeRanges> getActiveTimeRanges()
List of active time ranges (Read-only).
- Returns:
- value or
null
for none
-
setActiveTimeRanges
public ChromeOsDevice setActiveTimeRanges(List<ChromeOsDevice.ActiveTimeRanges> activeTimeRanges)
List of active time ranges (Read-only).
- Parameters:
activeTimeRanges
- activeTimeRanges or null
for none
-
getAnnotatedAssetId
public String getAnnotatedAssetId()
The asset identifier as noted by an administrator or specified during enrollment.
- Returns:
- value or
null
for none
-
setAnnotatedAssetId
public ChromeOsDevice setAnnotatedAssetId(String annotatedAssetId)
The asset identifier as noted by an administrator or specified during enrollment.
- Parameters:
annotatedAssetId
- annotatedAssetId or null
for none
-
getAnnotatedLocation
public String getAnnotatedLocation()
The address or location of the device as noted by the administrator. Maximum length is `200`
characters. Empty values are allowed.
- Returns:
- value or
null
for none
-
setAnnotatedLocation
public ChromeOsDevice setAnnotatedLocation(String annotatedLocation)
The address or location of the device as noted by the administrator. Maximum length is `200`
characters. Empty values are allowed.
- Parameters:
annotatedLocation
- annotatedLocation or null
for none
-
getAnnotatedUser
public String getAnnotatedUser()
The user of the device as noted by the administrator. Maximum length is 100 characters. Empty
values are allowed.
- Returns:
- value or
null
for none
-
setAnnotatedUser
public ChromeOsDevice setAnnotatedUser(String annotatedUser)
The user of the device as noted by the administrator. Maximum length is 100 characters. Empty
values are allowed.
- Parameters:
annotatedUser
- annotatedUser or null
for none
-
getAutoUpdateExpiration
public Long getAutoUpdateExpiration()
(Read-only) The timestamp after which the device will stop receiving Chrome updates or support
- Returns:
- value or
null
for none
-
setAutoUpdateExpiration
public ChromeOsDevice setAutoUpdateExpiration(Long autoUpdateExpiration)
(Read-only) The timestamp after which the device will stop receiving Chrome updates or support
- Parameters:
autoUpdateExpiration
- autoUpdateExpiration or null
for none
-
getBootMode
public String getBootMode()
The boot mode for the device. The possible values are: * `Verified`: The device is running a
valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is enabled.
When booted, the device has a command line shell. For an example of a developer switch, see the
[Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-
for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).
- Returns:
- value or
null
for none
-
setBootMode
public ChromeOsDevice setBootMode(String bootMode)
The boot mode for the device. The possible values are: * `Verified`: The device is running a
valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is enabled.
When booted, the device has a command line shell. For an example of a developer switch, see the
[Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-
for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).
- Parameters:
bootMode
- bootMode or null
for none
-
getCpuInfo
public List<ChromeOsDevice.CpuInfo> getCpuInfo()
Information regarding CPU specs in the device.
- Returns:
- value or
null
for none
-
setCpuInfo
public ChromeOsDevice setCpuInfo(List<ChromeOsDevice.CpuInfo> cpuInfo)
Information regarding CPU specs in the device.
- Parameters:
cpuInfo
- cpuInfo or null
for none
-
getCpuStatusReports
public List<ChromeOsDevice.CpuStatusReports> getCpuStatusReports()
Reports of CPU utilization and temperature (Read-only)
- Returns:
- value or
null
for none
-
setCpuStatusReports
public ChromeOsDevice setCpuStatusReports(List<ChromeOsDevice.CpuStatusReports> cpuStatusReports)
Reports of CPU utilization and temperature (Read-only)
- Parameters:
cpuStatusReports
- cpuStatusReports or null
for none
-
getDeviceFiles
public List<ChromeOsDevice.DeviceFiles> getDeviceFiles()
List of device files to download (Read-only)
- Returns:
- value or
null
for none
-
setDeviceFiles
public ChromeOsDevice setDeviceFiles(List<ChromeOsDevice.DeviceFiles> deviceFiles)
List of device files to download (Read-only)
- Parameters:
deviceFiles
- deviceFiles or null
for none
-
getDeviceId
public String getDeviceId()
The unique ID of the Chrome device.
- Returns:
- value or
null
for none
-
setDeviceId
public ChromeOsDevice setDeviceId(String deviceId)
The unique ID of the Chrome device.
- Parameters:
deviceId
- deviceId or null
for none
-
getDiskVolumeReports
public List<ChromeOsDevice.DiskVolumeReports> getDiskVolumeReports()
Reports of disk space and other info about mounted/connected volumes.
- Returns:
- value or
null
for none
-
setDiskVolumeReports
public ChromeOsDevice setDiskVolumeReports(List<ChromeOsDevice.DiskVolumeReports> diskVolumeReports)
Reports of disk space and other info about mounted/connected volumes.
- Parameters:
diskVolumeReports
- diskVolumeReports or null
for none
-
getDockMacAddress
public String getDockMacAddress()
(Read-only) Built-in MAC address for the docking station that the device connected to. Factory
sets Media access control address (MAC address) assigned for use by a dock. It is reserved
specifically for MAC pass through device policy. The format is twelve (12) hexadecimal digits
without any delimiter (uppercase letters). This is only relevant for some devices.
- Returns:
- value or
null
for none
-
setDockMacAddress
public ChromeOsDevice setDockMacAddress(String dockMacAddress)
(Read-only) Built-in MAC address for the docking station that the device connected to. Factory
sets Media access control address (MAC address) assigned for use by a dock. It is reserved
specifically for MAC pass through device policy. The format is twelve (12) hexadecimal digits
without any delimiter (uppercase letters). This is only relevant for some devices.
- Parameters:
dockMacAddress
- dockMacAddress or null
for none
-
getEtag
public String getEtag()
ETag of the resource.
- Returns:
- value or
null
for none
-
setEtag
public ChromeOsDevice setEtag(String etag)
ETag of the resource.
- Parameters:
etag
- etag or null
for none
-
getEthernetMacAddress
public String getEthernetMacAddress()
The device's MAC address on the ethernet network interface.
- Returns:
- value or
null
for none
-
setEthernetMacAddress
public ChromeOsDevice setEthernetMacAddress(String ethernetMacAddress)
The device's MAC address on the ethernet network interface.
- Parameters:
ethernetMacAddress
- ethernetMacAddress or null
for none
-
getEthernetMacAddress0
public String getEthernetMacAddress0()
(Read-only) MAC address used by the Chromebook’s internal ethernet port, and for onboard
network (ethernet) interface. The format is twelve (12) hexadecimal digits without any
delimiter (uppercase letters). This is only relevant for some devices.
- Returns:
- value or
null
for none
-
setEthernetMacAddress0
public ChromeOsDevice setEthernetMacAddress0(String ethernetMacAddress0)
(Read-only) MAC address used by the Chromebook’s internal ethernet port, and for onboard
network (ethernet) interface. The format is twelve (12) hexadecimal digits without any
delimiter (uppercase letters). This is only relevant for some devices.
- Parameters:
ethernetMacAddress0
- ethernetMacAddress0 or null
for none
-
getFirmwareVersion
public String getFirmwareVersion()
The Chrome device's firmware version.
- Returns:
- value or
null
for none
-
setFirmwareVersion
public ChromeOsDevice setFirmwareVersion(String firmwareVersion)
The Chrome device's firmware version.
- Parameters:
firmwareVersion
- firmwareVersion or null
for none
-
getKind
public String getKind()
The type of resource. For the Chromeosdevices resource, the value is
`admin#directory#chromeosdevice`.
- Returns:
- value or
null
for none
-
setKind
public ChromeOsDevice setKind(String kind)
The type of resource. For the Chromeosdevices resource, the value is
`admin#directory#chromeosdevice`.
- Parameters:
kind
- kind or null
for none
-
getLastEnrollmentTime
public DateTime getLastEnrollmentTime()
Date and time the device was last enrolled (Read-only)
- Returns:
- value or
null
for none
-
setLastEnrollmentTime
public ChromeOsDevice setLastEnrollmentTime(DateTime lastEnrollmentTime)
Date and time the device was last enrolled (Read-only)
- Parameters:
lastEnrollmentTime
- lastEnrollmentTime or null
for none
-
getLastKnownNetwork
public List<ChromeOsDevice.LastKnownNetwork> getLastKnownNetwork()
Contains last known network (Read-only)
- Returns:
- value or
null
for none
-
setLastKnownNetwork
public ChromeOsDevice setLastKnownNetwork(List<ChromeOsDevice.LastKnownNetwork> lastKnownNetwork)
Contains last known network (Read-only)
- Parameters:
lastKnownNetwork
- lastKnownNetwork or null
for none
-
getLastSync
public DateTime getLastSync()
Date and time the device was last synchronized with the policy settings in the G Suite
administrator control panel (Read-only)
- Returns:
- value or
null
for none
-
setLastSync
public ChromeOsDevice setLastSync(DateTime lastSync)
Date and time the device was last synchronized with the policy settings in the G Suite
administrator control panel (Read-only)
- Parameters:
lastSync
- lastSync or null
for none
-
getMacAddress
public String getMacAddress()
The device's wireless MAC address. If the device does not have this information, it is not
included in the response.
- Returns:
- value or
null
for none
-
setMacAddress
public ChromeOsDevice setMacAddress(String macAddress)
The device's wireless MAC address. If the device does not have this information, it is not
included in the response.
- Parameters:
macAddress
- macAddress or null
for none
-
getManufactureDate
public String getManufactureDate()
(Read-only) The date the device was manufactured in yyyy-mm-dd format.
- Returns:
- value or
null
for none
-
setManufactureDate
public ChromeOsDevice setManufactureDate(String manufactureDate)
(Read-only) The date the device was manufactured in yyyy-mm-dd format.
- Parameters:
manufactureDate
- manufactureDate or null
for none
-
getMeid
public String getMeid()
The Mobile Equipment Identifier (MEID) or the International Mobile Equipment Identity (IMEI)
for the 3G mobile card in a mobile device. A MEID/IMEI is typically used when adding a device
to a wireless carrier's post-pay service plan. If the device does not have this information,
this property is not included in the response. For more information on how to export a
MEID/IMEI list, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-chrome-
devices.html#export_meid).
- Returns:
- value or
null
for none
-
setMeid
public ChromeOsDevice setMeid(String meid)
The Mobile Equipment Identifier (MEID) or the International Mobile Equipment Identity (IMEI)
for the 3G mobile card in a mobile device. A MEID/IMEI is typically used when adding a device
to a wireless carrier's post-pay service plan. If the device does not have this information,
this property is not included in the response. For more information on how to export a
MEID/IMEI list, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-chrome-
devices.html#export_meid).
- Parameters:
meid
- meid or null
for none
-
getModel
public String getModel()
The device's model information. If the device does not have this information, this property is
not included in the response.
- Returns:
- value or
null
for none
-
setModel
public ChromeOsDevice setModel(String model)
The device's model information. If the device does not have this information, this property is
not included in the response.
- Parameters:
model
- model or null
for none
-
getNotes
public String getNotes()
Notes about this device added by the administrator. This property can be
[searched](https://support.google.com/chrome/a/answer/1698333) with the [list](/admin-
sdk/directory/v1/reference/chromeosdevices/list) method's `query` parameter. Maximum length is
500 characters. Empty values are allowed.
- Returns:
- value or
null
for none
-
setNotes
public ChromeOsDevice setNotes(String notes)
Notes about this device added by the administrator. This property can be
[searched](https://support.google.com/chrome/a/answer/1698333) with the [list](/admin-
sdk/directory/v1/reference/chromeosdevices/list) method's `query` parameter. Maximum length is
500 characters. Empty values are allowed.
- Parameters:
notes
- notes or null
for none
-
getOrderNumber
public String getOrderNumber()
The device's order number. Only devices directly purchased from Google have an order number.
- Returns:
- value or
null
for none
-
setOrderNumber
public ChromeOsDevice setOrderNumber(String orderNumber)
The device's order number. Only devices directly purchased from Google have an order number.
- Parameters:
orderNumber
- orderNumber or null
for none
-
getOrgUnitId
public String getOrgUnitId()
The unique ID of the organizational unit. orgUnitPath is the human readable version of
orgUnitId. While orgUnitPath may change by renaming an organizational unit within the path,
orgUnitId is unchangeable for one organizational unit. This property can be [updated](/admin-
sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the API. For
more information about how to create an organizational structure for your device, see the
[administration help center](https://support.google.com/a/answer/182433).
- Returns:
- value or
null
for none
-
setOrgUnitId
public ChromeOsDevice setOrgUnitId(String orgUnitId)
The unique ID of the organizational unit. orgUnitPath is the human readable version of
orgUnitId. While orgUnitPath may change by renaming an organizational unit within the path,
orgUnitId is unchangeable for one organizational unit. This property can be [updated](/admin-
sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the API. For
more information about how to create an organizational structure for your device, see the
[administration help center](https://support.google.com/a/answer/182433).
- Parameters:
orgUnitId
- orgUnitId or null
for none
-
getOrgUnitPath
public String getOrgUnitPath()
The full parent path with the organizational unit's name associated with the device. Path names
are case insensitive. If the parent organizational unit is the top-level organization, it is
represented as a forward slash, `/`. This property can be [updated](/admin-
sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the API. For
more information about how to create an organizational structure for your device, see the
[administration help center](https://support.google.com/a/answer/182433).
- Returns:
- value or
null
for none
-
setOrgUnitPath
public ChromeOsDevice setOrgUnitPath(String orgUnitPath)
The full parent path with the organizational unit's name associated with the device. Path names
are case insensitive. If the parent organizational unit is the top-level organization, it is
represented as a forward slash, `/`. This property can be [updated](/admin-
sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the API. For
more information about how to create an organizational structure for your device, see the
[administration help center](https://support.google.com/a/answer/182433).
- Parameters:
orgUnitPath
- orgUnitPath or null
for none
-
getOsVersion
public String getOsVersion()
The Chrome device's operating system version.
- Returns:
- value or
null
for none
-
setOsVersion
public ChromeOsDevice setOsVersion(String osVersion)
The Chrome device's operating system version.
- Parameters:
osVersion
- osVersion or null
for none
-
getPlatformVersion
public String getPlatformVersion()
The Chrome device's platform version.
- Returns:
- value or
null
for none
-
setPlatformVersion
public ChromeOsDevice setPlatformVersion(String platformVersion)
The Chrome device's platform version.
- Parameters:
platformVersion
- platformVersion or null
for none
-
getRecentUsers
public List<ChromeOsDevice.RecentUsers> getRecentUsers()
List of recent device users, in descending order, by last login time.
- Returns:
- value or
null
for none
-
setRecentUsers
public ChromeOsDevice setRecentUsers(List<ChromeOsDevice.RecentUsers> recentUsers)
List of recent device users, in descending order, by last login time.
- Parameters:
recentUsers
- recentUsers or null
for none
-
getScreenshotFiles
public List<ChromeOsDevice.ScreenshotFiles> getScreenshotFiles()
List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only)
- Returns:
- value or
null
for none
-
setScreenshotFiles
public ChromeOsDevice setScreenshotFiles(List<ChromeOsDevice.ScreenshotFiles> screenshotFiles)
List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only)
- Parameters:
screenshotFiles
- screenshotFiles or null
for none
-
getSerialNumber
public String getSerialNumber()
The Chrome device serial number entered when the device was enabled. This value is the same as
the Admin console's *Serial Number* in the *Chrome OS Devices* tab.
- Returns:
- value or
null
for none
-
setSerialNumber
public ChromeOsDevice setSerialNumber(String serialNumber)
The Chrome device serial number entered when the device was enabled. This value is the same as
the Admin console's *Serial Number* in the *Chrome OS Devices* tab.
- Parameters:
serialNumber
- serialNumber or null
for none
-
getStatus
public String getStatus()
The status of the device.
- Returns:
- value or
null
for none
-
setStatus
public ChromeOsDevice setStatus(String status)
The status of the device.
- Parameters:
status
- status or null
for none
-
getSupportEndDate
public DateTime getSupportEndDate()
Final date the device will be supported (Read-only)
- Returns:
- value or
null
for none
-
setSupportEndDate
public ChromeOsDevice setSupportEndDate(DateTime supportEndDate)
Final date the device will be supported (Read-only)
- Parameters:
supportEndDate
- supportEndDate or null
for none
-
getSystemRamFreeReports
public List<ChromeOsDevice.SystemRamFreeReports> getSystemRamFreeReports()
Reports of amounts of available RAM memory (Read-only)
- Returns:
- value or
null
for none
-
setSystemRamFreeReports
public ChromeOsDevice setSystemRamFreeReports(List<ChromeOsDevice.SystemRamFreeReports> systemRamFreeReports)
Reports of amounts of available RAM memory (Read-only)
- Parameters:
systemRamFreeReports
- systemRamFreeReports or null
for none
-
getSystemRamTotal
public Long getSystemRamTotal()
Total RAM on the device [in bytes] (Read-only)
- Returns:
- value or
null
for none
-
setSystemRamTotal
public ChromeOsDevice setSystemRamTotal(Long systemRamTotal)
Total RAM on the device [in bytes] (Read-only)
- Parameters:
systemRamTotal
- systemRamTotal or null
for none
-
getTpmVersionInfo
public ChromeOsDevice.TpmVersionInfo getTpmVersionInfo()
Trusted Platform Module (TPM) (Read-only)
- Returns:
- value or
null
for none
-
setTpmVersionInfo
public ChromeOsDevice setTpmVersionInfo(ChromeOsDevice.TpmVersionInfo tpmVersionInfo)
Trusted Platform Module (TPM) (Read-only)
- Parameters:
tpmVersionInfo
- tpmVersionInfo or null
for none
-
getWillAutoRenew
public Boolean getWillAutoRenew()
Determines if the device will auto renew its support after the support end date. This is a
read-only property.
- Returns:
- value or
null
for none
-
setWillAutoRenew
public ChromeOsDevice setWillAutoRenew(Boolean willAutoRenew)
Determines if the device will auto renew its support after the support end date. This is a
read-only property.
- Parameters:
willAutoRenew
- willAutoRenew or null
for none
-
set
public ChromeOsDevice set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public ChromeOsDevice clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.