Grate the zucchini using a large grater. Also grate the cheese and onion. Add eggs, pressed garlic, pepper, salt, diced bacon, ham, and mix well. Finally, stir in the flour with baking powder. Pour the batter onto an oiled and floured baking sheet and bake in the oven at 180°C for about 30 minutes.