Class: Google::Apis::AndroidmanagementV1::AdbShellCommandEvent
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::AdbShellCommandEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb
Overview
A shell command was issued over ADB via “adb shell command”.
Instance Attribute Summary collapse
-
#shell_cmd ⇒ String
Shell command that was issued over ADB via "adb shell command".
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdbShellCommandEvent
constructor
A new instance of AdbShellCommandEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdbShellCommandEvent
Returns a new instance of AdbShellCommandEvent.
35 36 37 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 35 def initialize(**args) update!(**args) end |
Instance Attribute Details
#shell_cmd ⇒ String
Shell command that was issued over ADB via "adb shell command". Redacted to
empty string on organization-owned managed profile devices.
Corresponds to the JSON property shellCmd
33 34 35 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 33 def shell_cmd @shell_cmd end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40 41 42 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 40 def update!(**args) @shell_cmd = args[:shell_cmd] if args.key?(:shell_cmd) end |