Streamdata.io API Gallery - Google Cloud Spanner (Report Issue)

Organization(s):

Google Cloud Spanner Delete Database

Drops (aka deletes) a Cloud Spanner database.

Google Cloud Spanner Get Database Schema

Returns the schema of a Cloud Spanner database as a list of formatted DDL statements. This method does not show pending schema updates, those may be queried using the Operations API.

Google Cloud Spanner Update Database Schema

Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns, indexes, etc. The returned long-running operation will have a name of the format `/operations/` and can be used to track exe...

Google Cloud Spanner Create Session

Creates a new session. A session can be used to perform transactions that read and/or modify data in a Cloud Spanner database. Sessions are meant to be reused for many consecutive transactions. Sessions can only execute one transaction at a time....

Google Cloud Spanner End Session

Ends a session, releasing server resources associated with it.

Google Cloud Spanner Get Session

Gets a session. Returns `NOT_FOUND` if the session does not exist. This is mainly useful for determining whether a session is still alive.

Google Cloud Spanner Update Instance

Updates an instance, and begins allocating or releasing resources as requested. The returned long-running operation can be used to track the progress of updating the instance. If the named instance does not exist, returns `NOT_FOUND`. Immediately...

Google Cloud Spanner Cancel Instance

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients ...

Google Cloud Spanner Get Databases

Lists Cloud Spanner databases.

Google Cloud Spanner Create Database

Creates a new Cloud Spanner database and starts to prepare it for serving. The returned long-running operation will have a name of the format `/operations/` and can be used to track preparation of the database. The met...

Google Cloud Spanner Get Instance Configurations

Lists the supported instance configurations for a given project.

Google Cloud Spanner Get Instances

Lists all instances in the given project.

Google Cloud Spanner Create instance

Creates an instance and begins preparing it to begin serving. The returned long-running operation can be used to track the progress of preparing the new instance. The instance name is assigned by the caller. If the named instance already exists, `...

Google Cloud Spanner Get IAM Policy

Gets the access control policy for a database resource. Returns an empty policy if a database exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource.

Google Cloud Spanner Set IAM Policy

Sets the access control policy on a database resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource.

Google Cloud Spanner Test IAM Permissions

Returns permissions that the caller has on the specified database resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud ...

Google Cloud Spanner Begin Transaction

Begins a new transaction. This step can often be skipped: Read, ExecuteSql and Commit can begin a new transaction as a side-effect.

Google Cloud Spanner Commit Transaction

Commits a transaction. The request includes the mutations to be applied to rows in the database. `Commit` might return an `ABORTED` error. This can occur at any time; commonly, the cause is conflicts with concurrent transactions. However, it can ...

Google Cloud Spanner Execute SQL

Executes an SQL query, returning all rows in a single reply. This method cannot be used to return a result set larger than 10 MiB; if the query yields more data than that, the query fails with a `FAILED_PRECONDITION` error. Queries inside read-wr...

Google Cloud Spanner Execute Streaming SQL

Like ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB.

Google Cloud Spanner Read Rows

Reads rows from the database using key lookups and scans, as a simple key/value style alternative to ExecuteSql. This method cannot be used to return a result set larger than 10 MiB; if the read matches more data than that, the read fails with a ...

Google Cloud Spanner Rollback Transaction

Rolls back a transaction, releasing any locks it holds. It is a good idea to call this for any transaction that includes one or more Read or ExecuteSql requests and ultimately decides not to commit. `Rollback` returns `OK` if it successfully abor...

Google Cloud Spanner Streaming Read

Like Read, except returns the result set as a stream. Unlike Read, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB.

Submit Your API

Join the gallery to find out how much you can save with Streamdata.io.