Gen4 Glock is not on CA DoJ handgun list, so you wouldn't be able to shoot the same firearm. However, in the South Bay, there are 2 ranges I like.
Indoor - Reed's Indoor Range near San Jose Airport (25yd) Everyone is quite knowledgeable, though it can be quite slow at times in getting through the register if crowded. They will rent firearms, but you will need to purchase their ammo for rental weapons. You will also need to come with a friend (suicide concerns). There's also Target Masters in Milpitas, but they're quite lax on safety...I've been muzzle swept multiple times and have heard the same from others.
Outdoor - Santa Clara County Shooting Range near Morgan Hill along 101. You need your own firearm, but this is a great range. 25 and 50yd lanes for handguns, 50 / 100 / 200 yd lanes for rifles. 200yd are not always available. $15 for use as long as you want, cash only. Will let you fire anything that is legal in CA unlike many ranges that only allow for rimfire ammo for rifles. Nice clean range with awesome staff, also provides use of spotting scopes.
I don't venture north of the South Bay, so dunno what the Peninsula, SF, or East Bay are like.