While Bernardo has not been a regular throughout the season, he has played a more prominent role in the second half of the season.
And his manager is very happy with the player's displays.
"When we sign a player, we never know for certain if it will work but I think we made it right," Guardiola said to the club's official website.
"As long as I am a coach at Manchester City, he isn't going anywhere. Maybe he didn't play as much as we wanted to this season but he is been an amazing part of the team and the success of the team.
"He has an amazing quality. He connects perfectly with the way we want to play in this team.
"As a person what can I say, I always like working with good people and he is one them. He has an amazing relationship with his teammates, the coaching staff, everyone. It's difficult to find anyone better than Bernardo in that regard.
"I am really happy for his season and hopefully next season he will be even better. We wish him the best with Portugal in the World Cup."