Web giant Google has accused Chinese hackers of attempting to steal the passwords of hundreds of Gmail account holders.