Data Loss Prevention V2 Client - Class DatastoreKey (1.8.6)

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

Record key for a finding in Cloud Datastore.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entity_key Google\Cloud\Dlp\V2\Key

Datastore entity key.

getEntityKey

Datastore entity key.

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

hasEntityKey

clearEntityKey

setEntityKey

Datastore entity key.

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