class Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommand

Information regarding a command that was issued to a device.

Attributes

command_expire_time[RW]

The time at which the command will expire. If the device doesn't execute the command within this time the command will become expired. Corresponds to the JSON property `commandExpireTime` @return [String]

command_id[RW]

Unique ID of a device command. Corresponds to the JSON property `commandId` @return [Fixnum]

command_result[RW]

The result of executing a command. Corresponds to the JSON property `commandResult` @return [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommandResult]

issue_time[RW]

The timestamp when the command was issued by the admin. Corresponds to the JSON property `issueTime` @return [String]

payload[RW]

The payload that the command specified, if any. Corresponds to the JSON property `payload` @return [String]

state[RW]

Indicates the command state. Corresponds to the JSON property `state` @return [String]

type[RW]

The type of the command. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_directory_v1/classes.rb, line 1633
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_directory_v1/classes.rb, line 1638
def update!(**args)
  @command_expire_time = args[:command_expire_time] if args.key?(:command_expire_time)
  @command_id = args[:command_id] if args.key?(:command_id)
  @command_result = args[:command_result] if args.key?(:command_result)
  @issue_time = args[:issue_time] if args.key?(:issue_time)
  @payload = args[:payload] if args.key?(:payload)
  @state = args[:state] if args.key?(:state)
  @type = args[:type] if args.key?(:type)
end