Cop nearly shot in Coral Gables