public sealed class Process : IMessage<Process>, IEquatable<Process>, IDeepCloneable<Process>, IBufferMessage, IMessageReference documentation and code samples for the Security Command Center v2 API class Process.
Represents an operating system process.
Namespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Constructors
Process()
public Process()Process(Process)
public Process(Process other)| Parameter | |
|---|---|
| Name | Description |
other |
Process |
Properties
Args
public RepeatedField<string> Args { get; }Process arguments as JSON encoded strings.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
ArgumentsTruncated
public bool ArgumentsTruncated { get; set; }True if args is incomplete.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Binary
public File Binary { get; set; }File information for the process executable.
| Property Value | |
|---|---|
| Type | Description |
File |
|
EnvVariables
public RepeatedField<EnvironmentVariable> EnvVariables { get; }Process environment variables.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldEnvironmentVariable |
|
EnvVariablesTruncated
public bool EnvVariablesTruncated { get; set; }True if env_variables is incomplete.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Libraries
public RepeatedField<File> Libraries { get; }File information for libraries loaded by the process.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldFile |
|
Name
public string Name { get; set; }The process name, as displayed in utilities like top and ps. This name
can be accessed through /proc/[pid]/comm and changed with
prctl(PR_SET_NAME).
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentPid
public long ParentPid { get; set; }The parent process ID.
| Property Value | |
|---|---|
| Type | Description |
long |
|
Pid
public long Pid { get; set; }The process ID.
| Property Value | |
|---|---|
| Type | Description |
long |
|
Script
public File Script { get; set; }When the process represents the invocation of a script, binary provides
information about the interpreter, while script provides information
about the script file provided to the interpreter.
| Property Value | |
|---|---|
| Type | Description |
File |
|
UserId
public long UserId { get; set; }The ID of the user that executed the process. E.g. If this is the root user this will always be 0.
| Property Value | |
|---|---|
| Type | Description |
long |
|