public static class Datastore
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.
Namespace
Google.Cloud.Datastore.V1Assembly
Google.Cloud.Datastore.V1.dll
Methods
BindService(DatastoreBase)
public static ServerServiceDefinition BindService(Datastore.DatastoreBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl |
DatastoreDatastoreBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, DatastoreBase)
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.
Parameters | |
---|---|
Name | Description |
serviceBinder |
ServiceBinderBase Service methods will be bound by calling |
serviceImpl |
DatastoreDatastoreBase An object implementing the server-side handling logic. |