If you need to give someone a Google streaming device you've already set up (whether as a gift, to return the device to a retailer, etc.), make sure to factory reset your device before you do so. A factory reset clears your data from the streaming device.
Go to Factory reset your Chromecast and Google TV Streamer (4K) and Factory reset your Chromecast or Google TV Streamer Voice Remote for detailed instructions.