Timelines can’t keyframe 3D rotation directly at the moment, but they can keyframe instance variables.
Add three number instance variables (e.g. rx, ry, rz) to the 3D shape, animate those in the timeline, then add an event:
Every tick → 3DShape: Set Euler rotation (Self.rx, Self.ry, Self.rz)
0s → Value: 0
2s → Value: 180
4s → Value: 360