All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.directory.model.ChromeOsDevice.html Maven / Gradle / Ivy

There is a newer version: directory_v1-rev20240429-2.0.0
Show newest version






ChromeOsDevice (Admin SDK API directory_v1-rev20220621-2.0.0)












com.google.api.services.directory.model

Class ChromeOsDevice

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    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.
    • Constructor Detail

      • ChromeOsDevice

        public ChromeOsDevice()
    • Method Detail

      • 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
      • getCpuStatusReports

        public List<ChromeOsDevice.CpuStatusReports> getCpuStatusReports()
        Reports of CPU utilization and temperature (Read-only)
        Returns:
        value or null for none
      • getDeviceFiles

        public List<ChromeOsDevice.DeviceFiles> getDeviceFiles()
        List of device files to download (Read-only)
        Returns:
        value 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
      • 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
      • 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
      • 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

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy