Skip to main content

chromeos

Creates, updates, deletes, gets or lists a chromeos resource.

Overview

Namechromeos
TypeResource
Idgoogleadmin.directory.chromeos

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_change_statusexeccustomerIdChanges the status of a batch of ChromeOS devices. For more information about changing a ChromeOS device state Repair, repurpose, or retire ChromeOS devices.
issue_commandexeccustomerId, deviceIdIssues a command for the device to execute.
count_chrome_os_devicesexeccustomerIdincludeChildOrgunits, orgUnitPath, filterCounts ChromeOS devices matching the request.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
customerIdstring
deviceIdstring
filterstring
includeChildOrgunitsboolean
orgUnitPathstring

Lifecycle Methods

Changes the status of a batch of ChromeOS devices. For more information about changing a ChromeOS device state Repair, repurpose, or retire ChromeOS devices.

EXEC googleadmin.directory.chromeos.batch_change_status
@customerId='{{ customerId }}' --required
@@json=
'{
"deviceIds": "{{ deviceIds }}",
"deprovisionReason": "{{ deprovisionReason }}",
"changeChromeOsDeviceStatusAction": "{{ changeChromeOsDeviceStatusAction }}"
}'
;