Post-Registration Hook should call my Google Cloud Function endpoint via Google Client Library

I want to include the Node.js Library for Google Cloud Functions (Cloud Functions Client Libraries  |  Cloud Functions Documentation) and use it in the hook.

I have to do so because there is no “manual” way of authenticating my hook logic as a google service-account.

Is this even possible? Or can I only use libraries that are provided by the hook out of the box?