It is the object of 'hate'.
Previous Question
"His goal, earning a degree, is near." 'Earning a degree' is:
Next Question
Which sentence has a gerund phrase as an object of a preposition?