Class: Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb

Overview

A request for issuing a command.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DirectoryChromeosdevicesIssueCommandRequest

Returns a new instance of DirectoryChromeosdevicesIssueCommandRequest.



2163
2164
2165
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2163

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#command_typeString

The type of command. Corresponds to the JSON property commandType

Returns:

  • (String)


2134
2135
2136
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2134

def command_type
  @command_type
end

#payloadString

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]. * DEVICE_START_CRD_SESSION: Payload is optionally a stringified JSON object in the form: "ackedUserPresence": true . ackedUserPresence is a boolean. By default, ackedUserPresence is set to false. To start a Chrome Remote Desktop session for an active device, set ackedUserPresence to true. * REBOOT: Payload is a stringified JSON object in the form: "user_session_delay_seconds": 300. The delay has to be in the range [0, 300]. * FETCH_SUPPORT_PACKET: Payload is optionally a stringified JSON object in the form: "supportPacketDetails": "issueCaseId": optional_support_case_id_string, "issueDescription": optional_issue_description_string, "requestedDataCollectors": []`The list of availabledata_collector_enumsare as following: Chrome System Information ( 1), Crash IDs (2), Memory Details (3), UI Hierarchy (4), Additional ChromeOS Platform Logs (5), Device Event (6), Intel WiFi NICs Debug Dump (7), Touch Events (8), Lacros (9), Lacros System Information (10), ChromeOS Flex Logs (11) , DBus Details (12), ChromeOS Network Routes (13), ChromeOS Shill (Connection Manager) Logs (14), Policies (15), ChromeOS System State and Logs (16), ChromeOS System Logs (17), ChromeOS Chrome User Logs (18), ChromeOS Bluetooth ( 19), ChromeOS Connected Input Devices (20), ChromeOS Traffic Counters (21), ChromeOS Virtual Keyboard (22), ChromeOS Network Health (23). See more details in [help article](https://support.google.com/chrome/a?p=remote-log). Corresponds to the JSON propertypayload`

Returns:

  • (String)


2161
2162
2163
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2161

def payload
  @payload
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2168
2169
2170
2171
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2168

def update!(**args)
  @command_type = args[:command_type] if args.key?(:command_type)
  @payload = args[:payload] if args.key?(:payload)
end