1.0.0 (latest) 1.0.0-beta07

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

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

Sensitive Data Protection Redaction Result.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SdpRedactResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SdpRedactResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SdpRedactResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SdpRedactResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SdpRedactResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SdpRedactResult), [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

### SdpRedactResult()

    public SdpRedactResult()

### SdpRedactResult(SdpRedactResult)

    public SdpRedactResult(SdpRedactResult other)

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

## Properties

### ExecutionState

    public FilterExecutionState ExecutionState { get; set; }

Output only. Reports whether Sensitive Data Protection redaction 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` |   |

### ExtractedImageText

    public string ExtractedImageText { get; set; }

The extracted text from the image.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Findings

    public RepeatedField<SdpFinding> Findings { get; }

Output only. The findings. This field is populated in the response only when include_findings in the SDP template is set to true.

| **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.SdpFinding` |   |

### MatchState

    public FilterMatchState MatchState { get; set; }

Output only. Match state for Sensitive Data Protection Redaction. Value is MATCH_FOUND if content is redacted.

| **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; }

Output only. 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` |   |

### RedactedImage

    public ByteString RedactedImage { get; set; }

Output only. The redacted image. The type will be the same as the original image.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |