Chromeosdevices
class Chromeosdevices extends Resource (View source)
The "chromeosdevices" collection of methods.
Typical usage is:
$adminService = new Google\Service\Directory(...);
$chromeosdevices = $adminService->chromeosdevices;
Methods
Use BatchChangeChromeOsDeviceStatus instead. Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices. Warning: Deprovisioning a device will stop device policy syncing and remove device- level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. Lost or stolen devices should use the disable action. * Re-enabling a disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information about deprovisioning and disabling devices, visit the help center.
Retrieves a Chrome OS device's properties. (chromeosdevices.get)
Retrieves a paginated list of Chrome OS devices within an account.
Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once. (chromeosdevices.moveDevicesToOu)
Updates a device's updatable properties, such as annotatedUser
,
annotatedLocation
, notes
, orgUnitPath
, or annotatedAssetId
. This
method supports patch semantics. (chromeosdevices.patch)
Updates a device's updatable properties, such as annotatedUser
,
annotatedLocation
, notes
, orgUnitPath
, or annotatedAssetId
.
Details
action(string $customerId, string $resourceId, ChromeOsDeviceAction $postBody, array $optParams = [])
Use BatchChangeChromeOsDeviceStatus instead. Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices. Warning: Deprovisioning a device will stop device policy syncing and remove device- level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. Lost or stolen devices should use the disable action. * Re-enabling a disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information about deprovisioning and disabling devices, visit the help center.
(chromeosdevices.action)
ChromeOsDevice
get(string $customerId, string $deviceId, array $optParams = [])
Retrieves a Chrome OS device's properties. (chromeosdevices.get)
ChromeOsDevices
listChromeosdevices(string $customerId, array $optParams = [])
Retrieves a paginated list of Chrome OS devices within an account.
(chromeosdevices.listChromeosdevices)
moveDevicesToOu(string $customerId, string $orgUnitPath, ChromeOsMoveDevicesToOu $postBody, array $optParams = [])
Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once. (chromeosdevices.moveDevicesToOu)
ChromeOsDevice
patch(string $customerId, string $deviceId, ChromeOsDevice $postBody, array $optParams = [])
Updates a device's updatable properties, such as annotatedUser
,
annotatedLocation
, notes
, orgUnitPath
, or annotatedAssetId
. This
method supports patch semantics. (chromeosdevices.patch)
ChromeOsDevice
update(string $customerId, string $deviceId, ChromeOsDevice $postBody, array $optParams = [])
Updates a device's updatable properties, such as annotatedUser
,
annotatedLocation
, notes
, orgUnitPath
, or annotatedAssetId
.
(chromeosdevices.update)