google_api_spanner v0.6.0 API Reference
Modules
API calls for all endpoints tagged Projects
.
Handle Tesla connections for GoogleApi.Spanner.V1.
The request for BeginTransaction.
Associates members
with a role
.
Metadata associated with a parent-child relationship appearing in a PlanNode.
The request for Commit.
The response for Commit.
Metadata type for the operation returned by CreateDatabase.
The request for CreateDatabase.
Metadata type for the operation returned by CreateInstance.
The request for CreateInstance.
The request for CreateSession.
A Cloud Spanner database.
Arguments to delete operations.
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
The request for ExecuteBatchDml
The response for ExecuteBatchDml. Contains a list of ResultSet, one for each DML statement that has successfully executed. If a statement fails, the error is returned as part of the response payload. Clients can determine whether all DML statements have run successfully, or if a statement failed, using one of the following approaches
The request for ExecuteSql and ExecuteStreamingSql.
Represents an expression text. Example
Message representing a single field of a struct.
The response for GetDatabaseDdl.
Request message for GetIamPolicy
method.
An isolated set of Cloud Spanner resources on which databases can be hosted.
A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication.
KeyRange represents a range of rows in a table or index.
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.
The response for ListDatabases.
The response for ListInstanceConfigs.
The response for ListInstances.
The response message for Operations.ListOperations.
The response for ListSessions.
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.
This resource represents a long-running operation that is the result of a network API call.
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.
Information returned for each partition returned in a PartitionResponse.
Options for a PartitionQueryRequest and PartitionReadRequest.
The request for PartitionQuery
The request for PartitionRead
The response for PartitionQuery or PartitionRead
Message type to initiate a Partitioned DML transaction.
Node information for nodes appearing in a QueryPlan.plan_nodes.
Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.
Contains an ordered list of nodes appearing in the query plan.
Message type to initiate a read-only transaction.
The request for Read and StreamingRead.
Message type to initiate a read-write transaction. Currently this transaction type has no options.
Attributes
defaultLeaderLocation
(type:boolean()
, default:nil
) - If true, this location is designated as the default leader location where leader replicas are placed. See the region types documentation for more details.location
(type:String.t
, default:nil
) - The location of the serving resources, e.g. "us-central1".type
(type:String.t
, default:nil
) - The type of replica.
Results from Read or ExecuteSql.
Metadata about a ResultSet or PartialResultSet.
Additional statistics about a ResultSet or PartialResultSet.
The request for Rollback.
A session in the Cloud Spanner API.
Request message for SetIamPolicy
method.
Condensed representation of a node and its subtree. Only present for
SCALAR
PlanNode(s).
A single DML statement.
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
defines the fields of a STRUCT type.
Request message for TestIamPermissions
method.
Response message for TestIamPermissions
method.
A transaction.
Transactions
Each session can have at most one active transaction at a time. After the active transaction is completed, the session can immediately be re-used for the next transaction. It is not necessary to create a new session for each transaction.
This message is used to select the transaction in which a Read or ExecuteSql call runs.
Type
indicates the type of a Cloud Spanner value, as might be stored in a
table cell or returned from an SQL query.
Metadata type for the operation returned by UpdateDatabaseDdl.
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.
Metadata type for the operation returned by UpdateInstance.
The request for UpdateInstance.
Arguments to insert, update, insert_or_update, and replace operations.