I need to delete a BigQuery table partition using a Python 3 app running on the App Engine in the standard environment. It appears that the way to do this is through an HTTPS call, with an authentication token: https://cloud.google.com/bigquery/docs/reference/rest/v2/tables/delete
https://googleapis.dev/python/google-api-core/latest/auth.html explains how to create credentials for the App Engine:
from google.auth import app_engine
credentials = app_engine.Credentials()
But as reported and explained in GCP-The App Engine APIs are not available, with py 3 and How to get credentials in Google AppEngine Python37 , trying to access app_engine in the Python 3 standard environment results in the following error
The App Engine APIs are not available
since the python37 runtime doesn't include proprietary app engine APIs such as the App Identity API.
Is there any way in which I can obtain a token from the App Engine for use with the HTTPS call to BigQuery? Or can a BigQuery partition be deleted by another means?