Data Loss Prevention V2 Client - Class DocumentLocation (1.8.6)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int|string

setFileOffset

Offset of the line, from the beginning of the file, where the finding is located.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this