Where is the approved location of a gas shut off valve on a gas appliance?

Where is the approved location of a gas shut off valve on a gas appliance?