The node you are looking for is at g-union-info-get-discriminator-type.