NAME

Google::Cloud::Securitycenter::V2::Process - Compiled Protocol Buffers messages for google/cloud/securitycenter/v2/process.proto

SYNOPSIS

use Google::Cloud::Securitycenter::V2::Process;

my $msg = Google::Cloud::Securitycenter::V2::Process::Process->new({
    name => $name,
    binary => $binary,
    libraries => $libraries,
    script => $script,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V2::Process::Process->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v2/process.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Securitycenter::V2::Process::Process

Represents an operating system process.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: 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)`.

  • $msg->binary() / $msg->binary($value)

    Type: Message (Google::Cloud::Securitycenter::V2::File::File)

    File information for the process executable.

  • $msg->libraries() / $msg->libraries($value)

    Type: Message (Google::Cloud::Securitycenter::V2::File::File)

    File information for libraries loaded by the process.

  • $msg->script() / $msg->script($value)

    Type: Message (Google::Cloud::Securitycenter::V2::File::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.

  • $msg->args() / $msg->args($value)

    Type: String

    Process arguments as JSON encoded strings.

  • $msg->arguments_truncated() / $msg->arguments_truncated($value)

    Type: Bool

    True if `args` is incomplete.

  • $msg->env_variables() / $msg->env_variables($value)

    Type: Message (Google::Cloud::Securitycenter::V2::Process::EnvironmentVariable)

    Process environment variables.

  • $msg->env_variables_truncated() / $msg->env_variables_truncated($value)

    Type: Bool

    True if `env_variables` is incomplete.

  • $msg->pid() / $msg->pid($value)

    Type: Int64

    The process ID.

  • $msg->parent_pid() / $msg->parent_pid($value)

    Type: Int64

    The parent process ID.

  • $msg->user_id() / $msg->user_id($value)

    Type: Int64

    The ID of the user that executed the process. E.g. If this is the root user this will always be 0.

Google::Cloud::Securitycenter::V2::Process::EnvironmentVariable

A name-value pair representing an environment variable used in an operating system process.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Environment variable name as a JSON encoded string.

  • $msg->val() / $msg->val($value)

    Type: String

    Environment variable value as a JSON encoded string.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V2::Process::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.