Writing fiction, there are no limits to what you write as long as it increases the value of the paper you are writing on.
Google is in an amazing position to be the target of tons of lawsuits that will set precedent for many important things for us on the Internet.
We can only write well about our sins because it is too difficult to recall a virtuous act or even whether it was the result of good or evil motives.