I think that is just the shock absorber, I've seen them as complete units with the spring (like a coilover unit).
Part needed replacing the most is the shock yes but is it worth compressing the spring to change and deal with. Plus it has bushings between on each end that should be replaced. Complete unit can easily be done at home. Posted via the PriusChat mobile app.