Google Cloud Function Service Account

Hi Everyone,

I am trying to specify a service account to a Cloud Function such that it can connect to the Cloud Spanner. I have looked through the docs and cannot find a field under the function part to specify the service account to be attached to the function.

Can anyone help???