The Cloud Spanner Database Admin API can be used to create, drop, and
list databases. It also enables updating the schema of pre-existing
databases. It can be also used to create, delete and list backups for a
database and to restore from an existing backup.
public static void BindService(ServiceBinderBase serviceBinder, DatabaseAdmin.DatabaseAdminBase 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
Grpc.Core.ServiceBinderBase
Service methods will be bound by calling AddMethod on this object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version of the Google Cloud Spanner Admin Database API is 5.0.0-beta05, with multiple previous versions available, including a range from 3.5.0 to 4.6.0."],["The Cloud Spanner Database Admin API is designed for managing databases, including creating, deleting, listing, updating schemas, and handling backups and restorations."],["The `DatabaseAdmin` class inherits from `Object` and is located within the `Google.Cloud.Spanner.Admin.Database.V1` namespace in the `Google.Cloud.Spanner.Admin.Database.V1.dll` assembly."],["The `BindService` methods are crucial for integrating the `DatabaseAdmin` service into a gRPC server, either by generating a service definition or by registering methods directly with a service binder."],["The implementation logic of the server-side is done with `DatabaseAdmin.DatabaseAdminBase`, which is a required parameter in the `BindService` methods."]]],[]]