Goldens may occasionally bite when greatly provoked, but by instinct as bird retrievers they do not bite hard or repeatedly like other breeds.
Notice in the story no one saw what happened and that it was a single bite. I imagine a golden might bite if stuck in the eye or punched or their tail was stomped on, but thats about it I have had several and they would tolerate much abuse from small kids but would defend themselves (mostly by moving away or a quick movement to show their displeasure) when played with to the point of being hurt. Children need to be taught how to act around animals (and humans) and until they understand they should be supervised at all times. Children bite other children (and adults) and pull hair too until they learn better.
The golden didn’t bite the cop. The dog just barked at the cop.