A Federation starship of the 2360s to which Lieutenant Thomas Riker, the transporter duplicate of William Riker, was assigned after his rescue from Nervala IV.
The USS Gandhi was a Federation starship named after the Indian independence leader. It is mentioned in The Next Generation and Deep Space Nine and never shown.
At the end of Second Chances, the duplicate Riker created by a transporter accident eight years earlier takes the name Thomas and accepts a posting to the Gandhi, which is about to begin a terraforming mission. He asks Deanna Troi to join him when she can, since families may come aboard after six months.
By the time of the Deep Space Nine episode Defiant, Thomas Riker has left the ship and joined the Maquis, using his double's identity to steal the USS Defiant.