Class: Google::Apis::MigrationcenterV1alpha1::RunningService

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 service details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RunningService

Returns a new instance of RunningService.



4317
4318
4319
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4317

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

Instance Attribute Details

#cmdlineString

Service command line. Corresponds to the JSON property cmdline

Returns:

  • (String)


4285
4286
4287
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4285

def cmdline
  @cmdline
end

#exe_pathString

Service binary path. Corresponds to the JSON property exePath

Returns:

  • (String)


4290
4291
4292
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4290

def exe_path
  @exe_path
end

#nameString

Service name. Corresponds to the JSON property name

Returns:

  • (String)


4295
4296
4297
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4295

def name
  @name
end

#pidFixnum

Service pid. Corresponds to the JSON property pid

Returns:

  • (Fixnum)


4300
4301
4302
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4300

def pid
  @pid
end

#start_modeString

Service start mode (raw, OS-agnostic). Corresponds to the JSON property startMode

Returns:

  • (String)


4305
4306
4307
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4305

def start_mode
  @start_mode
end

#stateString

Service state (raw, OS-agnostic). Corresponds to the JSON property state

Returns:

  • (String)


4310
4311
4312
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4310

def state
  @state
end

#statusString

Service status. Corresponds to the JSON property status

Returns:

  • (String)


4315
4316
4317
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4315

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4322
4323
4324
4325
4326
4327
4328
4329
4330
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4322

def update!(**args)
  @cmdline = args[:cmdline] if args.key?(:cmdline)
  @exe_path = args[:exe_path] if args.key?(:exe_path)
  @name = args[:name] if args.key?(:name)
  @pid = args[:pid] if args.key?(:pid)
  @start_mode = args[:start_mode] if args.key?(:start_mode)
  @state = args[:state] if args.key?(:state)
  @status = args[:status] if args.key?(:status)
end