Admin SDK API . customer . devices . chromeos . commands

Instance Methods

close()

Close httplib2 connections.

get(customerId, deviceId, commandId, x__xgafv=None)

Gets command data a specific command issued to the device.

Method Details

close()
Close httplib2 connections.
get(customerId, deviceId, commandId, x__xgafv=None)
Gets command data a specific command issued to the device.

Args:
  customerId: string, Immutable. Immutable ID of the Google Workspace account. (required)
  deviceId: string, Immutable. Immutable ID of Chrome OS Device. (required)
  commandId: string, Immutable. Immutable ID of Chrome OS Device Command. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Information regarding a command that was issued to a device.
  "commandExpireTime": "A String", # The time at which the command will expire. If the device doesn't execute the command within this time the command will become expired.
  "commandId": "A String", # Unique ID of a device command.
  "commandResult": { # The result of executing a command. # The result of the command execution.
    "errorMessage": "A String", # The error message with a short explanation as to why the command failed. Only present if the command failed.
    "executeTime": "A String", # The time at which the command was executed or failed to execute.
    "result": "A String", # The result of the command.
  },
  "issueTime": "A String", # The timestamp when the command was issued by the admin.
  "payload": "A String", # The payload that the command specified, if any.
  "state": "A String", # Indicates the command state.
  "type": "A String", # The type of the command.
}