It began at 02:30 GMT on Sunday when a man barricaded himself in the property in Deerpark Manor.
Police said a number of shots had been fired from the premises but no-one was injured. A police negotiator was involved in discussions with the man.
A man in his 40s has been arrested.
An armed stand-off has ended at an apartment in Tallaght, south Dublin.