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.



5306
5307
5308
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5306

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>)


5284
5285
5286
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5284

def attributes
  @attributes
end

#cmdlineString

Process full command line. Corresponds to the JSON property cmdline

Returns:

  • (String)


5289
5290
5291
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5289

def cmdline
  @cmdline
end

#exe_pathString

Process binary path. Corresponds to the JSON property exePath

Returns:

  • (String)


5294
5295
5296
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5294

def exe_path
  @exe_path
end

#pidFixnum

Process ID. Corresponds to the JSON property pid

Returns:

  • (Fixnum)


5299
5300
5301
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5299

def pid
  @pid
end

#userString

User running the process. Corresponds to the JSON property user

Returns:

  • (String)


5304
5305
5306
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5304

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5311
5312
5313
5314
5315
5316
5317
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5311

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