Data Loss Prevention V2 Client - Class DatastoreKey (1.18.0)

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ entity_key Google\Cloud\Dlp\V2\Key

Datastore entity key.

getEntityKey

Datastore entity key.

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

hasEntityKey

clearEntityKey

setEntityKey

Datastore entity key.

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