An anonymous Google product manager is alleging in a lawsuit that the internet giant unlawfully censors current and former employees by imposing sweeping confidentiality policies that deter whistleblowing.

The lawsuit was filed this week by a California labor law firm in San Francisco county court on behalf of a Google employee referred to as John Doe.

John...