googleapis.spanner.v1 library

Classes

Backup
A backup of a Cloud Spanner database.
BackupInfo
Information about a backup.
BatchCreateSessionsRequest
The request for BatchCreateSessions.
BatchCreateSessionsResponse
The response for BatchCreateSessions.
BeginTransactionRequest
The request for BeginTransaction.
Binding
Associates members with a role.
Metadata associated with a parent-child relationship appearing in a PlanNode.
CommitRequest
The request for Commit.
CommitResponse
The response for Commit.
CreateBackupMetadata
Metadata type for the operation returned by CreateBackup.
CreateDatabaseMetadata
Metadata type for the operation returned by CreateDatabase.
CreateDatabaseRequest
The request for CreateDatabase.
CreateInstanceMetadata
Metadata type for the operation returned by CreateInstance.
CreateInstanceRequest
The request for CreateInstance.
CreateSessionRequest
The request for CreateSession.
Database
A Cloud Spanner database.
Delete
Arguments to delete operations.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: [...]
ExecuteBatchDmlRequest
The request for ExecuteBatchDml.
ExecuteBatchDmlResponse
The response for ExecuteBatchDml. Contains a list of ResultSet messages, one for each DML statement that has successfully executed, in the same order as the statements in the request. If a statement fails, the status in the response body identifies the cause of the failure. [...]
ExecuteSqlRequest
The request for ExecuteSql and ExecuteStreamingSql.
Expr
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. [...]
Field
Message representing a single field of a struct.
GetDatabaseDdlResponse
The response for GetDatabaseDdl.
GetIamPolicyRequest
Request message for GetIamPolicy method.
GetPolicyOptions
Encapsulates settings provided to GetIamPolicy.
Instance
An isolated set of Cloud Spanner resources on which databases can be hosted.
InstanceConfig
A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication.
KeyRange
KeyRange represents a range of rows in a table or index. [...]
KeySet
KeySet defines a collection of Cloud Spanner keys and/or key ranges. All the keys are expected to be in the same table or index. The keys need not be sorted in any particular way. [...]
ListBackupOperationsResponse
The response for ListBackupOperations.
ListBackupsResponse
The response for ListBackups.
ListDatabaseOperationsResponse
The response for ListDatabaseOperations.
ListDatabasesResponse
The response for ListDatabases.
ListInstanceConfigsResponse
The response for ListInstanceConfigs.
ListInstancesResponse
The response for ListInstances.
ListOperationsResponse
The response message for Operations.ListOperations.
ListSessionsResponse
The response for ListSessions.
Mutation
A modification to one or more Cloud Spanner rows. Mutations can be applied to a Cloud Spanner database by sending them in a Commit call.
Operation
This resource represents a long-running operation that is the result of a network API call.
OperationProgress
Encapsulates progress related information for a Cloud Spanner long running operation.
OptimizeRestoredDatabaseMetadata
Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored database. This long-running operation is automatically created by the system after the successful completion of a database restore, and cannot be cancelled.
PartialResultSet
Partial results from a streaming read or SQL query. Streaming reads and SQL queries better tolerate large result sets, large rows, and large values, but are a little trickier to consume.
Partition
Information returned for each partition returned in a PartitionResponse.
PartitionedDml
Message type to initiate a Partitioned DML transaction.
PartitionOptions
Options for a PartitionQueryRequest and PartitionReadRequest.
PartitionQueryRequest
The request for PartitionQuery
PartitionReadRequest
The request for PartitionRead
PartitionResponse
The response for PartitionQuery or PartitionRead
PlanNode
Node information for nodes appearing in a QueryPlan.plan_nodes.
Policy
An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. [...]
ProjectsInstanceConfigsResourceApi
ProjectsInstancesBackupOperationsResourceApi
ProjectsInstancesBackupsOperationsResourceApi
ProjectsInstancesBackupsResourceApi
ProjectsInstancesDatabaseOperationsResourceApi
ProjectsInstancesDatabasesOperationsResourceApi
ProjectsInstancesDatabasesResourceApi
ProjectsInstancesDatabasesSessionsResourceApi
ProjectsInstancesOperationsResourceApi
ProjectsInstancesResourceApi
ProjectsResourceApi
QueryOptions
Query optimizer configuration.
QueryPlan
Contains an ordered list of nodes appearing in the query plan.
ReadOnly
Message type to initiate a read-only transaction.
ReadRequest
The request for Read and StreamingRead.
ReadWrite
Message type to initiate a read-write transaction. Currently this transaction type has no options.
ReplicaInfo
RestoreDatabaseMetadata
Metadata type for the long-running operation returned by RestoreDatabase.
RestoreDatabaseRequest
The request for RestoreDatabase.
RestoreInfo
Information about the database restore.
ResultSet
Results from Read or ExecuteSql.
ResultSetMetadata
Metadata about a ResultSet or PartialResultSet.
ResultSetStats
Additional statistics about a ResultSet or PartialResultSet.
RollbackRequest
The request for Rollback.
Session
A session in the Cloud Spanner API.
SetIamPolicyRequest
Request message for SetIamPolicy method.
ShortRepresentation
Condensed representation of a node and its subtree. Only present for SCALAR PlanNode(s).
SpannerApi
Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.
Statement
A single DML statement.
Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. [...]
StructType
StructType defines the fields of a STRUCT type.
TestIamPermissionsRequest
Request message for TestIamPermissions method.
TestIamPermissionsResponse
Response message for TestIamPermissions method.
Transaction
A transaction.
TransactionOptions
Transactions [...]
TransactionSelector
This message is used to select the transaction in which a Read or ExecuteSql call runs. [...]
Type
Type indicates the type of a Cloud Spanner value, as might be stored in a table cell or returned from an SQL query.
UpdateDatabaseDdlMetadata
Metadata type for the operation returned by UpdateDatabaseDdl.
UpdateDatabaseDdlRequest
Enqueues the given DDL statements to be applied, in order but not necessarily all at once, to the database schema at some point (or points) in the future. The server checks that the statements are executable (syntactically valid, name tables that exist, etc.) before enqueueing them, but they may still fail upon later execution (e.g., if a statement from another batch of statements is applied first and it conflicts in some way, or if there is some data-related problem like a NULL value in a column to which NOT NULL would be added). If a statement fails, all subsequent statements in the batch are automatically cancelled. [...]
UpdateInstanceMetadata
Metadata type for the operation returned by UpdateInstance.
UpdateInstanceRequest
The request for UpdateInstance.
Write
Arguments to insert, update, insert_or_update, and replace operations.

Constants

USER_AGENT → const String
'dart-api-client spanner/v1'

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.