Class Location (2.0.1)

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

Specifies the location of the finding.

Attributes

NameDescription
byte_range `.dlp.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 `.dlp.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[`.dlp.ContentLocation`]
List of nested objects pointing to the precise location of the finding within the file or record.
container `.dlp.Container`
Information about the container where this finding occurred, if available.

Inheritance

builtins.object > proto.message.Message > Location