Class: Google::Cloud::SecurityCenter::V1::Process
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V1::Process
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v1/process.rb
Overview
Represents an operating system process.
Instance Attribute Summary collapse
-
#args ⇒ ::Array<::String>
Process arguments as JSON encoded strings.
-
#arguments_truncated ⇒ ::Boolean
True if
args
is incomplete. -
#binary ⇒ ::Google::Cloud::SecurityCenter::V1::File
File information for the process executable.
-
#env_variables ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::EnvironmentVariable>
Process environment variables.
-
#env_variables_truncated ⇒ ::Boolean
True if
env_variables
is incomplete. -
#libraries ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::File>
File information for libraries loaded by the process.
-
#name ⇒ ::String
The process name, as displayed in utilities like
top
andps
. -
#parent_pid ⇒ ::Integer
The parent process ID.
-
#pid ⇒ ::Integer
The process ID.
-
#script ⇒ ::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.
Instance Attribute Details
#args ⇒ ::Array<::String>
Returns Process arguments as JSON encoded strings.
59 60 61 62 |
# File 'proto_docs/google/cloud/securitycenter/v1/process.rb', line 59 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#arguments_truncated ⇒ ::Boolean
Returns True if args
is incomplete.
59 60 61 62 |
# File 'proto_docs/google/cloud/securitycenter/v1/process.rb', line 59 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#binary ⇒ ::Google::Cloud::SecurityCenter::V1::File
Returns File information for the process executable.
59 60 61 62 |
# File 'proto_docs/google/cloud/securitycenter/v1/process.rb', line 59 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#env_variables ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::EnvironmentVariable>
Returns Process environment variables.
59 60 61 62 |
# File 'proto_docs/google/cloud/securitycenter/v1/process.rb', line 59 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#env_variables_truncated ⇒ ::Boolean
Returns True if env_variables
is incomplete.
59 60 61 62 |
# File 'proto_docs/google/cloud/securitycenter/v1/process.rb', line 59 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#libraries ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::File>
Returns File information for libraries loaded by the process.
59 60 61 62 |
# File 'proto_docs/google/cloud/securitycenter/v1/process.rb', line 59 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns 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)
.
59 60 61 62 |
# File 'proto_docs/google/cloud/securitycenter/v1/process.rb', line 59 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent_pid ⇒ ::Integer
Returns The parent process ID.
59 60 61 62 |
# File 'proto_docs/google/cloud/securitycenter/v1/process.rb', line 59 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#pid ⇒ ::Integer
Returns The process ID.
59 60 61 62 |
# File 'proto_docs/google/cloud/securitycenter/v1/process.rb', line 59 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#script ⇒ ::Google::Cloud::SecurityCenter::V1::File
Returns 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.
59 60 61 62 |
# File 'proto_docs/google/cloud/securitycenter/v1/process.rb', line 59 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |