Datastore constructor
Datastore(
- Client client,
- String project
Access Datastore using an authenticated client.
The client is an authenticated HTTP client. This client must
provide access to at least the scopes in Datastore.Scopes.
The project is the name of the Google Cloud project.
Returns an object providing access to Datastore. The passed-in client
will not be closed automatically. The caller is responsible for closing
it.
Implementation
factory Datastore(http.Client client, String project) {
return DatastoreImpl(client, project);
}