Looks like a one way valve from inside a pump.
I used to rebuild diesel vacuum pumps, and it looks just like that
Same size too. There would be 2 of them inside, one placed one way, and the other placed the opposite way
Hope that makes sense. should be a little spring inside, and the red piece made the seal depending on which way the air was going in the pump
Tim