Data Loss Prevention V2 Client - Class DatastoreKey (2.2.1)

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 Key

Datastore entity key.

getEntityKey

Datastore entity key.

Returns
Type Description
Key|null

hasEntityKey

clearEntityKey

setEntityKey

Datastore entity key.

Parameter
Name Description
var Key
Returns
Type Description
$this