Google Cloud Datastore key conversion

This old page does not faithfully reflect the string encoding of Cloud Datastore keys by client libraries anymore.

The string encoding should not be used to share keys between different client libraries.

old keys need a fully qualified app id, e.g. s~datastore-key

new keys don't contain an App Id

0 is equivalent to empty Int Id

This old format works well with GAE-specific client libs:


This format works well with client libs: