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

The request for BatchWrite.

Attributes

  • excludeTxnFromChangeStreams (type: boolean(), default: nil) - Optional. When exclude_txn_from_change_streams is set to true: Mutations from all transactions in this batch write operation will not be recorded in change streams with DDL option allow_txn_exclusion=true that are tracking columns modified by these transactions. Mutations from all transactions in this batch write operation will be recorded in change streams with DDL option allow_txn_exclusion=false or not set that are tracking columns modified by these transactions. When exclude_txn_from_change_streams is set to false or not set, mutations from all transactions in this batch write operation will be recorded in all change streams that are tracking columns modified by these transactions.
  • mutationGroups (type: list(GoogleApi.Spanner.V1.Model.MutationGroup.t), default: nil) - Required. The groups of mutations to be applied.
  • requestOptions (type: GoogleApi.Spanner.V1.Model.RequestOptions.t, default: nil) - Common options for this request.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Spanner.V1.Model.BatchWriteRequest{
  excludeTxnFromChangeStreams: boolean() | nil,
  mutationGroups: [GoogleApi.Spanner.V1.Model.MutationGroup.t()] | nil,
  requestOptions: GoogleApi.Spanner.V1.Model.RequestOptions.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.