Data Loss Prevention V2 Client - Class RecordKey (2.1.0)

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

Message for a unique key indicating a record that contains a finding.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ datastore_key Google\Cloud\Dlp\V2\DatastoreKey

BigQuery key

↳ big_query_key Google\Cloud\Dlp\V2\BigQueryKey

Datastore key

↳ id_values array

Values of identifying columns in the given row. Order of values matches the order of identifying_fields specified in the scanning request.

getDatastoreKey

BigQuery key

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

hasDatastoreKey

setDatastoreKey

BigQuery key

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

getBigQueryKey

Datastore key

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

hasBigQueryKey

setBigQueryKey

Datastore key

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

getIdValues

Values of identifying columns in the given row. Order of values matches the order of identifying_fields specified in the scanning request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setIdValues

Values of identifying columns in the given row. Order of values matches the order of identifying_fields specified in the scanning request.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getType

Returns
Type Description
string