Python 3.9 is now generally available.

google.appengine.api.app_identity.get_service_account_name

Gets the service account name of the app.

deadline Optional deadline in seconds for the operation; the default value is a system-specific deadline, typically 5 seconds.

The service account name of the app.