public static class Spanner
Reference documentation and code samples for the Google Cloud Spanner v1 API class Spanner.
Cloud Spanner API
The Cloud Spanner API can be used to manage sessions and execute transactions on data stored in Cloud Spanner databases.
Inheritance
System.Object > SpannerNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Methods
BindService(Spanner.SpannerBase)
public static ServerServiceDefinition BindService(Spanner.SpannerBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | Spanner.SpannerBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, Spanner.SpannerBase)
public static void BindService(ServiceBinderBase serviceBinder, Spanner.SpannerBase 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 | Spanner.SpannerBase An object implementing the server-side handling logic. |