The defender has been linked with a move away this summer.
"Manchester City is my club and I've never considered playing anywhere else," he told City's website. "I think there has been speculation because I've got two years left on my contract and Pablo Zabaleta had a fantastic season.
"He's outstanding but that's you expect at top teams and you expect competition. The season before we won the Premier League and I had a good year but now I'm just happy to be back fit."