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 |
|---|---|---|---|---|
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. | |
issue_command | exec | customerId, deviceId | Issues a command for the device to execute. | |
count_chrome_os_devices | exec | customerId | includeChildOrgunits, orgUnitPath, filter | Counts 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.
| Name | Datatype | Description |
|---|---|---|
customerId | string | |
deviceId | string | |
filter | string | |
includeChildOrgunits | boolean | |
orgUnitPath | string |
Lifecycle Methods
- batch_change_status
- issue_command
- count_chrome_os_devices
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 }}"
}'
;
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 }}"
}'
;
Counts ChromeOS devices matching the request.
EXEC googleadmin.directory.chromeos.count_chrome_os_devices
@customerId='{{ customerId }}' --required,
@includeChildOrgunits={{ includeChildOrgunits }},
@orgUnitPath='{{ orgUnitPath }}',
@filter='{{ filter }}'
;