Data Loss Prevention V2 Client - Class RecordKey (1.12.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ datastore_key Google\Cloud\Dlp\V2\DatastoreKey
↳ big_query_key Google\Cloud\Dlp\V2\BigQueryKey
↳ 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

Generated from protobuf field .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;

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

hasDatastoreKey

setDatastoreKey

Generated from protobuf field .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;

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

getBigQueryKey

Generated from protobuf field .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;

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

hasBigQueryKey

setBigQueryKey

Generated from protobuf field .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;

Parameter
NameDescription
var Google\Cloud\Dlp\V2\BigQueryKey
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this

getType

Returns
TypeDescription
string