google_api_android_management v0.6.0 GoogleApi.AndroidManagement.V1.Model.Command View Source

A command.

Attributes

  • createTime (DateTime.t): The timestamp at which the command was created. The timestamp is automatically generated by the server. Defaults to: null.
  • duration (String.t): The duration for which the command is valid. The command will expire if not executed by the device during this time. The default duration if unspecified is ten minutes. There is no maximum duration. Defaults to: null.
  • errorCode (String.t): If the command failed, an error code explaining the failure. This is not set when the command is cancelled by the caller. Defaults to: null.

    • Enum - one of [COMMAND_ERROR_CODE_UNSPECIFIED, UNKNOWN, API_LEVEL, MANAGEMENT_MODE, INVALID_VALUE, UNSUPPORTED]
  • newPassword (String.t): For commands of type RESET_PASSWORD, optionally specifies the new password. Defaults to: null.
  • resetPasswordFlags ([String.t]): For commands of type RESET_PASSWORD, optionally specifies flags. Defaults to: null.

    • Enum - one of
  • type (String.t): The type of the command. Defaults to: null.

    • Enum - one of [COMMAND_TYPE_UNSPECIFIED, LOCK, RESET_PASSWORD, REBOOT]
  • userName (String.t): The resource name of the user that owns the device in the form enterprises/{enterpriseId}/users/{userId}. This is automatically generated by the server based on the device the command is sent to. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.AndroidManagement.V1.Model.Command{
  createTime: DateTime.t(),
  duration: any(),
  errorCode: any(),
  newPassword: any(),
  resetPasswordFlags: [any()],
  type: any(),
  userName: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.