View Source GoogleApi.Spanner.V1.Model.BatchWriteResponse (google_api_spanner v0.39.0)

The result of applying a batch of mutations.

Attributes

  • commitTimestamp (type: DateTime.t, default: nil) - The commit timestamp of the transaction that applied this batch. Present if status is OK, absent otherwise.
  • indexes (type: list(integer()), default: nil) - The mutation groups applied in this batch. The values index into the mutation_groups field in the corresponding BatchWriteRequest.
  • status (type: GoogleApi.Spanner.V1.Model.Status.t, default: nil) - An OK status indicates success. Any other status indicates a failure.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Spanner.V1.Model.BatchWriteResponse{
  commitTimestamp: DateTime.t() | nil,
  indexes: [integer()] | nil,
  status: GoogleApi.Spanner.V1.Model.Status.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.