Google Cloud Chronicle Client - Class Service (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle Client class Service.

Information about a Windows service.

Generated from protobuf message google.backstory.Service

Namespace

Google \ Backstory

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ display_name string

The user-friendly display name of the service.

↳ service_type int

Deprecated: use service_types instead. The type of service.

↳ service_types int[]

The list of service types.

↳ startup_type int

The startup type of the service.

↳ state int

The status of the service.

getDisplayName

The user-friendly display name of the service.

Returns
Type Description
string

setDisplayName

The user-friendly display name of the service.

Parameter
Name Description
var string
Returns
Type Description
$this

getServiceType

Deprecated: use service_types instead.

The type of service.

Returns
Type Description
int Enum of type ServiceType.

setServiceType

Deprecated: use service_types instead.

The type of service.

Parameter
Name Description
var int

Enum of type ServiceType.

Returns
Type Description
$this

getServiceTypes

The list of service types.

Returns
Type Description
Google\Protobuf\RepeatedField<int>

setServiceTypes

The list of service types.

Parameter
Name Description
var int[]
Returns
Type Description
$this

getStartupType

The startup type of the service.

Returns
Type Description
int Enum of type StartupType.

setStartupType

The startup type of the service.

Parameter
Name Description
var int

Enum of type StartupType.

Returns
Type Description
$this

getState

The status of the service.

Returns
Type Description
int Enum of type State.

setState

The status of the service.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this