class Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommand
Information regarding a command that was issued to a device.
Attributes
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]
Unique ID of a device command. Corresponds to the JSON property `commandId` @return [Fixnum]
The result of executing a command. Corresponds to the JSON property `commandResult` @return [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommandResult]
The timestamp when the command was issued by the admin. Corresponds to the JSON property `issueTime` @return [String]
The payload that the command specified, if any. Corresponds to the JSON property `payload` @return [String]
Indicates the command state. Corresponds to the JSON property `state` @return [String]
The type of the command. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/admin_directory_v1/classes.rb, line 1633 def initialize(**args) update!(**args) end
Public Instance Methods
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