# Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::RunningService (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::RunningService.

Guest OS running service details.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cmdline

    def cmdline() -> ::String

**Returns**

- (::String) --- Service command line.

### #cmdline=

    def cmdline=(value) -> ::String

**Parameter**

- **value** (::String) --- Service command line.
**Returns**

- (::String) --- Service command line.

### #exe_path

    def exe_path() -> ::String

**Returns**

- (::String) --- Service binary path.

### #exe_path=

    def exe_path=(value) -> ::String

**Parameter**

- **value** (::String) --- Service binary path.
**Returns**

- (::String) --- Service binary path.

### #pid

    def pid() -> ::Integer

**Returns**

- (::Integer) --- Service pid.

### #pid=

    def pid=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Service pid.
**Returns**

- (::Integer) --- Service pid.

### #service_name

    def service_name() -> ::String

**Returns**

- (::String) --- Service name.

### #service_name=

    def service_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Service name.
**Returns**

- (::String) --- Service name.

### #start_mode

    def start_mode() -> ::Google::Cloud::MigrationCenter::V1::RunningService::StartMode

**Returns**

- ([::Google::Cloud::MigrationCenter::V1::RunningService::StartMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-RunningService-StartMode)) --- Service start mode (OS-agnostic).

### #start_mode=

    def start_mode=(value) -> ::Google::Cloud::MigrationCenter::V1::RunningService::StartMode

**Parameter**

- **value** ([::Google::Cloud::MigrationCenter::V1::RunningService::StartMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-RunningService-StartMode)) --- Service start mode (OS-agnostic).
**Returns**

- ([::Google::Cloud::MigrationCenter::V1::RunningService::StartMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-RunningService-StartMode)) --- Service start mode (OS-agnostic).

### #state

    def state() -> ::Google::Cloud::MigrationCenter::V1::RunningService::State

**Returns**

- ([::Google::Cloud::MigrationCenter::V1::RunningService::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-RunningService-State)) --- Service state (OS-agnostic).

### #state=

    def state=(value) -> ::Google::Cloud::MigrationCenter::V1::RunningService::State

**Parameter**

- **value** ([::Google::Cloud::MigrationCenter::V1::RunningService::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-RunningService-State)) --- Service state (OS-agnostic).
**Returns**

- ([::Google::Cloud::MigrationCenter::V1::RunningService::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-RunningService-State)) --- Service state (OS-agnostic).