CommitResponse

The response for sessions.commit.

JSON representation
{
  "commitTimestamp": string,
  "commitStats": {
    object (CommitStats)
  }
}
Fields
commitTimestamp

string (Timestamp format)

The Cloud Spanner timestamp at which the transaction committed.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

commitStats

object (CommitStats)

The statistics about this sessions.commit. Not returned by default. For more information, see CommitRequest.return_commit_stats.

CommitStats

Additional statistics about a commit.

JSON representation
{
  "mutationCount": string
}
Fields
mutationCount

string (int64 format)

The total number of mutations for the transaction. Knowing the mutationCount value can help you maximize the number of mutations in a transaction and minimize the number of API round trips. You can also monitor this value to prevent transactions from exceeding the system limit. If the number of mutations exceeds the limit, the server returns INVALID_ARGUMENT.