I am wondering what are you gonna do
In the above sentense, what is the function of subordinate clause what are you gonna do? I am leaning toward object, but maybe it is verb complement? Is there a difference?
edit: My original question was not very clear, so I would like to explain it further: what I am trying to figure out here is whether object can be seen as a type of verb complement. cambridge dictionary online lists complement as separate from object, but this sourceseems to think objects (both direct and indirect) are verb complement.