Reference documentation and code samples for the Google Cloud Datastore v1 API class Datastore.
Each RPC normalizes the partition IDs of the keys in its input entities,
and always returns entities with keys with normalized partition IDs.
This applies to all keys and entities, including those in values, except keys
with both an empty path and an empty or unset partition ID. Normalization of
input keys sets the project ID (if not already set) to the project ID from
the request.
public static void BindService(ServiceBinderBase serviceBinder, Datastore.DatastoreBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the Google Cloud Datastore v1 API, specifically focusing on the \u003ccode\u003eDatastore\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Datastore.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version documented is 4.15.0, while this page covers version 4.7.0 of the Google Cloud Datastore v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatastore\u003c/code\u003e class normalizes partition IDs of keys in input entities for each Remote Procedure Call (RPC), ensuring consistent handling of keys across the API.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers two methods, \u003ccode\u003eBindService(DatastoreBase)\u003c/code\u003e and \u003ccode\u003eBindService(ServiceBinderBase, DatastoreBase)\u003c/code\u003e, for registering service definitions and methods, which can be customized when binding logic.\u003c/p\u003e\n"],["\u003cp\u003eThe versions on display range from 3.2.0 to 4.15.0, in addition to an object class and its inherited methods.\u003c/p\u003e\n"]]],[],null,[]]