The module is used for authentication of users and logging them into the Mendix app.
Parts of the code a probably reusable for your case but do need to be added to you own java actions.
Have a look here: https://developers.google.com/calendar/create-events#java
Make sure to use the correct scope for the authentication, in the module the email scope is used and you’ll need to use the calendar scope