Dlp/src/V2/DatastoreKey.php
public function setEntityKey($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\Key::class);
        $this->entity_key = $var;

        return $this;
    }
public function setEntityKey($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\Key::class);
        $this->entity_key = $var;

        return $this;
    }
public function setEntityKey ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dlp \ V2 \ Key :: class ) ; $ this -> entity_key = $ var ; return $ this ; }
Datastore entity key.

Generated from protobuf field <code>.google.privacy.dlp.v2.Key entity_key = 1;</code>
@param \Google\Cloud\Dlp\V2\Key $var
@return $this
Datastore entity key .