We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7729401 + 37cdb9d commit 5dfb904Copy full SHA for 5dfb904
google-cloud-datastore/README.md
@@ -90,7 +90,7 @@ import com.google.cloud.datastore.KeyFactory;
90
Then add the following code to put an entity in Datastore.
91
92
```java
93
-KeyFactory keyFactory = datastore.newKeyFactory().kind("Person");
+KeyFactory keyFactory = datastore.newKeyFactory().setKind("Person");
94
Key key = keyFactory.newKey("john.doe@gmail.com");
95
Entity entity = Entity.newBuilder(key)
96
.set("name", "John Doe")
0 commit comments