Class Location (3.3.1)

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

Specifies the location of the finding.

Attributes

NameDescription
byte_range google.cloud.dlp_v2.types.Range
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. Omitted if content is an image.
codepoint_range google.cloud.dlp_v2.types.Range
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.
content_locations Sequence[google.cloud.dlp_v2.types.ContentLocation]
List of nested objects pointing to the precise location of the finding within the file or record.
container google.cloud.dlp_v2.types.Container
Information about the container where this finding occurred, if available.