Class: Google::Cloud::MigrationCenter::V1::RunningService

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb

Overview

Guest OS running service details.

Defined Under Namespace

Modules: StartMode, State

Instance Attribute Summary collapse

Instance Attribute Details

#cmdline::String

Returns Service command line.

Returns:

  • (::String)

    Service command line.



2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 2413

class RunningService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Service state (OS-agnostic).
  module State
    # Service state unspecified.
    STATE_UNSPECIFIED = 0

    # Service is active.
    ACTIVE = 1

    # Service is paused.
    PAUSED = 2

    # Service is stopped.
    STOPPED = 3
  end

  # Service start mode (OS-agnostic).
  module StartMode
    # Start mode unspecified.
    START_MODE_UNSPECIFIED = 0

    # The service is a device driver started by the system loader.
    BOOT = 1

    # The service is a device driver started by the IOInitSystem function.
    SYSTEM = 2

    # The service is started by the operating system, at system start-up
    AUTO = 3

    # The service is started only manually, by a user.
    MANUAL = 4

    # The service is disabled.
    DISABLED = 5
  end
end

#exe_path::String

Returns Service binary path.

Returns:

  • (::String)

    Service binary path.



2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 2413

class RunningService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Service state (OS-agnostic).
  module State
    # Service state unspecified.
    STATE_UNSPECIFIED = 0

    # Service is active.
    ACTIVE = 1

    # Service is paused.
    PAUSED = 2

    # Service is stopped.
    STOPPED = 3
  end

  # Service start mode (OS-agnostic).
  module StartMode
    # Start mode unspecified.
    START_MODE_UNSPECIFIED = 0

    # The service is a device driver started by the system loader.
    BOOT = 1

    # The service is a device driver started by the IOInitSystem function.
    SYSTEM = 2

    # The service is started by the operating system, at system start-up
    AUTO = 3

    # The service is started only manually, by a user.
    MANUAL = 4

    # The service is disabled.
    DISABLED = 5
  end
end

#pid::Integer

Returns Service pid.

Returns:

  • (::Integer)

    Service pid.



2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 2413

class RunningService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Service state (OS-agnostic).
  module State
    # Service state unspecified.
    STATE_UNSPECIFIED = 0

    # Service is active.
    ACTIVE = 1

    # Service is paused.
    PAUSED = 2

    # Service is stopped.
    STOPPED = 3
  end

  # Service start mode (OS-agnostic).
  module StartMode
    # Start mode unspecified.
    START_MODE_UNSPECIFIED = 0

    # The service is a device driver started by the system loader.
    BOOT = 1

    # The service is a device driver started by the IOInitSystem function.
    SYSTEM = 2

    # The service is started by the operating system, at system start-up
    AUTO = 3

    # The service is started only manually, by a user.
    MANUAL = 4

    # The service is disabled.
    DISABLED = 5
  end
end

#service_name::String

Returns Service name.

Returns:

  • (::String)

    Service name.



2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 2413

class RunningService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Service state (OS-agnostic).
  module State
    # Service state unspecified.
    STATE_UNSPECIFIED = 0

    # Service is active.
    ACTIVE = 1

    # Service is paused.
    PAUSED = 2

    # Service is stopped.
    STOPPED = 3
  end

  # Service start mode (OS-agnostic).
  module StartMode
    # Start mode unspecified.
    START_MODE_UNSPECIFIED = 0

    # The service is a device driver started by the system loader.
    BOOT = 1

    # The service is a device driver started by the IOInitSystem function.
    SYSTEM = 2

    # The service is started by the operating system, at system start-up
    AUTO = 3

    # The service is started only manually, by a user.
    MANUAL = 4

    # The service is disabled.
    DISABLED = 5
  end
end

#start_mode::Google::Cloud::MigrationCenter::V1::RunningService::StartMode

Returns Service start mode (OS-agnostic).

Returns:



2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 2413

class RunningService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Service state (OS-agnostic).
  module State
    # Service state unspecified.
    STATE_UNSPECIFIED = 0

    # Service is active.
    ACTIVE = 1

    # Service is paused.
    PAUSED = 2

    # Service is stopped.
    STOPPED = 3
  end

  # Service start mode (OS-agnostic).
  module StartMode
    # Start mode unspecified.
    START_MODE_UNSPECIFIED = 0

    # The service is a device driver started by the system loader.
    BOOT = 1

    # The service is a device driver started by the IOInitSystem function.
    SYSTEM = 2

    # The service is started by the operating system, at system start-up
    AUTO = 3

    # The service is started only manually, by a user.
    MANUAL = 4

    # The service is disabled.
    DISABLED = 5
  end
end

#state::Google::Cloud::MigrationCenter::V1::RunningService::State

Returns Service state (OS-agnostic).

Returns:



2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 2413

class RunningService
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Service state (OS-agnostic).
  module State
    # Service state unspecified.
    STATE_UNSPECIFIED = 0

    # Service is active.
    ACTIVE = 1

    # Service is paused.
    PAUSED = 2

    # Service is stopped.
    STOPPED = 3
  end

  # Service start mode (OS-agnostic).
  module StartMode
    # Start mode unspecified.
    START_MODE_UNSPECIFIED = 0

    # The service is a device driver started by the system loader.
    BOOT = 1

    # The service is a device driver started by the IOInitSystem function.
    SYSTEM = 2

    # The service is started by the operating system, at system start-up
    AUTO = 3

    # The service is started only manually, by a user.
    MANUAL = 4

    # The service is disabled.
    DISABLED = 5
  end
end