Reference documentation and code samples for the Google Cloud Migration Center V1 Client class RunningService.
Guest OS running service details.
Generated from protobuf message google.cloud.migrationcenter.v1.RunningService
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ service_name |
string
Service name. |
↳ state |
int
Service state (OS-agnostic). |
↳ start_mode |
int
Service start mode (OS-agnostic). |
↳ exe_path |
string
Service binary path. |
↳ cmdline |
string
Service command line. |
↳ pid |
int|string
Service pid. |
getServiceName
Service name.
Returns | |
---|---|
Type | Description |
string |
setServiceName
Service name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
Service state (OS-agnostic).
Returns | |
---|---|
Type | Description |
int |
setState
Service state (OS-agnostic).
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getStartMode
Service start mode (OS-agnostic).
Returns | |
---|---|
Type | Description |
int |
setStartMode
Service start mode (OS-agnostic).
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getExePath
Service binary path.
Returns | |
---|---|
Type | Description |
string |
setExePath
Service binary path.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCmdline
Service command line.
Returns | |
---|---|
Type | Description |
string |
setCmdline
Service command line.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPid
Service pid.
Returns | |
---|---|
Type | Description |
int|string |
setPid
Service pid.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |