Data Loss Prevention V2 Client - Class RecordLocation (1.18.0)

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 Google\Cloud\Dlp\V2\RecordKey

Key of the finding.

↳ field_id Google\Cloud\Dlp\V2\FieldId

Field id of the field containing the finding.

↳ table_location Google\Cloud\Dlp\V2\TableLocation

Location within a ContentItem.Table.

getRecordKey

Key of the finding.

Returns
Type Description
Google\Cloud\Dlp\V2\RecordKey|null

hasRecordKey

clearRecordKey

setRecordKey

Key of the finding.

Parameter
Name Description
var Google\Cloud\Dlp\V2\RecordKey
Returns
Type Description
$this

getFieldId

Field id of the field containing the finding.

Returns
Type Description
Google\Cloud\Dlp\V2\FieldId|null

hasFieldId

clearFieldId

setFieldId

Field id of the field containing the finding.

Parameter
Name Description
var Google\Cloud\Dlp\V2\FieldId
Returns
Type Description
$this

getTableLocation

Location within a ContentItem.Table.

Returns
Type Description
Google\Cloud\Dlp\V2\TableLocation|null

hasTableLocation

clearTableLocation

setTableLocation

Location within a ContentItem.Table.

Parameter
Name Description
var Google\Cloud\Dlp\V2\TableLocation
Returns
Type Description
$this