Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class AgentAnomaly.
Represents details about an anomaly detected in an AI agent's behavior.
Generated from protobuf message google.cloud.securitycenter.v1.AgentAnomaly
Namespace
Google \ Cloud \ SecurityCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ confidence_score |
float
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. |
↳ detector_references |
array<DetectorReference>
The list of references to specific detectors that identified anomalies within this session. |
↳ invocation_references |
array<InvocationReference>
References to the OpenTelemetry invocations. |
getConfidenceScore
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.
| Returns | |
|---|---|
| Type | Description |
float |
|
setConfidenceScore
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.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDetectorReferences
The list of references to specific detectors that identified anomalies within this session.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<DetectorReference> |
|
setDetectorReferences
The list of references to specific detectors that identified anomalies within this session.
| Parameter | |
|---|---|
| Name | Description |
var |
array<DetectorReference>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInvocationReferences
References to the OpenTelemetry invocations.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<InvocationReference> |
|
setInvocationReferences
References to the OpenTelemetry invocations.
| Parameter | |
|---|---|
| Name | Description |
var |
array<InvocationReference>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|