Cloud Spanner V1 API - Module Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ValueCaptureType (v1.12.0)

Reference documentation and code samples for the Cloud Spanner V1 API module Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ValueCaptureType.

Value capture type describes which values are recorded in the data change record.

Constants

VALUE_CAPTURE_TYPE_UNSPECIFIED

value: 0
Not specified.

OLD_AND_NEW_VALUES

value: 10
Records both old and new values of the modified watched columns.

NEW_VALUES

value: 20
Records only new values of the modified watched columns.

NEW_ROW

value: 30
Records new values of all watched columns, including modified and unmodified columns.

NEW_ROW_AND_OLD_VALUES

value: 40
Records the new values of all watched columns, including modified and unmodified columns. Also records the old values of the modified columns.