Data Loss Prevention V2 Client - Class DocumentLocation (2.2.1)

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.

Parameter
Name Description
var int|string
Returns
Type Description
$this