# Google Cloud Migration Center V1 Client - Class RunningProcess (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class RunningProcess.

Guest OS running process details.

Generated from protobuf message `google.cloud.migrationcenter.v1.RunningProcess`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ pid` | `int|string` Process ID. |
| `↳ exe_path` | `string` Process binary path. |
| `↳ cmdline` | `string` Process full command line. |
| `↳ user` | `string` User running the process. |
| `↳ attributes` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Process extended attributes. |

### getPid

Process ID.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setPid

Process ID.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExePath

Process binary path.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setExePath

Process binary path.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCmdline

Process full command line.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setCmdline

Process full command line.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUser

User running the process.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setUser

User running the process.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAttributes

Process extended attributes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setAttributes

Process extended attributes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |