Police investigated reports of a man breaking glass and throwing items from the apartment window.
The call was reported around 4:30 a.m.
Police asked the public to avoid the area of Warring Drive and Calmor Avenue in San Jose.
The video in the media player above is from a previous update
When officers arrived on scene, the man continued to throw items out of the window and discharged at least one round from a firearm in the direction of officers.
The suspect jumped out of a bedroom window at approximately 9:43 a.m. and was subsequently taken into custody, SJPD said.
Police said Sunday morning they are investigating the incident and are asking the public to continue avoiding the area.
Bay City News contributed to this report
If you're on the ABC7 News app, click here to watch live