Data Loss Prevention V2 Client - Class RecordLocation (2.2.2)

Reference documentation and code samples for the Data Loss Prevention V2 Client class RecordLocation.

Location of a finding within a row or record.

Generated from protobuf message google.privacy.dlp.v2.RecordLocation

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ record_key RecordKey

Key of the finding.

↳ field_id FieldId

Field id of the field containing the finding.

↳ table_location TableLocation

Location within a ContentItem.Table.

getRecordKey

Key of the finding.

Returns
Type Description
RecordKey|null

hasRecordKey

clearRecordKey

setRecordKey

Key of the finding.

Parameter
Name Description
var RecordKey
Returns
Type Description
$this

getFieldId

Field id of the field containing the finding.

Returns
Type Description
FieldId|null

hasFieldId

clearFieldId

setFieldId

Field id of the field containing the finding.

Parameter
Name Description
var FieldId
Returns
Type Description
$this

getTableLocation

Location within a ContentItem.Table.

Returns
Type Description
TableLocation|null

hasTableLocation

clearTableLocation

setTableLocation

Location within a ContentItem.Table.

Parameter
Name Description
var TableLocation
Returns
Type Description
$this