"A male was shooting a weapon in the air and at the ground, standing by a vehicle," Newport Beach police spokeswoman Kathy Lowe said.
Police said they had taken the man, 42, into custody. They did not immediately release his name or say what charges he might face for the incident.
No one was wounded, but one person sustained minor injuries fleeing the area on foot, police said.
The incident in Newport Beach, which is 35 miles south of Los Angeles, also came four days after a shooter at an Oregon mall killed two people and himself.