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.



2283
2284
2285
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2283

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


2261
2262
2263
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2261

def attributes
  @attributes
end

#cmdlineString

Process full command line. Corresponds to the JSON property cmdline

Returns:

  • (String)


2266
2267
2268
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2266

def cmdline
  @cmdline
end

#exe_pathString

Process binary path. Corresponds to the JSON property exePath

Returns:

  • (String)


2271
2272
2273
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2271

def exe_path
  @exe_path
end

#pidFixnum

Process ID. Corresponds to the JSON property pid

Returns:

  • (Fixnum)


2276
2277
2278
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2276

def pid
  @pid
end

#userString

User running the process. Corresponds to the JSON property user

Returns:

  • (String)


2281
2282
2283
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2281

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2288
2289
2290
2291
2292
2293
2294
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2288

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