Model Armor v1 API - Class SdpRedactResult (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 > SdpRedactResult

Namespace

Google.Cloud.ModelArmor.V1

Assembly

Google.Cloud.ModelArmor.V1.dll

Constructors

SdpRedactResult()

public SdpRedactResult()

SdpRedactResult(SdpRedactResult)

public SdpRedactResult(SdpRedactResult other)
Parameter
Name Description
other 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
FilterExecutionState

ExtractedImageText

public string ExtractedImageText { get; set; }

The extracted text from the image.

Property Value
Type Description
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
RepeatedFieldSdpFinding

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
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
RepeatedFieldMessageItem

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
ByteString