Class: Google::Apis::MigrationcenterV1alpha1::RunningProcess

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/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.



7798
7799
7800
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7798

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


7776
7777
7778
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7776

def attributes
  @attributes
end

#cmdlineString

Process full command line. Corresponds to the JSON property cmdline

Returns:

  • (String)


7781
7782
7783
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7781

def cmdline
  @cmdline
end

#exe_pathString

Process binary path. Corresponds to the JSON property exePath

Returns:

  • (String)


7786
7787
7788
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7786

def exe_path
  @exe_path
end

#pidFixnum

Process ID. Corresponds to the JSON property pid

Returns:

  • (Fixnum)


7791
7792
7793
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7791

def pid
  @pid
end

#userString

User running the process. Corresponds to the JSON property user

Returns:

  • (String)


7796
7797
7798
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7796

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7803
7804
7805
7806
7807
7808
7809
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7803

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