Data Loss Prevention V2 Client - Class DocumentLocation (2.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Data Loss Prevention V2 Client class DocumentLocation.
Location of a finding within a document.
Generated from protobuf message google.privacy.dlp.v2.DocumentLocation
Namespace
Google \ Cloud \ Dlp \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ file_offset
int|string
Offset of the line, from the beginning of the file, where the finding is located.
getFileOffset
Offset of the line, from the beginning of the file, where the finding
is located.
Returns
Type
Description
int|string
setFileOffset
Offset of the line, from the beginning of the file, where the finding
is located.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-30 UTC."],[],[]]