So when a negatively charged rod is bought near the cap of the gold leaf it will reduce the overall electrical potential of the cap,i.e, make it < 0.But since the cap is earthed it’s potential should be zero.
Positive charge will flow from the gold leaf to the cap,so as to compensate for the drop in potential of the cap, or , we could say, negative charge would flow from the cap to the leaf ,trying to make the potential of cap to zero.
In both sense the leaf has an induced negative charge