Detection and characterization of giant planets with Gaia astrometry