Alternative for DatastoreHelper Java class in Google Cloud Datastore v1 API -


in datastore v1beta2 api version, datastorehelper public class, , rely on member functions getoptionsfromenv(), getcomputeenginecredential(), makefilter() , makevalue(). looks class private in v1 api. what's equivalent class provide access functions?

most of methods still public in google-cloud-datastore library:

https://github.com/googlecloudplatform/google-cloud-datastore/blob/master/java/datastore/src/main/java/com/google/datastore/v1/client/datastorehelper.java

getcomputeenginecredential() removed, can use application default credentials instead, supports getting credential compute engine.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -