Please see the following:
https://developers.google.com/calendar/api/v3/reference/events/insert
I'm not sure which language you're using, but you can get the link from the htmlLink object.
htmlLink