File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Copyright 2022 Google LLC
1+ // Copyright 2023 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -475,6 +475,22 @@ message TransactionOptions {
475475 // on the `session` resource.
476476 ReadOnly read_only = 2 ;
477477 }
478+
479+ // When `exclude_txn_from_change_streams` is set to `true`:
480+ // * Mutations from this transaction will not be recorded in change streams
481+ // with DDL option `allow_txn_exclusion=true` that are tracking columns
482+ // modified by these transactions.
483+ // * Mutations from this transaction will be recorded in change streams with
484+ // DDL option `allow_txn_exclusion=false or not set` that are tracking
485+ // columns modified by these transactions.
486+ //
487+ // When `exclude_txn_from_change_streams` is set to `false` or not set,
488+ // mutations from this transaction will be recorded in all change streams that
489+ // are tracking columns modified by these transactions.
490+ // `exclude_txn_from_change_streams` may only be specified for read-write or
491+ // partitioned-dml transactions, otherwise the API will return an
492+ // `INVALID_ARGUMENT` error.
493+ bool exclude_txn_from_change_streams = 5 ;
478494}
479495
480496// A transaction.
You can’t perform that action at this time.
0 commit comments