if ( ... remote api connected to development server ...) {
options.useDevelopmentServerCredential();
} else {
options.useApplicationDefaultCredential();
}
https://cloud.google.com/sdk/gcloud/reference/beta/auth/application-default/login
In fact, current Cloud Datastore’s NoSQL implementation of relationships between data objects differs from traditional databases. And the observed feature differences in this thread can be related to what is described on the Google Cloud Datastore Overview documentation.
Nevertheless, in case you would want to migrate your data to another Google Cloud application, you can use the Cloud Storage backing up functionality to export a datastore backup into a Storage bucket (See this Backing up data section of the Managing Datastore guide). Note that using this method, also allows to export your data to other Google Cloud Platform services, such as Google BigQuery (See Backup and restore considerations).
Lastly, here is a guide about Accessing App Engine with Remote API, that may get you further insights on how to write a client to download the data according to your specifications. See step 6 of Using the Remote API in a local client section for an example on how to format and retrieve data from a Datastore instance.
Hope you’ll find this information insightful and feel free to look at different Cloud products as Cloud SQL that may more accurately suit your needs. In case you would like to see the previously available "appcfg.py” [download_data] available in this Cloud Datastore implementation, it is possible to open a Features request on this Issue Tracker and making sure to specify “Feature Requests” under Component.
Regards,
Glad to hear that you’ve made it work, as the Remote API may in fact require additional setup according to your environment. Nevertheless, I would recommend another alternative potentially easier to configure for accessing the Datastore in the future. The alternative consists in using the Python NDB Client Library as part of an App Engine instance written in Python to access the Cloud Datastore. More information on how to customize queries to retrieve Datastore’s content can be retrieved from this NDB Query Class reference.
Also, here is the referenced Issue Tracker link that was missing in my previous response. Feel free to open a Feature Request regarding the re-implementation of the "appcfg.py” [download_data] feature there.