I\'ve been trying to invoke a GCP function (--runtime nodejs8 --trigger-http) from GCP scheduler, both located within the same project. I can only make it work,
--runtime nodejs8 --trigger-http
As per the recent update on GCP, new function needs manual update for authentication.
We need to add Cloud Function Invoker permission to user allusers.
Please refer https://cloud.google.com/functions/docs/securing/managing-access-iam#allowing_unauthenticated_function_invocation