The assault occurred shortly before noon on Sunday at the Tropicana Lodge, where the victim works as a housekeeper, police said.
The victim was cleaning a room when the suspect came in and asked her to come next door to his room to look at something. She complied after the suspect insisted that he needed her to come with him, police said.
Once they were at the doorway of his room, the suspect shoved the victim inside and shut the door behind them, police said. He blocked the door to prevent her from leaving, and started to hug and kiss the victim against her will, according to police.
Police said the suspect exposed his penis to the victim and repeatedly asked her to have sex with him.
As he was fiddling with either a belt or button around his waist, the victim shoved him and ran out of the room. She hid in a neighboring empty room where she called 911 and reported the assault to the front clerk, police said.
The suspect checked out of the room soon after the assault and left before officers arrived.
He was described as a white man in his 20s, of medium height and build. He has blonde hair and was wearing blue jeans.
The victim, who lives in Mountain View, was not injured, according to police.
Detectives are investigating the crime and ask anyone with information to call the Police Department at (650) 903-6344. Callers may remain anonymous.