Did Yuri Gagarin become the first human to travel into outerspace in Vostka?

Yes, he was the first human in space. Only, his spacecraft was called Vostok, not Vostka.