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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eProcess\u003c/code\u003e class within the Google Cloud Security Center v2 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProcess\u003c/code\u003e class represents an operating system process and includes properties like \u003ccode\u003ePid\u003c/code\u003e, \u003ccode\u003eParentPid\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eBinary\u003c/code\u003e, \u003ccode\u003eScript\u003c/code\u003e, \u003ccode\u003eArgs\u003c/code\u003e, \u003ccode\u003eEnvVariables\u003c/code\u003e, and \u003ccode\u003eLibraries\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers constructors to create new instances, either empty or by copying an existing \u003ccode\u003eProcess\u003c/code\u003e object, as shown by the \u003ccode\u003eProcess()\u003c/code\u003e and \u003ccode\u003eProcess(Process other)\u003c/code\u003e methods.\u003c/p\u003e\n"],["\u003cp\u003eProperties such as \u003ccode\u003eArgumentsTruncated\u003c/code\u003e and \u003ccode\u003eEnvVariablesTruncated\u003c/code\u003e indicate if the \u003ccode\u003eArgs\u003c/code\u003e and \u003ccode\u003eEnvVariables\u003c/code\u003e data are complete or if they've been shortened, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProcess\u003c/code\u003e class implements interfaces like IMessage, IEquatable, IDeepCloneable, and IBufferMessage which are utilized within the .NET framework.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class Process (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Process)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.Process)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.Process) \n\n public sealed class Process : IMessage\u003cProcess\u003e, IEquatable\u003cProcess\u003e, IDeepCloneable\u003cProcess\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class Process.\n\nRepresents an operating system process. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Process \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Process](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Process), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Process](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Process), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Process](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Process), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### Process()\n\n public Process()\n\n### Process(Process)\n\n public Process(Process other)\n\nProperties\n----------\n\n### Args\n\n public RepeatedField\u003cstring\u003e Args { get; }\n\nProcess arguments as JSON encoded strings.\n\n### ArgumentsTruncated\n\n public bool ArgumentsTruncated { get; set; }\n\nTrue if `args` is incomplete.\n\n### Binary\n\n public File Binary { get; set; }\n\nFile information for the process executable.\n\n### EnvVariables\n\n public RepeatedField\u003cEnvironmentVariable\u003e EnvVariables { get; }\n\nProcess environment variables.\n\n### EnvVariablesTruncated\n\n public bool EnvVariablesTruncated { get; set; }\n\nTrue if `env_variables` is incomplete.\n\n### Libraries\n\n public RepeatedField\u003cFile\u003e Libraries { get; }\n\nFile information for libraries loaded by the process.\n\n### Name\n\n public string Name { get; set; }\n\nThe process name, as displayed in utilities like `top` and `ps`. This name\ncan be accessed through `/proc/[pid]/comm` and changed with\n`prctl(PR_SET_NAME)`.\n\n### ParentPid\n\n public long ParentPid { get; set; }\n\nThe parent process ID.\n\n### Pid\n\n public long Pid { get; set; }\n\nThe process ID.\n\n### Script\n\n public File Script { get; set; }\n\nWhen the process represents the invocation of a script, `binary` provides\ninformation about the interpreter, while `script` provides information\nabout the script file provided to the interpreter.\n\n### UserId\n\n public long UserId { get; set; }\n\nThe ID of the user that executed the process. E.g. If this is the root user\nthis will always be 0."]]