I\'m using a service account for G Suite with full domain delegation. I have a script with readonly access to Google Calendar. The script works just fine, but throws an error (o
Here is how I use google-api-python-client to build a service on Cloud Functions.
google-api-python-client
# for Cloud Functions use def get_service(): import googleapiclient.discovery return googleapiclient.discovery.build('compute', 'v1', cache_discovery=False)
And finally it worked.