ExternalRedactionFinding class
One finding reported by an external content-inspection engine.
Unknown fields are ignored, so an engine's raw output can be passed as is.
Presidio, AWS Comprehend, Azure Language, and GCP DLP payload fields are
accepted as aliases. GCP's ordered likelihood buckets are normalized to
evenly spaced scores from 0.0 through 1.0; LIKELIHOOD_UNSPECIFIED
maps to 0.5, matching GCP's documented POSSIBLE default.
Constructors
- ExternalRedactionFinding({required String label, String? text, PlatformInt64? start, PlatformInt64? end, double? score})
-
const
Properties
- end → PlatformInt64?
-
End offset (exclusive) into
content.final - hashCode → int
-
The hash code for this object.
no setteroverride
- label → String
-
Engine category, surfaced as
PiiCategory::Custom(label).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → double?
-
Engine confidence in
[0.0, 1.0]; filtered by`RedactionConfig::min_score`when set.final - start → PlatformInt64?
-
Start offset (inclusive) into
content.final - text → String?
-
Literal value to redact. When absent, it is read from
contentatstart..endunder the requested`RedactionOffsetEncoding`.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override