class Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandRequest

A request for issuing a command.

Attributes

command_type[RW]

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

payload[RW]

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]. Corresponds to the JSON property `payload` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_directory_v1/classes.rb, line 1698
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 1703
def update!(**args)
  @command_type = args[:command_type] if args.key?(:command_type)
  @payload = args[:payload] if args.key?(:payload)
end