Google Cloud Chronicle Client - Class Process (0.9.0)

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

Information about a process.

Generated from protobuf message google.backstory.Process

Namespace

Google \ Backstory

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ pid string

The process ID. This field can be used as an entity indicator for process entities.

↳ parent_pid string

The ID of the parent process. Deprecated: use parent_process.pid instead.

↳ parent_process Process

Information about the parent process.

↳ file File

Information about the file in use by the process.

↳ command_line string

The command line command that created the process. This field can be used as an entity indicator for process entities.

↳ command_line_history string[]

The command line history of the process.

↳ product_specific_process_id string

A product specific process id.

↳ access_mask int|string

A bit mask representing the level of access.

↳ integrity_level_rid int|string

The Microsoft Windows integrity level relative ID (RID) of the process.

↳ euid string

The effective user ID of the process.

↳ ruid string

The real user ID of the process.

↳ egid string

The effective group ID of the process.

↳ rgid string

The real group ID of the process.

↳ pgid string

The identifier that points to the process group ID leader.

↳ session_leader_pid string

The process ID of the session leader process.

↳ tty string

The teletype terminal which the command was executed within.

↳ token_elevation_type int

The elevation type of the process on Microsoft Windows. This determines if any privileges are removed when UAC is enabled.

↳ product_specific_parent_process_id string

A product specific id for the parent process. Please use parent_process.product_specific_process_id instead.

↳ ipv6 bool

This is used to determine if the process is an IPv6 process.

↳ kernel_duration Google\Protobuf\Duration

The kernel time spent in the process.

↳ user_duration Google\Protobuf\Duration

The user time spent in the process.

↳ real_duration Google\Protobuf\Duration

The real time spent in the process. This is the sum of the kernel and user time.

↳ state int

The state of the process.

getPid

The process ID.

This field can be used as an entity indicator for process entities.

Returns
Type Description
string

setPid

The process ID.

This field can be used as an entity indicator for process entities.

Parameter
Name Description
var string
Returns
Type Description
$this

getParentPid

The ID of the parent process.

Deprecated: use parent_process.pid instead.

Returns
Type Description
string

setParentPid

The ID of the parent process.

Deprecated: use parent_process.pid instead.

Parameter
Name Description
var string
Returns
Type Description
$this

getParentProcess

Information about the parent process.

Returns
Type Description
Process|null

hasParentProcess

clearParentProcess

setParentProcess

Information about the parent process.

Parameter
Name Description
var Process
Returns
Type Description
$this

getFile

Information about the file in use by the process.

Returns
Type Description
File|null

hasFile

clearFile

setFile

Information about the file in use by the process.

Parameter
Name Description
var File
Returns
Type Description
$this

getCommandLine

The command line command that created the process.

This field can be used as an entity indicator for process entities.

Returns
Type Description
string

setCommandLine

The command line command that created the process.

This field can be used as an entity indicator for process entities.

Parameter
Name Description
var string
Returns
Type Description
$this

getCommandLineHistory

The command line history of the process.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setCommandLineHistory

The command line history of the process.

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

getProductSpecificProcessId

A product specific process id.

Returns
Type Description
string

setProductSpecificProcessId

A product specific process id.

Parameter
Name Description
var string
Returns
Type Description
$this

getAccessMask

A bit mask representing the level of access.

Returns
Type Description
int|string

setAccessMask

A bit mask representing the level of access.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getIntegrityLevelRid

The Microsoft Windows integrity level relative ID (RID) of the process.

Returns
Type Description
int|string

setIntegrityLevelRid

The Microsoft Windows integrity level relative ID (RID) of the process.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getEuid

The effective user ID of the process.

Returns
Type Description
string

setEuid

The effective user ID of the process.

Parameter
Name Description
var string
Returns
Type Description
$this

getRuid

The real user ID of the process.

Returns
Type Description
string

setRuid

The real user ID of the process.

Parameter
Name Description
var string
Returns
Type Description
$this

getEgid

The effective group ID of the process.

Returns
Type Description
string

setEgid

The effective group ID of the process.

Parameter
Name Description
var string
Returns
Type Description
$this

getRgid

The real group ID of the process.

Returns
Type Description
string

setRgid

The real group ID of the process.

Parameter
Name Description
var string
Returns
Type Description
$this

getPgid

The identifier that points to the process group ID leader.

Returns
Type Description
string

setPgid

The identifier that points to the process group ID leader.

Parameter
Name Description
var string
Returns
Type Description
$this

getSessionLeaderPid

The process ID of the session leader process.

Returns
Type Description
string

setSessionLeaderPid

The process ID of the session leader process.

Parameter
Name Description
var string
Returns
Type Description
$this

getTty

The teletype terminal which the command was executed within.

Returns
Type Description
string

setTty

The teletype terminal which the command was executed within.

Parameter
Name Description
var string
Returns
Type Description
$this

getTokenElevationType

The elevation type of the process on Microsoft Windows. This determines if any privileges are removed when UAC is enabled.

Returns
Type Description
int Enum of type TokenElevationType.

setTokenElevationType

The elevation type of the process on Microsoft Windows. This determines if any privileges are removed when UAC is enabled.

Parameter
Name Description
var int

Enum of type TokenElevationType.

Returns
Type Description
$this

getProductSpecificParentProcessId

A product specific id for the parent process.

Please use parent_process.product_specific_process_id instead.

Returns
Type Description
string

setProductSpecificParentProcessId

A product specific id for the parent process.

Please use parent_process.product_specific_process_id instead.

Parameter
Name Description
var string
Returns
Type Description
$this

getIpv6

This is used to determine if the process is an IPv6 process.

Returns
Type Description
bool

setIpv6

This is used to determine if the process is an IPv6 process.

Parameter
Name Description
var bool
Returns
Type Description
$this

getKernelDuration

The kernel time spent in the process.

Returns
Type Description
Google\Protobuf\Duration|null

hasKernelDuration

clearKernelDuration

setKernelDuration

The kernel time spent in the process.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getUserDuration

The user time spent in the process.

Returns
Type Description
Google\Protobuf\Duration|null

hasUserDuration

clearUserDuration

setUserDuration

The user time spent in the process.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getRealDuration

The real time spent in the process. This is the sum of the kernel and user time.

Returns
Type Description
Google\Protobuf\Duration|null

hasRealDuration

clearRealDuration

setRealDuration

The real time spent in the process. This is the sum of the kernel and user time.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getState

The state of the process.

Returns
Type Description
int Enum of type State.

setState

The state of the process.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this