FliG is one of three proteins (FliG, FliN, FliM) that forms the rotor-mounted switch complex (C ring), located at the base of the basal body. This complex interacts with the CheY and CheZ chemotaxis proteins, in addition to contacting components of the motor that determine the direction of flagellar rotation. Forms dimers and other homooligomers. Interacts with MotA via residues in its C-terminus. Interacts with flagellar brake protein YcgR. Belongs to the FliG family.