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.



4593
4594
4595
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4593

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

Instance Attribute Details

#cmdlineString

Service command line. Corresponds to the JSON property cmdline

Returns:

  • (String)


4561
4562
4563
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4561

def cmdline
  @cmdline
end

#exe_pathString

Service binary path. Corresponds to the JSON property exePath

Returns:

  • (String)


4566
4567
4568
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4566

def exe_path
  @exe_path
end

#nameString

Service name. Corresponds to the JSON property name

Returns:

  • (String)


4571
4572
4573
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4571

def name
  @name
end

#pidFixnum

Service pid. Corresponds to the JSON property pid

Returns:

  • (Fixnum)


4576
4577
4578
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4576

def pid
  @pid
end

#start_modeString

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

Returns:

  • (String)


4581
4582
4583
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4581

def start_mode
  @start_mode
end

#stateString

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

Returns:

  • (String)


4586
4587
4588
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4586

def state
  @state
end

#statusString

Service status. Corresponds to the JSON property status

Returns:

  • (String)


4591
4592
4593
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4591

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4598
4599
4600
4601
4602
4603
4604
4605
4606
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4598

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