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
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
- (::Google::Cloud::SecurityCenter::V1::File) — File information for the process executable.
#binary=
def binary=(value) -> ::Google::Cloud::SecurityCenter::V1::File
Parameter
- value (::Google::Cloud::SecurityCenter::V1::File) — File information for the process executable.
Returns
- (::Google::Cloud::SecurityCenter::V1::File) — File information for the process executable.
#env_variables
def env_variables() -> ::Array<::Google::Cloud::SecurityCenter::V1::EnvironmentVariable>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::EnvironmentVariable>) — Process environment variables.
#env_variables=
def env_variables=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::EnvironmentVariable>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V1::EnvironmentVariable>) — Process environment variables.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::EnvironmentVariable>) — Process environment variables.
#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
- (::Array<::Google::Cloud::SecurityCenter::V1::File>) — File information for libraries loaded by the process.
#libraries=
def libraries=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::File>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V1::File>) — File information for libraries loaded by the process.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::File>) — File information for libraries loaded by the process.
#name
def name() -> ::String
Returns
-
(::String) — The process name, as displayed in utilities like
top
andps
. This name can be accessed through/proc/[pid]/comm
and changed withprctl(PR_SET_NAME)
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — The process name, as displayed in utilities like
top
andps
. This name can be accessed through/proc/[pid]/comm
and changed withprctl(PR_SET_NAME)
.
Returns
-
(::String) — The process name, as displayed in utilities like
top
andps
. This name can be accessed through/proc/[pid]/comm
and changed withprctl(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, whilescript
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, whilescript
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, whilescript
provides information about the script file provided to the interpreter.