RIO DE JANEIRO (AP) — Brazilian President Dilma Rousseff said Friday that she will decide on whether to cancel a trip to the U.S. over alleged spying on her based upon President Barack Obama's full response.

Rousseff and Obama met in Russia at a Group of 20 meeting. The Brazilian leader said on the Brazilian presidency's official Twitter account that "my trip to Washington depends upon the political conditions to be created" by Obama.

She added that Obama promised to explain the spying to her by Wednesday, and that she would soon propose before the United Nations new international regulations for privacy protection, though gave no details on what those might be.

Rousseff is scheduled to visit Washington in late October and was extended the honor having a state dinner, the only such dinner for a foreign leader scheduled this year.

But a report that the National Security Agency's massive spy program directly targeted Rousseff's communications with top aides has brought the trip into doubt and hiked tensions between the two biggest nations in the Americas.

That report was aired on Globo TV last weekend and was based on NSA documents leaked by Edward Snowden to U.S. journalist Glenn Greenwald, who lives in Rio de Janeiro and worked with the network on the story.

The report said the U.S. agency mapped out the aides with whom Rousseff communicated and tracked patterns of how those aides communicated with one another and with third parties, according to a June 2012 NSA document. Greenwald said the document, while not containing excerpts of Rousseff communications, made it clear that U.S. officials were reading her emails and text messages.

The White House confirmed that Obama individually discussed the NSA's surveillance programs with Rousseff and also with Mexican President Enrique Pena Nieto, who according to the Globo report was also a direct target of the NSA program.

___

Associated Press writer Josh Lederman in St. Petersburg, Russia, contributed to this report.

___

Follow Bradley Brooks on Twitter: www.twitter.com/bradleybrooks