Google Cloud Datastore v1 API - Class Datastore (4.7.0-beta01)

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.

Inheritance

object > Datastore

Namespace

Google.Cloud.Datastore.V1

Assembly

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
NameDescription
serviceImplDatastoreDatastoreBase

An object implementing the server-side handling logic.

Returns
TypeDescription
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
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplDatastoreDatastoreBase

An object implementing the server-side handling logic.