Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::Process (v0.5.0)

Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::Process.

Represents an operating system process.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#args

def args() -> ::Array<::String>
Returns
  • (::Array<::String>) — Process arguments as JSON encoded strings.

#args=

def args=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Process arguments as JSON encoded strings.
Returns
  • (::Array<::String>) — Process arguments as JSON encoded strings.

#arguments_truncated

def arguments_truncated() -> ::Boolean
Returns
  • (::Boolean) — True if args is incomplete.

#arguments_truncated=

def arguments_truncated=(value) -> ::Boolean
Parameter
  • value (::Boolean) — True if args is incomplete.
Returns
  • (::Boolean) — True if args is incomplete.

#binary

def binary() -> ::Google::Cloud::SecurityCenter::V2::File
Returns

#binary=

def binary=(value) -> ::Google::Cloud::SecurityCenter::V2::File
Parameter
Returns

#env_variables

def env_variables() -> ::Array<::Google::Cloud::SecurityCenter::V2::EnvironmentVariable>
Returns

#env_variables=

def env_variables=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::EnvironmentVariable>
Parameter
Returns

#env_variables_truncated

def env_variables_truncated() -> ::Boolean
Returns
  • (::Boolean) — True if env_variables is incomplete.

#env_variables_truncated=

def env_variables_truncated=(value) -> ::Boolean
Parameter
  • value (::Boolean) — True if env_variables is incomplete.
Returns
  • (::Boolean) — True if env_variables is incomplete.

#libraries

def libraries() -> ::Array<::Google::Cloud::SecurityCenter::V2::File>
Returns

#libraries=

def libraries=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::File>
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — 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).

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — 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).
Returns
  • (::String) — 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).

#parent_pid

def parent_pid() -> ::Integer
Returns
  • (::Integer) — The parent process ID.

#parent_pid=

def parent_pid=(value) -> ::Integer
Parameter
  • value (::Integer) — The parent process ID.
Returns
  • (::Integer) — The parent process ID.

#pid

def pid() -> ::Integer
Returns
  • (::Integer) — The process ID.

#pid=

def pid=(value) -> ::Integer
Parameter
  • value (::Integer) — The process ID.
Returns
  • (::Integer) — The process ID.

#script

def script() -> ::Google::Cloud::SecurityCenter::V2::File
Returns
  • (::Google::Cloud::SecurityCenter::V2::File) — 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.

#script=

def script=(value) -> ::Google::Cloud::SecurityCenter::V2::File
Parameter
  • value (::Google::Cloud::SecurityCenter::V2::File) — 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.
Returns
  • (::Google::Cloud::SecurityCenter::V2::File) — 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.