Barcelona have confirmed that Neymar will represent Brazil at the Olympic Games but not the Copa America this summer.