1.6.0 (latest) 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class DetectorReference : IMessage<DetectorReference>, IEquatable<DetectorReference>, IDeepCloneable<DetectorReference>, IBufferMessage, IMessage

Reference documentation and code samples for the Security Command Center v2 API class DetectorReference.

Represents a reference to a specific anomaly detector.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DetectorReference

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DetectorReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.DetectorReference.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DetectorReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.DetectorReference.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DetectorReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.DetectorReference.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.SecurityCenter.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.md.txt)

## Assembly

Google.Cloud.SecurityCenter.V2.dll

## Constructors

### DetectorReference()

    public DetectorReference()

### DetectorReference(DetectorReference)

    public DetectorReference(DetectorReference other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DetectorReference` |

## Properties

### DetectorId

    public string DetectorId { get; set; }

The unique identifier of the detector.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DisplayName

    public string DisplayName { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Explanation

    public string Explanation { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Recommendation

    public string Recommendation { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Severity

    public DetectorReference.Types.Severity Severity { get; set; }

The severity of the detector.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DetectorReferenceTypesSeverity` |   |