1.0.0 (latest) 1.0.0-beta07

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

Reference documentation and code samples for the Model Armor v1 API class PiAndJailbreakFilterResult.

Prompt injection and Jailbreak Filter Result.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PiAndJailbreakFilterResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.PiAndJailbreakFilterResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PiAndJailbreakFilterResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.PiAndJailbreakFilterResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PiAndJailbreakFilterResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.PiAndJailbreakFilterResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.ModelArmor.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1)

## Assembly

Google.Cloud.ModelArmor.V1.dll

## Constructors

### PiAndJailbreakFilterResult()

    public PiAndJailbreakFilterResult()

### PiAndJailbreakFilterResult(PiAndJailbreakFilterResult)

    public PiAndJailbreakFilterResult(PiAndJailbreakFilterResult other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.PiAndJailbreakFilterResult` |

## Properties

### ConfidenceLevel

    public DetectionConfidenceLevel ConfidenceLevel { get; set; }

Confidence level identified for Prompt injection and Jailbreak.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.DetectionConfidenceLevel` |   |

### ExecutionState

    public FilterExecutionState ExecutionState { get; set; }

Output only. Reports whether Prompt injection and Jailbreak filter was successfully executed or not.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.FilterExecutionState` |   |

### MatchState

    public FilterMatchState MatchState { get; set; }

Output only. Match state for Prompt injection and Jailbreak.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.FilterMatchState` |   |

### MessageItems

    public RepeatedField<MessageItem> MessageItems { get; }

Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.MessageItem` |   |