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.
4033 4034 4035 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4033 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cmdline ⇒ String
Service command line.
Corresponds to the JSON property cmdline
4001 4002 4003 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4001 def cmdline @cmdline end |
#exe_path ⇒ String
Service binary path.
Corresponds to the JSON property exePath
4006 4007 4008 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4006 def exe_path @exe_path end |
#name ⇒ String
Service name.
Corresponds to the JSON property name
4011 4012 4013 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4011 def name @name end |
#pid ⇒ Fixnum
Service pid.
Corresponds to the JSON property pid
4016 4017 4018 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4016 def pid @pid end |
#start_mode ⇒ String
Service start mode (raw, OS-agnostic).
Corresponds to the JSON property startMode
4021 4022 4023 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4021 def start_mode @start_mode end |
#state ⇒ String
Service state (raw, OS-agnostic).
Corresponds to the JSON property state
4026 4027 4028 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4026 def state @state end |
#status ⇒ String
Service status.
Corresponds to the JSON property status
4031 4032 4033 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4031 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4038 4039 4040 4041 4042 4043 4044 4045 4046 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4038 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 |