Class: Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::Mod

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/spanner/v1/change_stream.rb

Overview

A mod describes all data changes in a watched table row.

Instance Attribute Summary collapse

Instance Attribute Details

#keys::Array<::Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ModValue>

Returns the value of the primary key of the modified row.

Returns:



197
198
199
200
# File 'proto_docs/google/spanner/v1/change_stream.rb', line 197

class Mod
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#new_values::Array<::Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ModValue>

Returns the new values after the change for the modified columns. Always empty for DELETE.

Returns:



197
198
199
200
# File 'proto_docs/google/spanner/v1/change_stream.rb', line 197

class Mod
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#old_values::Array<::Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ModValue>

Returns the old values before the change for the modified columns. Always empty for INSERT, or if old values are not being captured specified by value_capture_type.

Returns:



197
198
199
200
# File 'proto_docs/google/spanner/v1/change_stream.rb', line 197

class Mod
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end