Class SdpFindingLocation (0.7.2)

SdpFindingLocation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Location of this Sensitive Data Protection Finding within input content.

Attributes

Name Description
byte_range google.cloud.modelarmor_v1.types.RangeInfo
Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Note: Omitted if content is an image.
codepoint_range google.cloud.modelarmor_v1.types.RangeInfo
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.
content_locations MutableSequence[google.cloud.modelarmor_v1.types.SdpContentLocation]
List of nested objects pointing to the precise location of the finding within an image, file or record. For example, a single finding might be detected in two separate bounding boxes within an image (e.g., if it wraps across a line or is partially obscured). In such cases, content_locations would contain two SdpContentLocation entries, each with an image_finding_location pointing to a different bounding box.