Officers were called around 6 a.m. Thursday to reports of an armed robbery at the Oaks Motel at 8065 Monterey St., police said.
The victim told police that a man had approached him and demanded money, which the victim denied. The suspect then threatened the victim with a black handgun, and the victim turned over an undisclosed amount of cash. The suspect then fled the scene on foot.
The suspect, identified as 25-year-old Larry Giles, is a transient in the Gilroy area, according to police. He was arrested at the motel.
Giles' mother, 44-year-old Virginia Giles, allegedly protected her son after he committed the robbery, delaying the police investigation.
The mother and son were on active parole, and were booked into jail on parole holds as well as charges of robbery and resisting arrest, police said.