Class: Google::Apis::AndroidmanagementV1::AppProcessInfo
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::AppProcessInfo
- 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
Information about a process. It contains process name, start time, app Uid, app Pid, seinfo tag, hash of the base APK.
Instance Attribute Summary collapse
-
#apk_sha256_hash ⇒ String
SHA-256 hash of the base APK, in hexadecimal format.
-
#package_names ⇒ Array<String>
Package names of all packages that are associated with the particular user ID.
-
#pid ⇒ Fixnum
Process ID.
-
#process_name ⇒ String
Process name.
-
#seinfo ⇒ String
SELinux policy info.
-
#start_time ⇒ String
Process start time.
-
#uid ⇒ Fixnum
UID of the package.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppProcessInfo
constructor
A new instance of AppProcessInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppProcessInfo
Returns a new instance of AppProcessInfo.
225 226 227 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apk_sha256_hash ⇒ String
SHA-256 hash of the base APK, in hexadecimal format.
Corresponds to the JSON property apkSha256Hash
190 191 192 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 190 def apk_sha256_hash @apk_sha256_hash end |
#package_names ⇒ Array<String>
Package names of all packages that are associated with the particular user ID.
In most cases, this will be a single package name, the package that has been
assigned that user ID. If multiple application share a UID then all packages
sharing UID will be included.
Corresponds to the JSON property packageNames
198 199 200 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 198 def package_names @package_names end |
#pid ⇒ Fixnum
Process ID.
Corresponds to the JSON property pid
203 204 205 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 203 def pid @pid end |
#process_name ⇒ String
Process name.
Corresponds to the JSON property processName
208 209 210 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 208 def process_name @process_name end |
#seinfo ⇒ String
SELinux policy info.
Corresponds to the JSON property seinfo
213 214 215 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 213 def seinfo @seinfo end |
#start_time ⇒ String
Process start time.
Corresponds to the JSON property startTime
218 219 220 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 218 def start_time @start_time end |
#uid ⇒ Fixnum
UID of the package.
Corresponds to the JSON property uid
223 224 225 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 223 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
230 231 232 233 234 235 236 237 238 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 230 def update!(**args) @apk_sha256_hash = args[:apk_sha256_hash] if args.key?(:apk_sha256_hash) @package_names = args[:package_names] if args.key?(:package_names) @pid = args[:pid] if args.key?(:pid) @process_name = args[:process_name] if args.key?(:process_name) @seinfo = args[:seinfo] if args.key?(:seinfo) @start_time = args[:start_time] if args.key?(:start_time) @uid = args[:uid] if args.key?(:uid) end |