Data Loss Prevention V2 Client - Class RecordKey (2.2.2)

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 DatastoreKey

BigQuery key

↳ big_query_key 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
DatastoreKey|null

hasDatastoreKey

setDatastoreKey

BigQuery key

Parameter
Name Description
var DatastoreKey
Returns
Type Description
$this

getBigQueryKey

Datastore key

Returns
Type Description
BigQueryKey|null

hasBigQueryKey

setBigQueryKey

Datastore key

Parameter
Name Description
var 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