Issue Command
|
|||||
|
|
Issues a command for the device to execute
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your Chrome OS devices' metadata
Input
This building block consumes 4 input parameters
Name | Format | Description |
---|---|---|
customerId Required |
STRING |
Immutable. Immutable ID of the G Suite account |
deviceId Required |
STRING |
Immutable. Immutable ID of Chrome OS Device |
commandType |
ENUMERATION |
The type of command |
payload |
STRING |
The payload for the command, provide it only if command supports it. The following commands support adding payload: - SET_VOLUME: Payload is a stringified JSON object in the form: { "volume": 50 }. The volume has to be an integer in the range [0,100] |
= Parameter name
= Format
customerId STRING Required Immutable. Immutable ID of the G Suite account |
deviceId STRING Required Immutable. Immutable ID of Chrome OS Device |
commandType ENUMERATION The type of command |
payload STRING The payload for the command, provide it only if command supports it. The following commands support adding payload: - SET_VOLUME: Payload is a stringified JSON object in the form: { "volume": 50 }. The volume has to be an integer in the range [0,100] |
Output
This building block provides 1 output parameters
Name | Format | Description |
---|---|---|
commandId |
INTEGER |
The unique ID of the issued command, used to retrieve the command status |
= Parameter name
= Format
commandId INTEGER The unique ID of the issued command, used to retrieve the command status |