abujehad139 / google-api-go-client

Automatically exported from code.google.com/p/google-api-go-client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Update datastore API to v1beta2 #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The new version of the cloud datastore API is what's currently documented at 
https://developers.google.com/datastore/docs/apis/v1beta2/, and returns 
significantly different response formats from v1beta1 (specifically on the 
entity properties).

Additionally, the current version of the API doesn't handle said properties 
correctly (they are always blank). I've attached an updated version of the 
generated code that correctly handles the responses from v1beta1. See the 
Entity, EntityProperty, and Value structs for changed areas.

Thanks,
Alex

Original issue reported on code.google.com by a...@mrvdot.com on 28 Sep 2013 at 3:48

Attachments:

GoogleCodeExporter commented 9 years ago
As a note, I've only tested these changes with RunQuery, though I believe it 
should also work for Lookup (will test that tomorrow and update)

Original comment by a...@mrvdot.com on 28 Sep 2013 at 4:02