Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now generally available.

google.appengine.api.full_app_id.project_id

Parses the domain prefixed project ID from the app_id.

app_id The full partitioned app ID. Looks up from environ if None.
environ Environment dictionary. Uses os.environ if None.

A tuple (partition, domain_name, display_app_id). The partition and domain name might be empty.