An entity with incomplete keys will be allocated an ID prior to insertion.
Insert by this method is non-transactional. If you need transaction
support, use {@see \Google\Cloud\Datastore\Transaction::insert()}.
Example:
$key = $datastore->key('Person', 'Bob');
$entity = $datastore->entity($key, ['firstName' => 'Bob']);
$datastore->insert($entity);