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.


Generates a string representing a key's path.

The output makes no effort to qualify special characters in strings.

The key need not be valid, but if any of the key path elements have both a name and an ID the name is ignored.

v4_key An entity_v4_pb2.Key.

A string representing the key's path.