Class: Google::Apis::MigrationcenterV1::RunningProcess
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::RunningProcess
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
Guest OS running process details.
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,String>
Process extended attributes.
-
#cmdline ⇒ String
Process full command line.
-
#exe_path ⇒ String
Process binary path.
-
#pid ⇒ Fixnum
Process ID.
-
#user ⇒ String
User running the process.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunningProcess
constructor
A new instance of RunningProcess.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RunningProcess
Returns a new instance of RunningProcess.
4261 4262 4263 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Hash<String,String>
Process extended attributes.
Corresponds to the JSON property attributes
4239 4240 4241 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4239 def attributes @attributes end |
#cmdline ⇒ String
Process full command line.
Corresponds to the JSON property cmdline
4244 4245 4246 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4244 def cmdline @cmdline end |
#exe_path ⇒ String
Process binary path.
Corresponds to the JSON property exePath
4249 4250 4251 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4249 def exe_path @exe_path end |
#pid ⇒ Fixnum
Process ID.
Corresponds to the JSON property pid
4254 4255 4256 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4254 def pid @pid end |
#user ⇒ String
User running the process.
Corresponds to the JSON property user
4259 4260 4261 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4259 def user @user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4266 4267 4268 4269 4270 4271 4272 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4266 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @cmdline = args[:cmdline] if args.key?(:cmdline) @exe_path = args[:exe_path] if args.key?(:exe_path) @pid = args[:pid] if args.key?(:pid) @user = args[:user] if args.key?(:user) end |