When a listed, flexible metal connector is used on a gas burning appliance, where must the shut-off valve be installed?

When a listed, flexible metal connector is used on a gas burning appliance, where must the shut-off valve be installed?