Data Loss Prevention V2 Client - Class EntityId (1.8.6)

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

An entity in a dataset is a field or set of fields that correspond to a single person. For example, in medical records the EntityId might be a patient identifier, or for financial records it might be an account identifier. This message is used when generalizations or analysis must take into account that multiple rows correspond to the same entity.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ field Google\Cloud\Dlp\V2\FieldId

Composite key indicating which field contains the entity identifier.

getField

Composite key indicating which field contains the entity identifier.

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

hasField

clearField

setField

Composite key indicating which field contains the entity identifier.

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