public function __construct(ConnectionInterface $connection, $name, $bucket, $generation = null, array $info = null, $encryptionKey = null, $encryptionKeySHA256 = null)
{
$this->connection = $connection;
$this->info = $info;
$this->encryptionData = ['encryptionKey' => $encryptionKey, 'encryptionKeySHA256' => $encryptionKeySHA256];
$this->identity = ['bucket' => $bucket, 'object' => $name, 'generation' => $generation];
$this->acl = new Acl($this->connection, 'objectAccessControls', $this->identity);
}