Data Loss Prevention V2 Client - Class RecordLocation (1.9.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
NameDescription
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
TypeDescription
Google\Cloud\Dlp\V2\RecordKey|null

hasRecordKey

clearRecordKey

setRecordKey

Key of the finding.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\RecordKey
Returns
TypeDescription
$this

getFieldId

Field id of the field containing the finding.

Returns
TypeDescription
Google\Cloud\Dlp\V2\FieldId|null

hasFieldId

clearFieldId

setFieldId

Field id of the field containing the finding.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\FieldId
Returns
TypeDescription
$this

getTableLocation

Location within a ContentItem.Table.

Returns
TypeDescription
Google\Cloud\Dlp\V2\TableLocation|null

hasTableLocation

clearTableLocation

setTableLocation

Location within a ContentItem.Table.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\TableLocation
Returns
TypeDescription
$this