I am not a plumber. I would not glue an all PVC toilet flange. Might as well pay the extra for one with a stainless steel ring.
There are alternatives to glue-in flanges, that are especially good for those without much practice at getting gluing correct the first time. Ideally the flange will sit on top of the finished floor, but avoid having to drill porcelain-- that is hard.
Sioux Chief 887-GPM Push Tite has a stainless steel ring, and is a well-regarded brand.
Genova Products 75158S Universal Closet Flange with Stainless Steel Ring, 4" similar to PushTite but bigger gasket-- not so important with a nice surface like you have.
Oatey 436512 is all PVC, but is inside compression. So if the pvc ring failed (unlikely), the unit could be replaced more easily.
The Oatey 436532 is made of cast iron, and is described as being made to go into cast iron. I don't know why it would not go into 4 inch PVC, unless it needs the roughness of cast iron to grip.