I want to access Youtube Content Owner API with Google Cloud Functions. For that the service account used by GCF has to have access to that API.
When I create a Google Cloud Function, it's automatically assigned a service account. In this case the "App Engine default service account". I have a few questions about this.
- Does Google Cloud Function always use "App Engine default service account" as the service account?
- While editing the cloud function, I cannot see any way to change a service account of a Google Cloud Function. Once it is set up for a Cloud Function, the service account can not be changed, right?
- If the default service account is given access to Youtube Content Owner API then Google Cloud Functions will have it, too?