Guardiola, who managed Barcelona for four years between 2008 and 2012 , called on Spanish Prime Minister Mariano Rajoy to answer questions after violent scenes broke out during Catalonia's unofficial independence referendum.
More than 750 people were reported to have been injured as security forces used rubber bullets and baton charges as they clashed with protesters in Barcelona.
Barcelona had attempted to get their LaLiga fixture with Las Palmas postponed following violent clashes in the city between pro-independence voters and Spanish police.
The request was rejected by Liga de Futbol Profesional, forcing Barcelona to announce their match would be played behind closed doors.
Guardiola said he would have been against the decision, telling Catalunya Radio and RAC1: "I wouldn't have played the Barca-Las Palmas game, not at all.
"And if it did have to be played, then not behind closed doors. You do it with the public there. With all the consequences."
The 46-year-old Catalan, who represented Barcelona for over two decades as a player and coach, was also left shocked by the scenes of violence that were broadcast around the world as attempts to shut down the polls by Spain's Guardia Civil led to clashes.
The Madrid-based Spanish government had declared the referendum illegal. Voters were being asked whether they wish Catalonia to become an independent republic.