googleapis.spanner.v1 library

Classes

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.
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: [...]
ExecuteSqlRequest
The request for ExecuteSql and ExecuteStreamingSql.
Expr
Represents an expression text. Example: [...]
Field
Message representing a single field of a struct.
GetDatabaseDdlResponse
The response for GetDatabaseDdl.
GetIamPolicyRequest
Request message for GetIamPolicy method.
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. [...]
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.
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
Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. [...]
ProjectsInstanceConfigsResourceApi
ProjectsInstancesDatabasesOperationsResourceApi
ProjectsInstancesDatabasesResourceApi
ProjectsInstancesDatabasesSessionsResourceApi
ProjectsInstancesOperationsResourceApi
ProjectsInstancesResourceApi
ProjectsResourceApi
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.
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.
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. The error model is designed to be: [...]
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.