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.
-
#service_name ⇒ String
Service name.
-
#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.
7881 7882 7883 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7881 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cmdline ⇒ String
Service command line.
Corresponds to the JSON property cmdline
7844 7845 7846 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7844 def cmdline @cmdline end |
#exe_path ⇒ String
Service binary path.
Corresponds to the JSON property exePath
7849 7850 7851 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7849 def exe_path @exe_path end |
#name ⇒ String
Service name.
Corresponds to the JSON property name
7854 7855 7856 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7854 def name @name end |
#pid ⇒ Fixnum
Service pid.
Corresponds to the JSON property pid
7859 7860 7861 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7859 def pid @pid end |
#service_name ⇒ String
Service name.
Corresponds to the JSON property serviceName
7864 7865 7866 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7864 def service_name @service_name end |
#start_mode ⇒ String
Service start mode (raw, OS-agnostic).
Corresponds to the JSON property startMode
7869 7870 7871 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7869 def start_mode @start_mode end |
#state ⇒ String
Service state (raw, OS-agnostic).
Corresponds to the JSON property state
7874 7875 7876 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7874 def state @state end |
#status ⇒ String
Service status.
Corresponds to the JSON property status
7879 7880 7881 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7879 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7886 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) @service_name = args[:service_name] if args.key?(:service_name) @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 |