At this density a heater failure is a shared-wall event within hours. Most units sit in interior closets, so water starts inside the building rather than in a garage.
Stop it
Close the cold-side valve; if it will not move, the building main. Then turn the gas control off, or drop the breaker. Until the supply is closed, every other step is wasted.
Warn the neighbour
Say so early. Water crosses block and framing, and the unit next door may need to lift a carpet before it reaches them.
Contain and access
Towels at the closet threshold, stored items lifted clear. Water near an outlet or a panel is an electrical emergency as well. Then the practical question: where a van can stand, because shared drives and guest spaces are not always open to one.
The line at any hour
The phone is answered around the clock, and the first job is making the unit safe. That is what the phone offers; an arrival time at that hour is a separate question, so ask it.
What cannot wait
Active discharge, water near wiring, a valve still lifting once the inlet is shut. A drip that stopped can be booked.