Class: Google::Apis::MigrationcenterV1alpha1::RunningService
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::RunningService
- 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
-
#cmdline ⇒ String
Service command line.
-
#exe_path ⇒ String
Service binary path.
-
#name ⇒ String
Service name.
-
#pid ⇒ Fixnum
Service pid.
-
#start_mode ⇒ String
Service start mode (raw, OS-agnostic).
-
#state ⇒ String
Service state (raw, OS-agnostic).
-
#status ⇒ String
Service status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunningService
constructor
A new instance of RunningService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RunningService
Returns a new instance of RunningService.
4361 4362 4363 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4361 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cmdline ⇒ String
Service command line.
Corresponds to the JSON property cmdline
4329 4330 4331 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4329 def cmdline @cmdline end |
#exe_path ⇒ String
Service binary path.
Corresponds to the JSON property exePath
4334 4335 4336 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4334 def exe_path @exe_path end |
#name ⇒ String
Service name.
Corresponds to the JSON property name
4339 4340 4341 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4339 def name @name end |
#pid ⇒ Fixnum
Service pid.
Corresponds to the JSON property pid
4344 4345 4346 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4344 def pid @pid end |
#start_mode ⇒ String
Service start mode (raw, OS-agnostic).
Corresponds to the JSON property startMode
4349 4350 4351 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4349 def start_mode @start_mode end |
#state ⇒ String
Service state (raw, OS-agnostic).
Corresponds to the JSON property state
4354 4355 4356 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4354 def state @state end |
#status ⇒ String
Service status.
Corresponds to the JSON property status
4359 4360 4361 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4359 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4366 4367 4368 4369 4370 4371 4372 4373 4374 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4366 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 |