Generally I've seen they use the "stoplight" model, in that some behaviors are "green", near universally accepted as non-harassing, some are "red", near universally rejected as harassing, and some are "yellow" meaning individuals vary. "Red" behaviors should get you fired immediately, while "yellow" often puts some burden on the offended party to speak up about it, and it only becomes harassment if it continues.
Google's training when I took it a decade ago focused almost exclusively on the yellow/gray area and was pretty interesting because of it. Other trainings I've suffered through focused on the red zone which felt obvious, awkward, and dull.