Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::Process (v0.18.0)

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

Represents an operating system process.

Inherits

  • Object

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::V1::File
Returns

#binary=

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

#env_variables

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

#env_variables=

def env_variables=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::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::V1::File>
Returns

#libraries=

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

#name

def name() -> ::String
Returns
  • (::String) — The process name visible in utilities like top and ps; it can be accessed via /proc/[pid]/comm and changed with prctl(PR_SET_NAME).

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The process name visible in utilities like top and ps; it can be accessed via /proc/[pid]/comm and changed with prctl(PR_SET_NAME).
Returns
  • (::String) — The process name visible in utilities like top and ps; it can be accessed via /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::V1::File
Returns
  • (::Google::Cloud::SecurityCenter::V1::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::V1::File
Parameter
  • value (::Google::Cloud::SecurityCenter::V1::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::V1::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.