Can I drive a rented golf cart on the street in Oakland?

Only where state and local law allow it. In most places a standard golf cart is limited to private property and specially designated streets, while a street-legal low-speed vehicle can use roads with lower speed limits.
A low-speed vehicle has headlights, turn signals, mirrors, seat belts and a registration, and tops out around 25 mph. Ask the supplier which type you are renting, then check California law and Oakland rules for where it can go. For events and private sites in Oakland, a standard cart is usually all you need. Tell the supplier how many seats you need and whether you want gas or electric. Street use of golf carts in California is limited by the Vehicle Code and local ordinances, so confirm your route before you book.
Full guide: Golf Cart Rental