The Catalan government is the government of the autonomous region of Catalonia. So, I'd say "neither". They are a public institution, but their authority comes from the people, not from the central state.
Sadly, Spain and many Spaniards can't see that. They keep claiming Spain "owns" Catalonia and also claim Catalan Devolution only exists because they "allow it"