Returns the commands Resource.
Close httplib2 connections.
issueCommand(customerId, deviceId, body=None, x__xgafv=None)
Issues a command for the device to execute.
close()
Close httplib2 connections.
issueCommand(customerId, deviceId, body=None, x__xgafv=None)
Issues a command for the device to execute. Args: customerId: string, Immutable. Immutable ID of the Google Workspace account. (required) deviceId: string, Immutable. Immutable ID of Chrome OS Device. (required) body: object, The request body. The object takes the form of: { # A request for issuing a command. "commandType": "A String", # The type of command. "payload": "A 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]. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A response for issuing a command. "commandId": "A String", # The unique ID of the issued command, used to retrieve the command status. }