We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c24d90 commit 37cdb9dCopy full SHA for 37cdb9d
1 file changed
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("[email protected]");
95
Entity entity = Entity.newBuilder(key)
96
.set("name", "John Doe")
0 commit comments