Doral and Miami-Dade police were sent to the Trump National after receiving multiple calls of an active shooter in the lobby of the resort's hotel around 1:30 a.m.
The man was allegedly "yelling and spewing some information about President Trump", Miami-Dade Police Director Juan Perez said during the news conference.
Police did not confirm reports that the suspect was injured during his interaction with officers.
One officer received an unspecified injury.
Sensex falls over 150 points on rising oil price, rupee
All sectoral sub-indices with the exception of Nifty Metal, which was down more than half a per cent, were in the green. The NSE 50-share Nifty also lost 58 points, or 0.54 per cent, to 10,682, after shuttling between 10,777 and 10,664.
Perez said the man tore down a flag from the rear of the complex and draped it over a lobby counter.
Police said the man was using a semi-automatic handgun, but they did not provide any further details.
Officers from both the Doral and Miami-Dade Police Departments responded to reports of shots fired at the Trump National Doral golf resort in the early hours of Friday morning.
Trump has also come in for criticism for the amount of time he has spent golfing or relaxing at his luxury resorts.
Iran nuclear deal: European Union looks to avoid impact of USA sanctions
The EU is to begin reviving legislation that will allow European companies to continue doing business with Iran, despite U.S. sanctions.
A Doral police officer suffered a broken wrist that was not related to gunfire, authorities said.
The condition of the male suspect, who was taken into a local hospital after being brought into custody, is unknown.
"We don't know what his intentions were in the long term but we know what he was doing at the time - he was trying to engage our police officers in some kind of ambush-type attack", Perez said. Although the exact words were unclear, Perez said it was an "anti-Trump sentiment" and the shooter "had an American flag that he did drape over the counter". "They risked their lives, knowing that they had to get in there, to save lives in that hotel, and that's exactly what they did and they were able to neutralize this threat". "We are very grateful to you", he said. "Special Agents from the Miami Field Office are on the scene and working closely with our law enforcement partners".
The Secret Service says it is on scene and helping in the investigation.
Simon Yates stretches Giro d'Italia advantage
Tom is a bit more of a steady climber, he is super hard to drop but these are the stages where I can gain some time. Yates stretched his advantage to 47 seconds over Dumoulin and 1:04 ahead of Thibaut Pinot, who is third overall.
Fifteen of the 17 golf courses Trump owns worldwide-excluding his clubs in Dubai-made $221.9 million in 2017, according to his financial disclosure form for previous year that the U.S. Office of Government Ethics released on Wednesday. Its signature course is the Blue Monster at Doral.