NAME

Google::Cloud::Securitycenter::V1::AgentAnomaly - Compiled Protocol Buffers messages for google/cloud/securitycenter/v1/agent_anomaly.proto

SYNOPSIS

use Google::Cloud::Securitycenter::V1::AgentAnomaly;

my $msg = Google::Cloud::Securitycenter::V1::AgentAnomaly::AgentAnomaly->new({
    confidence_score => $confidence_score,
    detector_references => $detector_references,
    invocation_references => $invocation_references,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v1/agent_anomaly.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::V1::AgentAnomaly::AgentAnomaly

Represents details about an anomaly detected in an AI agent's behavior.

Inherits from Protobuf::Message.

Accessors

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

    Type: Double

    The overall confidence score indicating the likelihood that this session contains a true anomaly. The score ranges from 0.0 to 1.0, where 1.0 signifies 100% confidence in the presence of an anomaly and 0.0 signifies 0% confidence.

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

    Type: Message (Google::Cloud::Securitycenter::V1::AgentAnomaly::DetectorReference)

    The list of references to specific detectors that identified anomalies within this session.

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

    Type: Message (Google::Cloud::Securitycenter::V1::AgentAnomaly::InvocationReference)

    References to the OpenTelemetry invocations.

Google::Cloud::Securitycenter::V1::AgentAnomaly::DetectorReference

Represents a reference to a specific anomaly detector.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Securitycenter::V1::DetectorReference::Severity)

    The severity of the detector.

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

    Type: String

    The unique identifier of the detector.

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

    Type: String

    A human readable name for the detector, providing context on its purpose. For example, "ASI02: Tool Misuse", or "Excessive API Calls".

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

    Type: String

    A detailed explanation generated by an LLM or the detector itself, describing why this specific anomaly was flagged. This provides rationale and context for the detection.

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

    Type: String

    Recommended steps or actions to remediate or investigate the anomaly flagged by this detector. These could include configuration changes, code adjustments, or further diagnostic procedures.

Enum: DetectorReference::Severity

  • SEVERITY_UNSPECIFIED => 0

  • CRITICAL => 1

  • HIGH => 2

  • MEDIUM => 3

  • LOW => 4

Google::Cloud::Securitycenter::V1::AgentAnomaly::InvocationReference

Represents a reference to a specific OpenTelemetry invocation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The unique identifier of the invocation.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V1::AgentAnomaly::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.