chromeos
Creates, updates, deletes, gets or lists a chromeos
resource.
Overview
Name | chromeos |
Type | Resource |
Id | googleadmin.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
issue_command | exec | customerId , deviceId | Issues a command for the device to execute. | |
batch_change_status | exec | customerId | Changes 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.
Name | Datatype | Description |
---|---|---|
customerId | string | |
deviceId | string |
Lifecycle Methods
- issue_command
- batch_change_status
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 }}"
}';
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 }}",
"changeChromeOsDeviceStatusAction": "{{ changeChromeOsDeviceStatusAction }}",
"deprovisionReason": "{{ deprovisionReason }}"
}';