No-one injured, three men fled the scene.
Gardai say investigations are ongoing after a number shots were fired at a Garda patrol car in Dublin, in the early hours of the morning.
A marked Garda car with unarmed officers was patrolling the Rossfield Avenue area of Tallaght at half past two this morning.
While on patrol Gardai came across three males, one in possession of a handgun and one in possession of a baseball bat.
The man armed with the handgun fired a number of shots towards the patrol car with one of the shots hitting the Garda car.
No Gardaí were injured during this incident and all three men fled the scene.
A technical examination of the area will now take place.

IFA Protest Targets Minister Heydon's Newbridge Office Over Bord Bia Chair Controversy
Damning Audit Reveals €1.6m Moone-Timolin Cycleway As Safety Time Bomb
Five Kildare Special Schools Included In New Scheme Bringing Therapists Directly Into Schools
Give Gardai Scramblers To Enforce Law On Illegal Bikes, Says Kildare Garda Member
Labour Urges EuroGiant To Give Workers Clarity As Job Fears Grow
Panda Raises Bin Costs In Parts Of The Capital, Leaving Door Open To Wider Hikes Across Leinster
Major Drainage Project Serving Kildare Moves To Early Procurement
Flood Risk Rises In Kildare As Multiple Areas And Routes Close