Class: Google::Apis::MigrationcenterV1::RunningProcess

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RunningProcess

Returns a new instance of RunningProcess.



4509
4510
4511
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4509

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

Instance Attribute Details

#attributesHash<String,String>

Process extended attributes. Corresponds to the JSON property attributes

Returns:

  • (Hash<String,String>)


4487
4488
4489
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4487

def attributes
  @attributes
end

#cmdlineString

Process full command line. Corresponds to the JSON property cmdline

Returns:

  • (String)


4492
4493
4494
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4492

def cmdline
  @cmdline
end

#exe_pathString

Process binary path. Corresponds to the JSON property exePath

Returns:

  • (String)


4497
4498
4499
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4497

def exe_path
  @exe_path
end

#pidFixnum

Process ID. Corresponds to the JSON property pid

Returns:

  • (Fixnum)


4502
4503
4504
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4502

def pid
  @pid
end

#userString

User running the process. Corresponds to the JSON property user

Returns:

  • (String)


4507
4508
4509
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4507

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4514
4515
4516
4517
4518
4519
4520
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4514

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