Cloud Spanner API

Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.

Service: spanner.googleapis.com

The Service name spanner.googleapis.com is needed to create RPC client stubs.

google.longrunning.Operations

Methods
CancelOperation Starts asynchronous cancellation on a long-running operation.
DeleteOperation Deletes a long-running operation.
GetOperation Gets the latest state of a long-running operation.
ListOperations Lists operations that match the specified filter in the request.

google.spanner.admin.database.v1.DatabaseAdmin

Methods
CreateDatabase Creates a new Cloud Spanner database and starts to prepare it for serving.
DropDatabase Drops (aka deletes) a Cloud Spanner database.
GetDatabase Gets the state of a Cloud Spanner database.
GetDatabaseDdl Returns the schema of a Cloud Spanner database as a list of formatted DDL statements.
GetIamPolicy Gets the access control policy for a database resource.
ListDatabases Lists Cloud Spanner databases.
SetIamPolicy Sets the access control policy on a database resource.
TestIamPermissions Returns permissions that the caller has on the specified database resource.
UpdateDatabaseDdl Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns, indexes, etc.

google.spanner.admin.instance.v1.InstanceAdmin

Methods
CreateInstance Creates an instance and begins preparing it to begin serving.
DeleteInstance Deletes an instance.
GetIamPolicy Gets the access control policy for an instance resource.
GetInstance Gets information about a particular instance.
GetInstanceConfig Gets information about a particular instance configuration.
ListInstanceConfigs Lists the supported instance configurations for a given project.
ListInstances Lists all instances in the given project.
SetIamPolicy Sets the access control policy on an instance resource.
TestIamPermissions Returns permissions that the caller has on the specified instance resource.
UpdateInstance Updates an instance, and begins allocating or releasing resources as requested.

google.spanner.v1.Spanner

Methods
BeginTransaction Begins a new transaction.
Commit Commits a transaction.
CreateSession Creates a new session.
DeleteSession Ends a session, releasing server resources associated with it.
ExecuteSql Executes an SQL query, returning all rows in a single reply.
ExecuteStreamingSql Like ExecuteSql, except returns the result set as a stream.
GetSession Gets a session.
ListSessions Lists all sessions in a given database.
Read Reads rows from the database using key lookups and scans, as a simple key/value style alternative to ExecuteSql.
Rollback Rolls back a transaction, releasing any locks it holds.
StreamingRead Like Read, except returns the result set as a stream.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Spanner Documentation