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
issue_commandexeccustomerId, deviceIdIssues a command for the device to execute.
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.

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

Lifecycle Methods

Issues a command for the device to execute.

EXEC googleadmin.directory.chromeos.issue_command 
@customerId='{{ customerId }}' --required,
@deviceId='{{ deviceId }}' --required
@@json=
'{
"commandType": "{{ commandType }}",
"payload": "{{ payload }}"
}';